fix install
This commit is contained in:
parent
f192583591
commit
a9f2d6d01d
@ -1,7 +1,7 @@
|
|||||||
Summary: The Advanced Linux Sound Architecture (ALSA) library.
|
Summary: The Advanced Linux Sound Architecture (ALSA) library.
|
||||||
Name: alsa-lib
|
Name: alsa-lib
|
||||||
Version: 1.0.6
|
Version: 1.0.6
|
||||||
Release: 2
|
Release: 3
|
||||||
License: LGPL
|
License: LGPL
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Source: ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version}%{?prever}.tar.bz2
|
Source: ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version}%{?prever}.tar.bz2
|
||||||
@ -54,8 +54,6 @@ ln -snf ../../%{_lib}/libasound.so.2 %{buildroot}%{_libdir}/libasound.so
|
|||||||
|
|
||||||
mv %{buildroot}/etc/aclocal %{buildroot}%{_datadir}
|
mv %{buildroot}/etc/aclocal %{buildroot}%{_datadir}
|
||||||
|
|
||||||
ln -snf ../../etc/alsa %{buildroot}%{_datadir}/alsa
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
@ -63,6 +61,9 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%triggerpostun -- alsa-lib < 1.0.6-2
|
||||||
|
ln -snf ../../etc/alsa %{_datadir}/alsa
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%doc COPYING ChangeLog TODO doc/asoundrc.txt
|
%doc COPYING ChangeLog TODO doc/asoundrc.txt
|
||||||
@ -70,7 +71,6 @@ rm -rf %{buildroot}
|
|||||||
%{_bindir}/aserver
|
%{_bindir}/aserver
|
||||||
/%{_lib}/libasound.so.*
|
/%{_lib}/libasound.so.*
|
||||||
/etc/alsa
|
/etc/alsa
|
||||||
%{_datadir}/alsa
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
@ -84,7 +84,7 @@ rm -rf %{buildroot}
|
|||||||
%{_datadir}/aclocal/alsa.m4
|
%{_datadir}/aclocal/alsa.m4
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Oct 14 2004 Bill Nottingham <notting@redhat.com> 1.0.6-2
|
* Thu Oct 14 2004 Bill Nottingham <notting@redhat.com> 1.0.6-3
|
||||||
- move libraries & data to root fs, needed at boot time
|
- move libraries & data to root fs, needed at boot time
|
||||||
|
|
||||||
* Mon Aug 30 2004 Bill Nottingham <notting@redhat.com> 1.0.6-1
|
* Mon Aug 30 2004 Bill Nottingham <notting@redhat.com> 1.0.6-1
|
||||||
|
Loading…
Reference in New Issue
Block a user