]> 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 a8d2b1a7d34d2ca33eecb2db9f92672d0645d9ac..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
@@ -101,7 +98,7 @@ Summary:     Advanced Linux Sound Architecture (ALSA) - Static library
 Summary(pl):   Advanced Linux Sound Architecture (ALSA) - Biblioteka statyczna
 Group:         Development/Libraries
 Group(pl):     Programowanie/Biblioteki
-Requires:      %{name}-devel = %{lib_ver}
+Requires:      %{name}-devel = %{version}
 
 %description static
 Advanced Linux Sound Architecture (ALSA) - Static library.
@@ -122,27 +119,21 @@ make
 
 %install
 rm -rf $RPM_BUILD_ROOT
-cd alsa-lib-%{lib_ver}
 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.078134 seconds and 4 git commands to generate.