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