libi2ncommon is no Intranator-specific lib anymore, it is open source. So don't insta...
authorGerd von Egidy <gerd.von.egidy@intra2net.com>
Wed, 8 Apr 2015 08:07:54 +0000 (10:07 +0200)
committerGerd von Egidy <gerd.von.egidy@intra2net.com>
Wed, 8 Apr 2015 08:07:54 +0000 (10:07 +0200)
libi2ncommon.spec

index f90008f..fefb2f0 100644 (file)
@@ -13,11 +13,9 @@ Name:      libi2ncommon
 Version:   ##VERSION##
 Release:   1
 License:   GPLv2 + linking exception
-Group:     Intranator
+Group:     Development/Libraries
 Vendor:    Intra2net AG
 Source:    %{name}-%{version}.tar.gz
-Buildroot: /tmp/%{name}-%{version}-root
-Prefix:    /usr/intranator
 Requires:  libi2ncommon-utils = %{version}
 BuildPrereq: libtool
 BuildRequires: boost-devel >= 1.32.0
@@ -108,28 +106,29 @@ rm -fr $RPM_BUILD_ROOT
 %files
 %defattr(-,root,root)
 %doc COPYING.GPL
-%{prefix}/lib/libi2ncommon.so*
+%{_libdir}/libi2ncommon.so*
 
 %files devel
 %defattr(-,root,root)
 # No static library for now
 #%{prefix}/lib/*.*a*
-%{prefix}/lib/pkgconfig/*.pc
+%{_libdir}/libi2ncommon.so
+%{_libdir}/pkgconfig/*.pc
 %{prefix}/include/
 
 %files config
 %defattr(-,root,root)
 %doc COPYING.GPL
-%{prefix}/lib/libi2ncommon_config.so*
+%{_libdir}/libi2ncommon_config.so*
 
 %if %{with xmllib}
 %files xml
 %defattr(-,root,root)
 %doc COPYING.GPL
-%{prefix}/lib/libi2ncommon_xml.so*
+%{_libdir}/libi2ncommon_xml.so*
 %endif
 
 %files utils
 %defattr(-,root,root)
 %doc COPYING.GPL
-%{prefix}/lib/libi2ncommon_utils.so*
+%{_libdir}/libi2ncommon_utils.so*