/alps/ipecamera

To get this branch, use:
bzr branch http://darksoft.org/webbzr/alps/ipecamera

« back to all changes in this revision

Viewing changes to ipecamera.spec.in

  • Committer: Suren A. Chilingaryan
  • Date: 2016-03-04 15:47:51 UTC
  • Revision ID: csa@suren.me-20160304154751-cwp1swn573epdvq1
Build RPM

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Summary: UFO Camera plugin for pcitool
 
2
Name: ${PACKAGE_NAME}
 
3
Version: ${CPACK_PACKAGE_VERSION}
 
4
Release: csa
 
5
License: GPL-3.0
 
6
Group: Development/Libraries
 
7
Source: ${CPACK_SOURCE_PACKAGE_FILE_NAME}.tar.bz2
 
8
BuildRoot: %{_tmppath}/%{name}-%{version}-root
 
9
URL: http://darksoft.org
 
10
Prefix: %{_prefix}
 
11
Docdir: %{_docdir}
 
12
Requires: libpcilib ipecamera-scripts
 
13
BuildRequires: libpcilib-devel
 
14
BuildRequires: pkg-config libtool cmake
 
15
Vendor: Institute for Data Processing and Electronics, KIT
 
16
Packager: Suren A. Chilingaryan <csa@suren.me>
 
17
 
 
18
%description
 
19
This package provides an UFO Camera event engine for the pcilib platform.
 
20
 
 
21
%package devel
 
22
Summary: UFO Camera plugin for pcitool
 
23
Group: Development/Libraries 
 
24
Requires: ${PACKAGE_NAME} = %{version}
 
25
Requires: libpcilib-devel
 
26
 
 
27
%description devel
 
28
Development files provide access to some non-standard features of the event engine.
 
29
 
 
30
%prep
 
31
%setup -q
 
32
 
 
33
%build
 
34
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DLIB_INSTALL_DIR=%{_libdir} -DBIN_INSTALL_DIR=%{_bindir} -DDATA_INSTALL_DIR=%{_datadir} -DINCLUDE_INSTALL_DIR=%{_includedir} .
 
35
make
 
36
 
 
37
%install
 
38
rm -rf $RPM_BUILD_ROOT
 
39
make install DESTDIR=$RPM_BUILD_ROOT
 
40
 
 
41
%clean
 
42
rm -rf $RPM_BUILD_ROOT
 
43
 
 
44
%files 
 
45
%defattr(-, root, root)
 
46
${PCILIB_PLUGIN_DIR}/lib${PACKAGE_NAME}.so
 
47
 
 
48
%files -n ${PACKAGE_NAME}-devel
 
49
%defattr(-, root, root)  
 
50
%{_includedir}/*
 
51
%{_libdir}/pkgconfig/*.pc
 
52
 
 
53
%changelog
 
54
* Fri Mar  4 2016 Suren A. Chilingaryan <csa@suren.me> - ${CPACK_PACKAGE_VERSION}
 
55
- Added spec file to the sources