Peter Robinson 1e107d
#define  prever     rc3
Peter Robinson 1e107d
#define  prever_dot .rc3
Peter Robinson 1e107d
#define  postver    a
Peter Robinson 1e107d
Peter Robinson 1e107d
Summary:  The Advanced Linux Sound Architecture (ALSA) library
Peter Robinson 1e107d
Name:     alsa-lib
Jaroslav Kysela 47d4cb
Version:  1.1.0
Jaroslav Kysela 69815d
Release:  2%{?prever_dot}%{?dist}
Peter Robinson 1e107d
License:  LGPLv2+
Peter Robinson 1e107d
Group:    System Environment/Libraries
Peter Robinson 1e107d
URL:      http://www.alsa-project.org/
Peter Robinson 1e107d
Peter Robinson 1e107d
Source:   ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version}%{?prever}%{?postver}.tar.bz2
perex f6767a
Source10: asound.conf
Jaroslav Kysela 6ca695
Source11: modprobe-dist-alsa.conf
Jaroslav Kysela 6ca695
Source12: modprobe-dist-oss.conf
Peter Robinson 1e107d
Patch0:   alsa-lib-1.0.24-config.patch
Peter Robinson ee74a2
Patch1:   alsa-lib-1.0.14-glibc-open.patch
Peter Robinson ee74a2
Patch2:   alsa-lib-1.0.16-no-dox-date.patch
Peter Robinson 1e107d
Peter Robinson 1e107d
BuildRequires:  doxygen
Martin Stransky 08b95f
Requires(post): /sbin/ldconfig, coreutils
cvsdist b6a545
cvsdist b6a545
%description
cvsdist b6a545
The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI
cvsdist b6a545
functionality to the Linux operating system.
cvsdist b6a545
cvsdist b6a545
This package includes the ALSA runtime libraries to simplify application
cvsdist b6a545
programming and provide higher level functionality as well as support for
cvsdist b6a545
the older OSS API, providing binary compatibility for most OSS programs.
cvsdist b6a545
Peter Robinson 1e107d
%package  devel
Peter Robinson 1e107d
Summary:  Development files from the ALSA library
Peter Robinson 1e107d
Group:    Development/Libraries
Martin Stransky 08b95f
Requires: %{name} = %{version}-%{release}
cvsdist b6a545
Requires: pkgconfig
Martin Stransky 08b95f
cvsdist b6a545
%description devel
cvsdist b6a545
The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI
cvsdist b6a545
functionality to the Linux operating system.
cvsdist b6a545
cvsdist b6a545
This package includes the ALSA development libraries for developing
cvsdist b6a545
against the ALSA libraries and interfaces.
cvsdist b6a545
Peter Robinson ee74a2
%package  -n alsa-ucm
Peter Robinson ee74a2
Summary:  ALSA Universal Configuration Manager
Peter Robinson ee74a2
Group:    System Environment/Libraries
Peter Robinson ee74a2
Requires: %{name} = %{version}-%{release}
Peter Robinson ee74a2
Peter Robinson ee74a2
%description -n alsa-ucm
Peter Robinson ee74a2
The Advanced Linux Sound Architecture (ALSA) Universal Configuration 
Peter Robinson ee74a2
Manager allows configuration of Audio input/output names and routing
Peter Robinson ee74a2
cvsdist b6a545
%prep
perex 16c8de
%setup -q -n %{name}-%{version}%{?prever}%{?postver}
Martin Stransky afea19
%patch0 -p1 -b .config
Peter Robinson ee74a2
%patch1 -p1 -b .glibc-open
Peter Robinson ee74a2
%patch2 -p1 -b .no-dox-date
cvsdist b6a545
cvsdist b6a545
%build
Jaroslav Kysela fceace
%configure --disable-aload --with-plugindir=%{_libdir}/alsa-lib --disable-alisp
Peter Robinson 1e107d
Martin Stransky 08b95f
# Remove useless /usr/lib64 rpath on 64bit archs
Martin Stransky 08b95f
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
Martin Stransky 08b95f
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
Peter Robinson 1e107d
Peter Robinson 1e107d
make %{?_smp_mflags} V=1
cvsdist b6a545
make doc
cvsdist b6a545
cvsdist b6a545
%install
cvsdist b6a545
make DESTDIR=%{buildroot} install
cvsdist b6a545
Martin Stransky 08b95f
# We need the library to be available even before /usr might be mounted
Bill Nottingham f19258
mkdir -p %{buildroot}/%{_lib}
Bill Nottingham f19258
mv %{buildroot}%{_libdir}/libasound.so.* %{buildroot}/%{_lib}
Bill Nottingham f19258
ln -snf ../../%{_lib}/libasound.so.2 %{buildroot}%{_libdir}/libasound.so
Bill Nottingham f19258
perex f6767a
# Install global configuration files
perex cfbc16
mkdir -p -m 755 %{buildroot}/etc
perex f6767a
install -p -m 644 %{SOURCE10} %{buildroot}/etc
perex f6767a
Jaroslav Kysela 6ca695
# Install the modprobe files for ALSA
Jaroslav Kysela 6ca695
mkdir -p -m 755 %{buildroot}/lib/modprobe.d/
Jaroslav Kysela 6ca695
install -p -m 644 %{SOURCE11} %{buildroot}/lib/modprobe.d/dist-alsa.conf
Jaroslav Kysela f06fbc
# bug#926973, place this file to the doc directory
Ville Skyttä ded7f6
install -p -m 644 %{SOURCE12} .
Jaroslav Kysela 6ca695
Peter Robinson 1e107d
# Create UCM directory
Peter Robinson 1e107d
mkdir -p %{buildroot}/%{_datadir}/alsa/ucm
Peter Robinson 1e107d
Peter Robinson 1e107d
#Remove libtool archives.
Peter Robinson 510109
find %{buildroot} -name '*.la' -delete
cvsdist b6a545
Matthias Saou 601755
%post -p /sbin/ldconfig
cvsdist b6a545
cvsdist b6a545
%postun -p /sbin/ldconfig
cvsdist b6a545
cvsdist b6a545
%files
Peter Robinson ee74a2
%{!?_licensedir:%global license %%doc}
Peter Robinson ee74a2
%license COPYING
Peter Robinson ee74a2
%doc doc/asoundrc.txt modprobe-dist-oss.conf
perex f6767a
%config %{_sysconfdir}/asound.conf
Bill Nottingham f19258
/%{_lib}/libasound.so.*
Martin Stransky 08b95f
%{_bindir}/aserver
Martin Stransky 08b95f
%{_libdir}/alsa-lib/
perex ad270c
%{_datadir}/alsa/
Peter Robinson ee74a2
%exclude %{_datadir}/alsa/ucm
Jaroslav Kysela 6ca695
/lib/modprobe.d/dist-*
cvsdist b6a545
cvsdist b6a545
%files devel
Peter Robinson ee74a2
%doc TODO doc/doxygen/
Martin Stransky 08b95f
%{_includedir}/alsa/
cvsdist b6a545
%{_includedir}/sys/asoundlib.h
cvsdist b6a545
%{_libdir}/libasound.so
cvsdist b6a545
%{_libdir}/pkgconfig/alsa.pc
cvsdist b6a545
%{_datadir}/aclocal/alsa.m4
cvsdist b6a545
Peter Robinson ee74a2
%files -n alsa-ucm
Peter Robinson ee74a2
%{_datadir}/alsa/ucm
Peter Robinson ee74a2
cvsdist b6a545
%changelog
Jaroslav Kysela 69815d
* Thu Nov  5 2015 Jaroslav Kysela <perex@perex.cz> - 1.1.0-2
Jaroslav Kysela 69815d
- Replaced source files with the alsa-lib v1.1.0 final
Jaroslav Kysela 69815d
Jaroslav Kysela 2caa5a
* Tue Oct 27 2015 Jaroslav Kysela <perex@perex.cz> - 1.1.0-1
Jaroslav Kysela 2caa5a
- Updated to 1.1.0
Jaroslav Kysela 2caa5a
Dennis Gilmore 14be39
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.29-2
Dennis Gilmore 14be39
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
Dennis Gilmore 14be39
Jaroslav Kysela 1978bc
* Thu Feb 26 2015 Jaroslav Kysela <perex@perex.cz> - 1.0.29-1
Jaroslav Kysela 1978bc
- Updated to 1.0.29
Jaroslav Kysela 1978bc
Till Maas 72e583
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 1.0.28-4
Till Maas 72e583
- Rebuilt for Fedora 23 Change
Till Maas 72e583
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
Till Maas 72e583
Peter Robinson ee74a2
* Tue Feb  3 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.28-3
Peter Robinson ee74a2
- Add UCM sub package
Peter Robinson ee74a2
- Use %%license
Peter Robinson ee74a2
Peter Robinson e72f5a
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.28-2
Peter Robinson e72f5a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
Peter Robinson e72f5a
Peter Robinson 510109
* Thu Jul 24 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.28-1
Peter Robinson 510109
- Update to 1.0.28
Peter Robinson 510109
Dennis Gilmore 8790be
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.27.2-3
Dennis Gilmore 8790be
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
Dennis Gilmore 8790be
Ville Skyttä ded7f6
* Thu Aug  1 2013 Ville Skyttä <ville.skytta@iki.fi> - 1.0.27.2-2
Ville Skyttä ded7f6
- Fix build with unversioned %%{_docdir_fmt}.
Ville Skyttä ded7f6
Jaroslav Kysela d29a66
* Mon Jul 08 2013 Jaroslav Kysela <perex@perex.cz> - 1.0.27.2-1
Jaroslav Kysela d29a66
- Updated to 1.0.27.2
Jaroslav Kysela d29a66
Jaroslav Kysela 95c168
* Thu May 30 2013 Jaroslav Kysela <perex@perex.cz> - 1.0.27.1-2
Jaroslav Kysela 95c168
- Fixed bug#953352
Jaroslav Kysela 95c168
Jaroslav Kysela c87709
* Tue May 21 2013 Jaroslav Kysela <perex@perex.cz> - 1.0.27.1-1
Jaroslav Kysela c87709
- Updated to 1.0.27.1
Jaroslav Kysela c87709
Rex Dieter fa5f53
* Tue May 07 2013 Rex Dieter <rdieter@fedoraproject.org> 1.0.27-3
Rex Dieter fa5f53
- pull in upstream fix for building in C90 mode
Jaroslav Kysela 3b9406
Rex Dieter bfe405
* Thu Apr 11 2013 Jaroslav Kysela <perex@perex.cz> - 1.0.27-2
Jaroslav Kysela 3b9406
- move dist-oss.conf to doc as modprobe-dist-oss.conf
Jaroslav Kysela 3b9406
Rex Dieter 198712
* Thu Apr 11 2013 Jaroslav Kysela <perex@perex.cz> - 1.0.27-1
Jaroslav Kysela e30f7d
- Updated to 1.0.27
Jaroslav Kysela e30f7d
Stephen Gallagher 42b017
* Wed Apr 03 2013 Stephen Gallagher <sgallagh@redhat.com> - 1.0.26-4
Stephen Gallagher 42b017
- Add upstream patch to explicitly include sys/types.h
Stephen Gallagher 42b017
Dennis Gilmore 2c92e4
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.26-3
Dennis Gilmore 2c92e4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
Dennis Gilmore 2c92e4
Peter Robinson 1e107d
* Mon Dec  3 2012 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.26-2
Peter Robinson 1e107d
- Create and own ucm directory so alsaucm doesn't crash.
Peter Robinson 1e107d
- Cleanup and modernise spec
Peter Robinson 1e107d
Jaroslav Kysela f7e629
* Thu Sep  6 2012 Jaroslav Kysela <jkysela@redhat.com> - 1.0.26-1
Jaroslav Kysela f7e629
- Updated to 1.0.26
Jaroslav Kysela f7e629
Michael Schwendt 86e00c
* Thu Jul 26 2012 Michael Schwendt <mschwendt@fedoraproject.org> - 1.0.25-6
Michael Schwendt 86e00c
- Don't package ancient ChangeLog that ends at alsa-lib 0.2.0 (#510212).
Michael Schwendt 86e00c
Dennis Gilmore 8efc69
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.25-5
Dennis Gilmore 8efc69
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
Dennis Gilmore 8efc69
Jaroslav Kysela 6ca695
* Wed May  2 2012 Josh Boyer <jwboyer@redhat.com> - 1.0.25-4
Jaroslav Kysela 6ca695
- Install ALSA related module conf files
Jaroslav Kysela 6ca695
Jaroslav Kysela 57d0ac
* Wed Feb  1 2012 Jaroslav Kysela <jkysela@redhat.com> - 1.0.25-3
Jaroslav Kysela 323fa8
- Remove the pulse audio configuration from /etc/asound.conf
Jaroslav Kysela 323fa8
Jaroslav Kysela fceace
* Sat Jan 28 2012 Jaroslav Kysela <jkysela@redhat.com> - 1.0.25-1
Jaroslav Kysela fceace
- Updated to 1.0.25 final
Jaroslav Kysela fceace
Dennis Gilmore cb4ca8
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.24-3
Dennis Gilmore cb4ca8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
Dennis Gilmore cb4ca8
Dennis Gilmore 8cfc5d
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.24-2
Dennis Gilmore 8cfc5d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
Dennis Gilmore 8cfc5d
Jaroslav Kysela c99e2c
* Fri Jan 28 2011 Jaroslav Kysela <jkysela@redhat.com> - 1.0.24-1
Jaroslav Kysela c99e2c
- Updated to 1.0.24 final
Jaroslav Kysela c99e2c
Jochen Schmitt 5a430b
* Tue Nov  9 2010 Jochen Schmitt <Jochen herr-schmitt de> 1.0.23-2
Jochen Schmitt 5a430b
- Set plugindir to %%{_libdir}/alsa-lib (bz#651507)
Jochen Schmitt 5a430b
perex 54ddf4
* Fri Apr 16 2010 Jaroslav Kysela <jkysela@redhat.com> - 1.0.23-1
perex 54ddf4
- Updated to 1.0.23 final
perex 54ddf4
perex 96d951
* Mon Dec 28 2009 Jaroslav Kysela <jkysela@redhat.com> - 1.0.22-1
perex 96d951
- Updated to 1.0.22 final
perex 96d951
- Fix file descriptor leak in pcm_hw plugin
perex 96d951
- Fix sound distortions for S24_LE - softvol plugin
perex 96d951
perex 097e77
* Wed Sep  9 2009 Jaroslav Kysela <jkysela@redhat.com> - 1.0.21-3
perex 097e77
- Add Speaker and Beep control names to mixer weight list
perex 097e77
- Fix redhat bug #521988
perex 097e77
perex 2df51f
* Wed Sep  2 2009 Jaroslav Kysela <jkysela@redhat.com> - 1.0.21-1
perex 097e77
- Updated to 1.0.21 final
perex 2df51f
Jesse Keating 03b202
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.20-2
Jesse Keating 03b202
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
Jesse Keating 03b202
perex 9d375d
* Wed May  6 2009 Jaroslav Kysela <jkysela@redhat.com> - 1.0.20-1
perex 9d375d
- Updated to 1.0.20 final
perex 9d375d
Jesse Keating 7d74bc
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.19-3
Jesse Keating 7d74bc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
Jesse Keating 7d74bc
perex 620c3d
* Wed Feb  4 2009 Jaroslav Kysela <jkysela@redhat.com> - 1.0.19-2
perex 620c3d
- Make doxygen documentation same for all architectures (bz#465205)
perex 620c3d
perex 5bb0b7
* Tue Jan 20 2009 Jaroslav Kysela <jkysela@redhat.com> - 1.0.19-1
perex 5bb0b7
- Updated to 1.0.19 final