summaryrefslogtreecommitdiffstats
path: root/ucaufo.spec.in
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2016-07-12 23:39:38 +0200
committerSuren A. Chilingaryan <csa@suren.me>2016-07-12 23:39:38 +0200
commit41ae09fe6725f8ddd6800e6cb629edc95f771840 (patch)
treeb607693eff527503d68f212cee9ad2dbdd90bf06 /ucaufo.spec.in
parentcc8f325af1004f375c66a23c22634cfb69aee3fb (diff)
downloaduca-ufo-41ae09fe6725f8ddd6800e6cb629edc95f771840.tar.gz
uca-ufo-41ae09fe6725f8ddd6800e6cb629edc95f771840.tar.bz2
uca-ufo-41ae09fe6725f8ddd6800e6cb629edc95f771840.tar.xz
uca-ufo-41ae09fe6725f8ddd6800e6cb629edc95f771840.zip
Packaging
Diffstat (limited to 'ucaufo.spec.in')
-rw-r--r--ucaufo.spec.in42
1 files changed, 42 insertions, 0 deletions
diff --git a/ucaufo.spec.in b/ucaufo.spec.in
new file mode 100644
index 0000000..8e55488
--- /dev/null
+++ b/ucaufo.spec.in
@@ -0,0 +1,42 @@
+Summary: UFO Camera plugin for LibUCA
+Name: ucaufo
+Version: ${CPACK_PACKAGE_VERSION}
+Release: csa
+License: GPL-3.0
+Group: Development/Libraries
+Source: ${CPACK_SOURCE_PACKAGE_FILE_NAME}.tar.bz2
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+URL: http://darksoft.org
+Prefix: %{_prefix}
+Docdir: %{_docdir}
+Requires: libuca >= ${UCA_VERSION}
+BuildRequires: uthash
+BuildRequires: libuca-devel libpcilib-devel
+BuildRequires: pkg-config libtool cmake
+Vendor: Institute for Data Processing and Electronics, KIT
+Packager: Suren A. Chilingaryan <csa@suren.me>
+
+%description
+This package provides an UFO Camera plugin for LibUCA.
+
+%prep
+%setup -q
+
+%build
+cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr .
+make
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-, root, root)
+${LIBUCA_PLUGINDIR}/libucaufo.so
+
+%changelog
+* Fri Mar 4 2016 Suren A. Chilingaryan <csa@suren.me> - ${CPACK_PACKAGE_VERSION}
+- Added spec file to the sources