From f1925835911eb1ad72e610b102427daeabd577d0 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Oct 14 2004 19:30:06 +0000 Subject: move libraries and data to root filesystem, as we're going to need alsactl working at bootup --- diff --git a/alsa-lib.spec b/alsa-lib.spec index 172f119..82219f2 100644 --- a/alsa-lib.spec +++ b/alsa-lib.spec @@ -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 1.0.6-2 +- move libraries & data to root fs, needed at boot time + * Mon Aug 30 2004 Bill Nottingham 1.0.6-1 - update to 1.0.6