diff --git a/.gitignore b/.gitignore index 99d95bf..7662177 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,4 @@ alsa-lib-1.0.21.tar.bz2 alsa-lib-1.0.22.tar.bz2 /alsa-lib-1.0.24.tar.bz2 /alsa-lib-1.0.25.tar.bz2 +/alsa-lib-1.0.26.tar.bz2 diff --git a/alsa-lib.spec b/alsa-lib.spec index 01b9552..a296a2b 100644 --- a/alsa-lib.spec +++ b/alsa-lib.spec @@ -4,12 +4,14 @@ Summary: The Advanced Linux Sound Architecture (ALSA) library Name: alsa-lib -Version: 1.0.25 -Release: 3%{?prever_dot}%{?dist} +Version: 1.0.26 +Release: 1%{?prever_dot}%{?dist} License: LGPLv2+ Group: System Environment/Libraries Source: ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version}%{?prever}%{?postver}.tar.bz2 Source10: asound.conf +Source11: modprobe-dist-alsa.conf +Source12: modprobe-dist-oss.conf Patch0: alsa-lib-1.0.24-config.patch Patch2: alsa-lib-1.0.14-glibc-open.patch Patch4: alsa-lib-1.0.16-no-dox-date.patch @@ -66,6 +68,11 @@ ln -snf ../../%{_lib}/libasound.so.2 %{buildroot}%{_libdir}/libasound.so mkdir -p -m 755 %{buildroot}/etc install -p -m 644 %{SOURCE10} %{buildroot}/etc +# Install the modprobe files for ALSA +mkdir -p -m 755 %{buildroot}/lib/modprobe.d/ +install -p -m 644 %{SOURCE11} %{buildroot}/lib/modprobe.d/dist-alsa.conf +install -p -m 644 %{SOURCE12} %{buildroot}/lib/modprobe.d/dist-oss.conf + %clean rm -rf %{buildroot} @@ -75,12 +82,15 @@ rm -rf %{buildroot} %files %defattr(-,root,root,-) -%doc COPYING ChangeLog TODO doc/asoundrc.txt +%doc COPYING TODO doc/asoundrc.txt +# file is as old as 0.2.0 / Red Hat bugzilla #510212 +#doc Changelog %config %{_sysconfdir}/asound.conf /%{_lib}/libasound.so.* %{_bindir}/aserver %{_libdir}/alsa-lib/ %{_datadir}/alsa/ +/lib/modprobe.d/dist-* %files devel %defattr(-,root,root,-) @@ -93,6 +103,13 @@ rm -rf %{buildroot} %{_datadir}/aclocal/alsa.m4 %changelog +* Thu Sep 6 2012 Jaroslav Kysela - 1.0.26-1 +- Updated to 1.0.26 +- Don't package ancient ChangeLog that ends at alsa-lib 0.2.0 (#510212) - + Michael Schwendt +- Install ALSA related module conf files - + Josh Boyer + * Wed Feb 1 2012 Jaroslav Kysela - 1.0.25-3 - Remove the pulse audio configuration from /etc/asound.conf diff --git a/modprobe-dist-alsa.conf b/modprobe-dist-alsa.conf new file mode 100644 index 0000000..cf31fa6 --- /dev/null +++ b/modprobe-dist-alsa.conf @@ -0,0 +1,9 @@ +# ALSA Sound Support +# +# We want to ensure that snd-seq is always loaded for those who want to use +# the sequencer interface, but we can't do this automatically through udev +# at the moment...so we have this rule (just for the moment). +# +# Remove the following line if you don't want the sequencer. + +install snd-pcm /sbin/modprobe --ignore-install snd-pcm && /sbin/modprobe snd-seq diff --git a/modprobe-dist-oss.conf b/modprobe-dist-oss.conf new file mode 100644 index 0000000..d432d7e --- /dev/null +++ b/modprobe-dist-oss.conf @@ -0,0 +1,7 @@ +# OSS Sound Support +# This has been disabled in F11 onwards because it can interfere with the +# PulseAudio sound service (a legacy OSS application can prevent PulseAudio +# applications from playing sound by preventing PulseAudio from (re-)opening +# the sound device). To re-enable support, uncomment the following line: +# +# install snd-pcm /sbin/modprobe --ignore-install snd-pcm && /sbin/modprobe snd-pcm-oss && /sbin/modprobe snd-seq-device && /sbin/modprobe snd-seq-oss diff --git a/sources b/sources index ecc70d1..1efdbd6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -06fe5819020c6684b991dcffc5471304 alsa-lib-1.0.25.tar.bz2 +2dfa35d28471d721e592b616beedf965 alsa-lib-1.0.26.tar.bz2