move libraries and data to root filesystem, as we're going to need alsactl
working at bootup
This commit is contained in:
parent
47cba851d8
commit
f192583591
@ -1,7 +1,7 @@
|
||||
Summary: The Advanced Linux Sound Architecture (ALSA) library.
|
||||
Name: alsa-lib
|
||||
Version: 1.0.6
|
||||
Release: 1
|
||||
Release: 2
|
||||
License: LGPL
|
||||
Group: System Environment/Libraries
|
||||
Source: ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version}%{?prever}.tar.bz2
|
||||
@ -37,7 +37,7 @@ against the ALSA libraries and interfaces.
|
||||
%build
|
||||
%configure \
|
||||
--enable-static=yes \
|
||||
--program-prefix=%{?_program_prefix}
|
||||
--datadir=/etc
|
||||
make %{?_smp_mflags}
|
||||
make doc
|
||||
|
||||
@ -45,6 +45,17 @@ make doc
|
||||
rm -rf %{buildroot}
|
||||
make DESTDIR=%{buildroot} install
|
||||
|
||||
mkdir -p %{buildroot}%{_datadir}
|
||||
mkdir -p %{buildroot}/%{_lib}
|
||||
|
||||
mv %{buildroot}%{_libdir}/libasound.so.* %{buildroot}/%{_lib}
|
||||
ln -snf ../../%{_lib}/libasound.so.2 %{buildroot}%{_libdir}/libasound.so
|
||||
|
||||
|
||||
mv %{buildroot}/etc/aclocal %{buildroot}%{_datadir}
|
||||
|
||||
ln -snf ../../etc/alsa %{buildroot}%{_datadir}/alsa
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
@ -57,7 +68,8 @@ rm -rf %{buildroot}
|
||||
%doc COPYING ChangeLog TODO doc/asoundrc.txt
|
||||
%{_bindir}/alsalisp
|
||||
%{_bindir}/aserver
|
||||
%{_libdir}/libasound.so.*
|
||||
/%{_lib}/libasound.so.*
|
||||
/etc/alsa
|
||||
%{_datadir}/alsa
|
||||
|
||||
%files devel
|
||||
@ -72,6 +84,9 @@ rm -rf %{buildroot}
|
||||
%{_datadir}/aclocal/alsa.m4
|
||||
|
||||
%changelog
|
||||
* Thu Oct 14 2004 Bill Nottingham <notting@redhat.com> 1.0.6-2
|
||||
- move libraries & data to root fs, needed at boot time
|
||||
|
||||
* Mon Aug 30 2004 Bill Nottingham <notting@redhat.com> 1.0.6-1
|
||||
- update to 1.0.6
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user