]> git.pld-linux.org Git - packages/alsa-lib.git/blobdiff - alsa-lib.spec
- rewmoved Prereq: /sbin/depmod, /sbin/ldconfig, /sbin/chkconfig,
[packages/alsa-lib.git] / alsa-lib.spec
index 65d6d3510039b23a3a146e93c26c7ab4a53ac33e..f609147b056a43a05cfbfbe48887484631fee522 100644 (file)
@@ -1,12 +1,12 @@
 Summary:       Advanced Linux Sound Architecture (ALSA) - Library
 Summary(pl):   Advanced Linux Sound Architecture (ALSA) - Biblioteka
 Name:          alsa-lib
-Version:       0.5.2
+Version:       0.5.6
 Release:       1
 License:       GPL
 Group:         System/Libraries
 Group(pl):     System/Biblioteki
-Source0:       ftp://ftp.alsa-project.org/pub/lib/alsa-lib-%{version}.tar.gz
+Source0:       ftp://ftp.alsa-project.org/pub/lib/alsa-lib-%{version}.tar.bz2
 Patch0:                alsa-lib-allin1.patch
 Patch1:                alsa-lib-autoconf.patch
 URL:           http://www.alsa-project.org/
@@ -17,9 +17,6 @@ BuildRequires:        automake
 BuildRequires: flex
 BuildRequires: libtool
 BuildConflicts:        alsa-lib <= 0.4.0
-Prereq:                /sbin/depmod
-Prereq:                /sbin/ldconfig
-Prereq:                /sbin/chkconfig
 Obsoletes:     alsa-libs
 ExcludeArch:   sparc
 ExcludeArch:   sparc64
@@ -124,24 +121,19 @@ make
 rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
 
-strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*-*so
+strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
 
-#chmod +x $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
+gzip -9nf ChangeLog doc/*.txt
 
-gzip -9nf ChangeLog doc/*.txt || :
-
-%post
-/sbin/ldconfig
-
-%preun
-/sbin/ldconfig
+%post  -p /sbin/ldconfig
+%preun -p /sbin/ldconfig
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/lib*-*so
+%attr(755,root,root) %{_libdir}/lib*.so.*.*
 
 %files devel
 %defattr(644,root,root,755)
This page took 0.166242 seconds and 4 git commands to generate.