packages: gmtk/gmtk.spec - cosmetics; cleanups; soname ghost files

glen glen at pld-linux.org
Mon Jan 23 15:30:44 CET 2012


Author: glen                         Date: Mon Jan 23 14:30:44 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- cosmetics; cleanups; soname ghost files

---- Files affected:
packages/gmtk:
   gmtk.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/gmtk/gmtk.spec
diff -u packages/gmtk/gmtk.spec:1.2 packages/gmtk/gmtk.spec:1.3
--- packages/gmtk/gmtk.spec:1.2	Sun Jan 22 02:24:30 2012
+++ packages/gmtk/gmtk.spec	Mon Jan 23 15:30:38 2012
@@ -24,7 +24,6 @@
 %endif
 BuildRequires:	libtool
 BuildRequires:	pulseaudio-devel
-
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define		skip_post_check_so	libgmlib.so.0.0.0 libgmtk.so.0.0.0
@@ -50,30 +49,32 @@
 %{__autoconf}
 %{__automake}
 %configure \
+	--disable-static \
 	%{!?with_gtk3:--disable-gtk3}
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
 %find_lang %{name}
 
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
-/sbin/ldconfig
-
-%postun
-/sbin/ldconfig
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libgmlib.so.*.*.*
+%ghost %{_libdir}/libgmlib.so.0
 %attr(755,root,root) %{_libdir}/libgmtk.so.*.*.*
+%ghost %{_libdir}/libgmtk.so.0
 
 %files devel
 %defattr(644,root,root,755)
@@ -90,9 +91,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2012/01/23 14:30:38  glen
+- cosmetics; cleanups; soname ghost files
+
 Revision 1.2  2012/01/22 01:24:30  lkrotowski
 - home page on par with to gnome-mplayer and gecko-mediaplayer
 
 Revision 1.1  2012/01/22 01:06:00  lkrotowski
 - initial revision
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gmtk/gmtk.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list