summaryrefslogtreecommitdiffstats
path: root/libuca.spec.in
diff options
context:
space:
mode:
authorVolker Kaiser <volker.kaiser@softwareschneiderei.de>2012-08-08 10:21:15 +0200
committerVolker Kaiser <volker.kaiser@softwareschneiderei.de>2012-08-08 10:21:15 +0200
commit2235306b05d29f22fd33eafdced3081f70ac7e37 (patch)
tree7a6102e315a061615f9a623476b336f5ed50ede1 /libuca.spec.in
parent642a047ce60c9e071b9815d11ea9a81761598c9c (diff)
downloadlibuca-2235306b05d29f22fd33eafdced3081f70ac7e37.tar.gz
libuca-2235306b05d29f22fd33eafdced3081f70ac7e37.tar.bz2
libuca-2235306b05d29f22fd33eafdced3081f70ac7e37.tar.xz
libuca-2235306b05d29f22fd33eafdced3081f70ac7e37.zip
added custom spec file
Diffstat (limited to 'libuca.spec.in')
-rw-r--r--libuca.spec.in76
1 files changed, 76 insertions, 0 deletions
diff --git a/libuca.spec.in b/libuca.spec.in
new file mode 100644
index 0000000..9e21bb2
--- /dev/null
+++ b/libuca.spec.in
@@ -0,0 +1,76 @@
+# -*- rpm-spec -*-
+Buildroot: @UCA_BUILD_DIR@/_CPack_Packages/Linux/RPM/@CPACK_PACKAGE_FILE_NAME@
+Summary: Abstract interface for different camera classes and frame grabber devices
+Name: libuca
+Version: @VERSION@
+Release: @CPACK_PACKAGE_RELEASE@
+License: unknown
+Group: unknown
+Vendor: Karlsruhe Institute of Technology/IPE
+Prefix: @CMAKE_INSTALL_PREFIX@
+
+
+
+
+#p define prefix /usr/local
+%define _rpmdir @UCA_BUILD_DIR@/_CPack_Packages/Linux/RPM
+%define _rpmfilename @CPACK_PACKAGE_FILE_NAME@.rpm
+%define _unpackaged_files_terminate_build 0
+%define _topdir @UCA_BUILD_DIR@/_CPack_Packages/Linux/RPM
+
+
+
+%description
+DESCRIPTION
+===========
+
+This is an installer created using CPack (http://www.cmake.org). No additional installation instructions provided.
+
+
+
+# This is a shortcutted spec file generated by CMake RPM generator
+# we skip _install step because CPack does that for us.
+# We do only save CPack installed tree in _prepr
+# and then restore it in build.
+%prep
+mv $RPM_BUILD_ROOT @UCA_BUILD_DIR@/_CPack_Packages/Linux/RPM/tmpBBroot
+
+#p build
+
+%install
+if [ -e $RPM_BUILD_ROOT ];
+then
+ rm -Rf $RPM_BUILD_ROOT
+fi
+mv "@UCA_BUILD_DIR@/_CPack_Packages/Linux/RPM/tmpBBroot" $RPM_BUILD_ROOT
+
+%clean
+
+%post
+
+
+%postun
+
+
+%pre
+
+
+%preun
+
+
+%files
+%defattr(-,root,root,-)
+@CMAKE_INSTALL_PREFIX@/include/uca/*.h
+@CMAKE_INSTALL_PREFIX@/@LIB_INSTALL_DIR@/libuca.so
+@CMAKE_INSTALL_PREFIX@/@LIB_INSTALL_DIR@/libuca.so.@UCA_VERSION_MINOR@
+@CMAKE_INSTALL_PREFIX@/@LIB_INSTALL_DIR@/libuca.so.@UCA_ABI_VERSION@
+@CMAKE_INSTALL_PREFIX@/lib/pkgconfig/uca.pc
+
+
+%changelog
+* Tue Aug 7 2012 Volker Kaiser <volker.kaiser@softwareschneiderei.de>
+pack only existing header files
+* Tue Aug 7 2012 Volker Kaiser <volker.kaiser@softwareschneiderei.de>
+using more variables in spec file
+* Tue Aug 2 2012 Volker Kaiser <volker.kaiser@softwareschneiderei.de>
+First package version