SPECS: gammu.spec - fixed build with lib64 - more verbose files - ...

qboosh qboosh at pld-linux.org
Sun Aug 5 19:54:06 CEST 2007


Author: qboosh                       Date: Sun Aug  5 17:54:06 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fixed build with lib64
- more verbose files
- run ldconfig in proper package
- -devel R: bluez-libs-devel

---- Files affected:
SPECS:
   gammu.spec (1.58 -> 1.59) 

---- Diffs:

================================================================
Index: SPECS/gammu.spec
diff -u SPECS/gammu.spec:1.58 SPECS/gammu.spec:1.59
--- SPECS/gammu.spec:1.58	Thu Aug  2 03:37:13 2007
+++ SPECS/gammu.spec	Sun Aug  5 19:54:01 2007
@@ -56,6 +56,7 @@
 Summary(pl.UTF-8):	Pliki nagłówkowe zestawu narzędzi dla telefonów komórkowych Gammu
 Group:		Development/Libraries
 Requires:	%{name}-libs = %{epoch}:%{version}-%{release}
+Requires:	bluez-libs-devel
 
 %description devel
 Header files for Gammu tool suite for mobile phones.
@@ -84,13 +85,17 @@
 cd build
 %cmake ../ \
 	-DCMAKE_INSTALL_PREFIX="%{_prefix}" \
+	-DCMAKE_VERBOSE_MAKEFILE=1 \
 	-DENABLE_SHARED=OFF \
+	-DINSTALL_LIB_DIR=%{_libdir} \
 	%{?debug:-DCMAKE_BUILD_TYPE="Debug"} 
 %{__make}
 mv common/libGammu.a ..
 %cmake ../ \
 	-DCMAKE_INSTALL_PREFIX="%{_prefix}" \
+	-DCMAKE_VERBOSE_MAKEFILE=1 \
 	-DENABLE_SHARED=ON \
+	-DINSTALL_LIB_DIR=%{_libdir} \
 	%{?debug:-DCMAKE_BUILD_TYPE="Debug"}  
 %{__make}
 
@@ -111,8 +116,8 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post   -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%post   libs -p /sbin/ldconfig
+%postun libs -p /sbin/ldconfig
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
@@ -125,18 +130,19 @@
 
 %files libs
 %defattr(755,root,root,755)
-%attr(755,root,root) %{_libdir}/*.so.*
+%attr(755,root,root) %{_libdir}/libGammu.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/libGammu.so.2
 
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/%{name}-config
-%attr(755,root,root) %{_libdir}/*.so
+%attr(755,root,root) %{_libdir}/libGammu.so
 %{_includedir}/*
-%{_pkgconfigdir}/*
+%{_pkgconfigdir}/gammu.pc
 
 %files static
 %defattr(755,root,root,755)
-%{_libdir}/*.a
+%{_libdir}/libGammu.a
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -144,6 +150,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.59  2007/08/05 17:54:01  qboosh
+- fixed build with lib64
+- more verbose files
+- run ldconfig in proper package
+- -devel R: bluez-libs-devel
+
 Revision 1.58  2007/08/02 01:37:13  wolvverine
 - partial revert
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gammu.spec?r1=1.58&r2=1.59&f=u



More information about the pld-cvs-commit mailing list