Blame SPECS/alsa-lib.spec

53d156
#define  prever     rc3
53d156
#define  prever_dot .rc3
53d156
#define  postver    a
53d156
53d156
Summary:  The Advanced Linux Sound Architecture (ALSA) library
53d156
Name:     alsa-lib
53d156
Version:  1.1.6
53d156
Release:  3%{?prever_dot}%{?dist}
53d156
License:  LGPLv2+
53d156
Group:    System Environment/Libraries
53d156
URL:      http://www.alsa-project.org/
53d156
53d156
Source:   ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version}%{?prever}%{?postver}.tar.bz2
53d156
Source10: asound.conf
53d156
Source11: modprobe-dist-alsa.conf
53d156
Source12: modprobe-dist-oss.conf
53d156
Patch0:   alsa-lib-1.1.6-post.patch
53d156
Patch1:   alsa-lib-1.0.24-config.patch
53d156
Patch2:   alsa-lib-1.0.14-glibc-open.patch
53d156
53d156
BuildRequires:  doxygen
53d156
BuildRequires:  autoconf automake libtool
53d156
Requires(post): /sbin/ldconfig, coreutils
53d156
53d156
%description
53d156
The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI
53d156
functionality to the Linux operating system.
53d156
53d156
This package includes the ALSA runtime libraries to simplify application
53d156
programming and provide higher level functionality as well as support for
53d156
the older OSS API, providing binary compatibility for most OSS programs.
53d156
53d156
%package  devel
53d156
Summary:  Development files from the ALSA library
53d156
Group:    Development/Libraries
53d156
Requires: %{name} = %{version}-%{release}
53d156
Requires: pkgconfig
53d156
53d156
%description devel
53d156
The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI
53d156
functionality to the Linux operating system.
53d156
53d156
This package includes the ALSA development libraries for developing
53d156
against the ALSA libraries and interfaces.
53d156
53d156
%package  -n alsa-ucm
53d156
Summary:  ALSA Universal Configuration Manager
53d156
Group:    System Environment/Libraries
53d156
Requires: %{name} = %{version}-%{release}
53d156
53d156
%description -n alsa-ucm
53d156
The Advanced Linux Sound Architecture (ALSA) Universal Configuration 
53d156
Manager allows configuration of Audio input/output names and routing
53d156
53d156
%prep
53d156
%setup -q -n %{name}-%{version}%{?prever}%{?postver}
53d156
%patch0 -p1 -b .post
53d156
%patch1 -p1 -b .config
53d156
%patch2 -p1 -b .glibc-open
53d156
53d156
%build
53d156
autoreconf -vif
53d156
%configure --disable-aload --with-plugindir=%{_libdir}/alsa-lib --disable-alisp
53d156
53d156
# Remove useless /usr/lib64 rpath on 64bit archs
53d156
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
53d156
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
53d156
53d156
make %{?_smp_mflags} V=1
53d156
make doc
53d156
53d156
%install
53d156
make DESTDIR=%{buildroot} install
53d156
53d156
# We need the library to be available even before /usr might be mounted
53d156
mkdir -p %{buildroot}/%{_lib}
53d156
mv %{buildroot}%{_libdir}/libasound.so.* %{buildroot}/%{_lib}
53d156
ln -snf ../../%{_lib}/libasound.so.2 %{buildroot}%{_libdir}/libasound.so
53d156
53d156
# Install global configuration files
53d156
mkdir -p -m 755 %{buildroot}/etc
53d156
install -p -m 644 %{SOURCE10} %{buildroot}/etc
53d156
53d156
# Install the modprobe files for ALSA
53d156
mkdir -p -m 755 %{buildroot}/lib/modprobe.d/
53d156
install -p -m 644 %{SOURCE11} %{buildroot}/lib/modprobe.d/dist-alsa.conf
53d156
# bug#926973, place this file to the doc directory
53d156
install -p -m 644 %{SOURCE12} .
53d156
53d156
# Create UCM directory
53d156
mkdir -p %{buildroot}/%{_datadir}/alsa/ucm
53d156
53d156
#Remove libtool archives.
53d156
find %{buildroot} -name '*.la' -delete
53d156
53d156
%post -p /sbin/ldconfig
53d156
53d156
%postun -p /sbin/ldconfig
53d156
53d156
%files
53d156
%{!?_licensedir:%global license %%doc}
53d156
%license COPYING
53d156
%doc doc/asoundrc.txt modprobe-dist-oss.conf
53d156
%config %{_sysconfdir}/asound.conf
53d156
/%{_lib}/libasound.so.*
53d156
%{_bindir}/aserver
53d156
#{_libdir}/alsa-lib/
53d156
%{_datadir}/alsa/
53d156
%exclude %{_datadir}/alsa/ucm
53d156
/lib/modprobe.d/dist-*
53d156
53d156
%files devel
53d156
%doc TODO doc/doxygen/
53d156
%{_includedir}/alsa/
53d156
%{_includedir}/sys/asoundlib.h
53d156
%{_libdir}/libasound.so
53d156
%{_libdir}/pkgconfig/alsa.pc
53d156
%{_datadir}/aclocal/alsa.m4
53d156
53d156
%files -n alsa-ucm
53d156
%{_datadir}/alsa/ucm
53d156
53d156
%changelog
53d156
* Fri Jan 25 2019 Jaroslav Kysela <jkysela@redhat.com> - 1.1.6-3
53d156
- Sync with the RHEL 7
53d156
- Add Dell WD15/WD19 Dock to USB-Audio.conf and create UCM configs
53d156
- Resolves: rhbz#1664247
53d156
53d156
* Wed Apr 04 2018 Jaroslav Kysela <perex@perex.cz> - 1.1.6-2
53d156
- Changed add-on directory to /etc/alsa/conf.d
53d156
53d156
* Tue Apr 03 2018 Jaroslav Kysela <perex@perex.cz> - 1.1.6-1
53d156
- Updated to 1.1.6
53d156
53d156
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-2
53d156
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
53d156
53d156
* Tue Nov 14 2017 Jaroslav Kysela <perex@perex.cz> - 1.1.5-1
53d156
- Updated to 1.1.5
53d156
53d156
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4.1-3
53d156
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
53d156
53d156
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4.1-2
53d156
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
53d156
53d156
* Tue Jun 13 2017 Jaroslav Kysela <perex@perex.cz> - 1.1.4.1-1
53d156
- Updated to 1.1.4.1
53d156
53d156
* Fri May 12 2017 Jaroslav Kysela <perex@perex.cz> - 1.1.4-1
53d156
- Updated to 1.1.4
53d156
53d156
* Mon Mar 20 2017 Peter Robinson <pbrobinson@fedoraproject.org> 1.1.3-3
53d156
- Add upstream patch for Raspberry Pi HDMI audio
53d156
53d156
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-2
53d156
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
53d156
53d156
* Tue Dec 20 2016 Jaroslav Kysela <perex@perex.cz> - 1.1.3-1
53d156
- Updated to 1.1.3
53d156
53d156
* Tue Aug  2 2016 Jaroslav Kysela <perex@perex.cz> - 1.1.2-1
53d156
- Updated to 1.1.2
53d156
53d156
* Tue Jul 19 2016 Bastien Nocera <bnocera@redhat.com> - 1.1.1-2
53d156
- Add Surface 3 configuration file
53d156
53d156
* Thu Mar 31 2016 Jaroslav Kysela <perex@perex.cz> - 1.1.1-1
53d156
- Updated to 1.1.1
53d156
53d156
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-4
53d156
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
53d156
53d156
* Mon Nov  9 2015 Jaroslav Kysela <perex@perex.cz> - 1.1.0-3
53d156
- Replaced source files with the alsa-lib v1.1.0 final
53d156
53d156
* Thu Nov  5 2015 Jaroslav Kysela <perex@perex.cz> - 1.1.0-2
53d156
- Replaced source files with the alsa-lib v1.1.0 test2
53d156
53d156
* Tue Oct 27 2015 Jaroslav Kysela <perex@perex.cz> - 1.1.0-1
53d156
- Updated to 1.1.0 test1
53d156
53d156
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.29-2
53d156
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
53d156
53d156
* Thu Feb 26 2015 Jaroslav Kysela <perex@perex.cz> - 1.0.29-1
53d156
- Updated to 1.0.29
53d156
53d156
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 1.0.28-4
53d156
- Rebuilt for Fedora 23 Change
53d156
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
53d156
53d156
* Tue Feb  3 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.28-3
53d156
- Add UCM sub package
53d156
- Use %%license
53d156
53d156
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.28-2
53d156
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
53d156
53d156
* Thu Jul 24 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.28-1
53d156
- Update to 1.0.28
53d156
53d156
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.27.2-3
53d156
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
53d156
53d156
* Thu Aug  1 2013 Ville Skyttä <ville.skytta@iki.fi> - 1.0.27.2-2
53d156
- Fix build with unversioned %%{_docdir_fmt}.
53d156
53d156
* Mon Jul 08 2013 Jaroslav Kysela <perex@perex.cz> - 1.0.27.2-1
53d156
- Updated to 1.0.27.2
53d156
53d156
* Thu May 30 2013 Jaroslav Kysela <perex@perex.cz> - 1.0.27.1-2
53d156
- Fixed bug#953352
53d156
53d156
* Tue May 21 2013 Jaroslav Kysela <perex@perex.cz> - 1.0.27.1-1
53d156
- Updated to 1.0.27.1
53d156
53d156
* Tue May 07 2013 Rex Dieter <rdieter@fedoraproject.org> 1.0.27-3
53d156
- pull in upstream fix for building in C90 mode
53d156
53d156
* Thu Apr 11 2013 Jaroslav Kysela <perex@perex.cz> - 1.0.27-2
53d156
- move dist-oss.conf to doc as modprobe-dist-oss.conf
53d156
53d156
* Thu Apr 11 2013 Jaroslav Kysela <perex@perex.cz> - 1.0.27-1
53d156
- Updated to 1.0.27
53d156
53d156
* Wed Apr 03 2013 Stephen Gallagher <sgallagh@redhat.com> - 1.0.26-4
53d156
- Add upstream patch to explicitly include sys/types.h
53d156
53d156
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.26-3
53d156
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
53d156
53d156
* Mon Dec  3 2012 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.26-2
53d156
- Create and own ucm directory so alsaucm doesn't crash.
53d156
- Cleanup and modernise spec
53d156
53d156
* Thu Sep  6 2012 Jaroslav Kysela <jkysela@redhat.com> - 1.0.26-1
53d156
- Updated to 1.0.26
53d156
53d156
* Thu Jul 26 2012 Michael Schwendt <mschwendt@fedoraproject.org> - 1.0.25-6
53d156
- Don't package ancient ChangeLog that ends at alsa-lib 0.2.0 (#510212).
53d156
53d156
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.25-5
53d156
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
53d156
53d156
* Wed May  2 2012 Josh Boyer <jwboyer@redhat.com> - 1.0.25-4
53d156
- Install ALSA related module conf files
53d156
53d156
* Wed Feb  1 2012 Jaroslav Kysela <jkysela@redhat.com> - 1.0.25-3
53d156
- Remove the pulse audio configuration from /etc/asound.conf
53d156
53d156
* Sat Jan 28 2012 Jaroslav Kysela <jkysela@redhat.com> - 1.0.25-1
53d156
- Updated to 1.0.25 final
53d156
53d156
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.24-3
53d156
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
53d156
53d156
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.24-2
53d156
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
53d156
53d156
* Fri Jan 28 2011 Jaroslav Kysela <jkysela@redhat.com> - 1.0.24-1
53d156
- Updated to 1.0.24 final
53d156
53d156
* Tue Nov  9 2010 Jochen Schmitt <Jochen herr-schmitt de> 1.0.23-2
53d156
- Set plugindir to %%{_libdir}/alsa-lib (bz#651507)
53d156
53d156
* Fri Apr 16 2010 Jaroslav Kysela <jkysela@redhat.com> - 1.0.23-1
53d156
- Updated to 1.0.23 final
53d156
53d156
* Mon Dec 28 2009 Jaroslav Kysela <jkysela@redhat.com> - 1.0.22-1
53d156
- Updated to 1.0.22 final
53d156
- Fix file descriptor leak in pcm_hw plugin
53d156
- Fix sound distortions for S24_LE - softvol plugin
53d156
53d156
* Wed Sep  9 2009 Jaroslav Kysela <jkysela@redhat.com> - 1.0.21-3
53d156
- Add Speaker and Beep control names to mixer weight list
53d156
- Fix redhat bug #521988
53d156
53d156
* Wed Sep  2 2009 Jaroslav Kysela <jkysela@redhat.com> - 1.0.21-1
53d156
- Updated to 1.0.21 final
53d156
53d156
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.20-2
53d156
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
53d156
53d156
* Wed May  6 2009 Jaroslav Kysela <jkysela@redhat.com> - 1.0.20-1
53d156
- Updated to 1.0.20 final
53d156
53d156
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.19-3
53d156
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
53d156
53d156
* Wed Feb  4 2009 Jaroslav Kysela <jkysela@redhat.com> - 1.0.19-2
53d156
- Make doxygen documentation same for all architectures (bz#465205)
53d156
53d156
* Tue Jan 20 2009 Jaroslav Kysela <jkysela@redhat.com> - 1.0.19-1
53d156
- Updated to 1.0.19 final