- updated to 1.0.9rc2
- add ainit tool - dmix is now default pcm device
This commit is contained in:
parent
0ee25f4bce
commit
d0a435fe6d
@ -1,2 +1,4 @@
|
||||
alsa-lib-1.0.7.tar.bz2
|
||||
alsa-lib-1.0.8.tar.bz2
|
||||
alsa-lib-1.0.9rc2.tar.bz2
|
||||
ainit-0.2.tar.gz
|
||||
|
@ -1,15 +1,15 @@
|
||||
Summary: The Advanced Linux Sound Architecture (ALSA) library.
|
||||
Name: alsa-lib
|
||||
Version: 1.0.8
|
||||
Release: 4.devel
|
||||
Version: 1.0.9rc2
|
||||
Release: 1
|
||||
License: LGPL
|
||||
Group: System Environment/Libraries
|
||||
Source: ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version}%{?prever}.tar.bz2
|
||||
Patch2: alsa-lib-macro.patch
|
||||
#Patch3: alsa-lib-1.0.7-asym-config.patch
|
||||
Patch4: alsa-lib-stack2.patch
|
||||
Patch5: alsa-lib-alpha.patch
|
||||
Patch6: alsa-lib-gcc4.patch
|
||||
Source1: ainit-0.2.tar.gz
|
||||
Patch0: alsa-lib-mixer.patch
|
||||
Patch1: alsa-lib-alpha.patch
|
||||
Patch2: alsa-lib-gcc4.patch
|
||||
Patch3: alsa-lib-ainit.patch
|
||||
URL: http://www.alsa-project.org/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
BuildRequires: doxygen
|
||||
@ -36,12 +36,11 @@ This package includes the ALSA development libraries for developing
|
||||
against the ALSA libraries and interfaces.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}%{?prever}
|
||||
%patch2 -p1 -b .macro
|
||||
#%patch3 -p1 -b .load-env
|
||||
%patch4 -p1
|
||||
%patch5 -p1 -b .alpha
|
||||
%patch6 -p1 -b .old
|
||||
%setup -q -n %{name}-%{version}%{?prever} -a 1
|
||||
%patch0 -p1 -b .mixer
|
||||
%patch1 -p1 -b .alpha
|
||||
%patch2 -p1 -b .gcc4
|
||||
%patch3 -p1 -b .ainit
|
||||
|
||||
%build
|
||||
%configure \
|
||||
@ -51,6 +50,10 @@ against the ALSA libraries and interfaces.
|
||||
make %{?_smp_mflags}
|
||||
make doc
|
||||
|
||||
cd ainit
|
||||
./compile
|
||||
cd ..
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
make DESTDIR=%{buildroot} install
|
||||
@ -61,9 +64,23 @@ 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}
|
||||
|
||||
# install ainit binaries
|
||||
install -m 755 ainit/ainit %{buildroot}%{_bindir}
|
||||
|
||||
# install ainit config files
|
||||
install -m 644 ainit/config/ainit.conf %{buildroot}%{_sysconfdir}/alsa/ainit.conf
|
||||
install -m 644 ainit/config/asoundrc.template %{buildroot}%{_sysconfdir}/alsa/asoundrc.template
|
||||
|
||||
# install ainit man pages
|
||||
mkdir -p %{buildroot}%{_mandir}/man8
|
||||
install -m 644 ainit/doc/ainit.8 %{buildroot}%{_mandir}/man8/ainit.8
|
||||
|
||||
mkdir -p %{buildroot}%{_mandir}/man5
|
||||
install -m 644 ainit/doc/ainit.conf.5 %{buildroot}%{_mandir}/man5/ainit.conf.5
|
||||
install -m 644 ainit/doc/asoundrc.template.5 %{buildroot}%{_mandir}/man5/asoundrc.template.5
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
@ -82,6 +99,8 @@ ln -snf ../../etc/alsa %{_datadir}/alsa
|
||||
/%{_lib}/libasound.so.*
|
||||
%{_sysconfdir}/alsa
|
||||
%config %{_sysconfdir}/alsa/alsa.conf
|
||||
%{_bindir}/ainit
|
||||
%{_mandir}/man?/*
|
||||
|
||||
%files devel
|
||||
%defattr(-, root, root)
|
||||
@ -95,6 +114,11 @@ ln -snf ../../etc/alsa %{_datadir}/alsa
|
||||
%{_datadir}/aclocal/alsa.m4
|
||||
|
||||
%changelog
|
||||
* Fri Apr 22 2005 Martin Stransky <stransky@redhat.com> 1.0.9rc2-1
|
||||
- updated to 1.0.9rc2
|
||||
- add ainit tool
|
||||
- dmix is now default pcm device
|
||||
|
||||
* Mon Mar 7 2005 Martin Stransky <stransky@redhat.com> 1.0.8-4.devel
|
||||
- gcc4 patch
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user