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