set up asym

This commit is contained in:
Colin Walters 2005-01-08 05:59:47 +00:00
parent 989abba110
commit bf4b629d64

View File

@ -1,12 +1,13 @@
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.7 Version: 1.0.7
Release: 1 Release: 2
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
Patch: alsa-lib-assert.patch Patch: alsa-lib-assert.patch
Patch2: alsa-lib-macro.patch Patch2: alsa-lib-macro.patch
Patch3: alsa-lib-1.0.7-asym-config.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,6 +37,7 @@ against the ALSA libraries and interfaces.
%setup -q -n %{name}-%{version}%{?prever} %setup -q -n %{name}-%{version}%{?prever}
%patch -p1 %patch -p1
%patch2 -p1 %patch2 -p1
%patch3 -p1 -b .load-env
%build %build
%configure \ %configure \
@ -73,7 +75,8 @@ ln -snf ../../etc/alsa %{_datadir}/alsa
%{_bindir}/alsalisp %{_bindir}/alsalisp
%{_bindir}/aserver %{_bindir}/aserver
/%{_lib}/libasound.so.* /%{_lib}/libasound.so.*
/etc/alsa %{_sysconfdir}/alsa
%config %{_sysconfdir}/alsa/alsa.conf
%files devel %files devel
%defattr(-, root, root) %defattr(-, root, root)
@ -87,6 +90,14 @@ ln -snf ../../etc/alsa %{_datadir}/alsa
%{_datadir}/aclocal/alsa.m4 %{_datadir}/aclocal/alsa.m4
%changelog %changelog
* Sat Jan 08 2005 Colin Walters <walters@redhat.com> 1.0.7-2
- New patch alsa-lib-1.0.7-asym-config.patch, sets up asym
in the default config file and makes it easy to make it
the default via an environment variable. Also increases the
default dmix buffer variables.
- Mark /etc/alsa/alsa.conf as a config file, and use sysconfdir
variable
* Thu Jan 06 2005 Colin Walters <walters@redhat.com> 1.0.7-1 * Thu Jan 06 2005 Colin Walters <walters@redhat.com> 1.0.7-1
- New upstream version - New upstream version