perex f6767a
%define  prever         rc3
perex f6767a
%define  prever_dot     .rc3
perex f6767a
#define postver		a
Martin Stransky be2337
Matthias Saou fc16af
Summary: The Advanced Linux Sound Architecture (ALSA) library
Martin Stransky e137de
Name:    alsa-lib
perex f6767a
Version: 1.0.18
perex cfbc16
Release: 6%{?prever_dot}%{?dist}
Martin Stransky 08b95f
License: LGPLv2+
Martin Stransky e137de
Group:   System Environment/Libraries
Martin Stransky 08b95f
Source:  ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version}%{?prever}%{?postver}.tar.bz2
perex f6767a
Source10: asound.conf
perex 414102
Patch0:  alsa-lib-1.0.17-config.patch
Matthias Saou 601755
Patch2:  alsa-lib-1.0.14-glibc-open.patch
Martin Stransky dc0fdd
Patch4:	 alsa-lib-1.0.16-no-dox-date.patch
Martin Stransky e137de
URL:     http://www.alsa-project.org/
Martin Stransky 08b95f
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
cvsdist b6a545
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
cvsdist b6a545
%package devel
Martin Stransky 08b95f
Summary: Development files from the ALSA library
cvsdist b6a545
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
cvsdist b6a545
%prep
perex 16c8de
%setup -q -n %{name}-%{version}%{?prever}%{?postver}
Martin Stransky afea19
%patch0 -p1 -b .config
Martin Stransky afea19
%patch2 -p1 -b .glibc-open
Martin Stransky dc0fdd
%patch4 -p1 -b .no-dox-date
cvsdist b6a545
cvsdist b6a545
%build
perex f6767a
%configure --disable-aload
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
cvsdist b6a545
make %{?_smp_mflags}
cvsdist b6a545
make doc
cvsdist b6a545
cvsdist b6a545
%install
cvsdist b6a545
rm -rf %{buildroot}
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
cvsdist b6a545
%clean
cvsdist b6a545
rm -rf %{buildroot}
cvsdist b6a545
Matthias Saou 601755
%post -p /sbin/ldconfig
cvsdist b6a545
cvsdist b6a545
%postun -p /sbin/ldconfig
cvsdist b6a545
cvsdist b6a545
%files
Martin Stransky 08b95f
%defattr(-,root,root,-)
cvsdist b6a545
%doc COPYING ChangeLog TODO doc/asoundrc.txt
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/
cvsdist b6a545
cvsdist b6a545
%files devel
Martin Stransky 08b95f
%defattr(-,root,root,-)
Martin Stransky 08b95f
%doc doc/doxygen/
Martin Stransky 08b95f
%{_includedir}/alsa/
cvsdist b6a545
%{_includedir}/sys/asoundlib.h
cvsdist b6a545
%{_libdir}/libasound.so
cvsdist b6a545
%exclude %{_libdir}/libasound.la
cvsdist b6a545
%{_libdir}/pkgconfig/alsa.pc
cvsdist b6a545
%{_datadir}/aclocal/alsa.m4
cvsdist b6a545
cvsdist b6a545
%changelog
perex cfbc16
* Wed Sep 10 2008 Jaroslav Kysela <jkysela@redhat.com> - 1.0.18-6.rc3
perex cfbc16
- fix /etc directory issue
perex cfbc16
perex 94679b
* Wed Sep 10 2008 Jaroslav Kysela <jkysela@redhat.com> - 1.0.18-5.rc3
perex 94679b
- move alsactl.conf to alsa-utils package
perex 94679b
perex dfad12
* Wed Sep 10 2008 Jaroslav Kysela <jkysela@redhat.com> - 1.0.18-4.rc3
perex dfad12
- fixed spec file
perex dfad12
- fixed package version number (1.0.18-3.rc3 was tagged by accident)
perex dfad12
perex f6767a
* Wed Sep 10 2008 Jaroslav Kysela <jkysela@redhat.com> - 1.0.18-1.rc3
perex f6767a
- updated to 1.0.18rc3
perex f6767a
- moved /etc/alsa configuration files back to /usr/share/alsa
perex f6767a
- removed pulse default patch (moved to /etc/asound.conf)
perex f6767a
- added /etc/asound.conf and /etc/alsa/alsactl.conf
perex f6767a
- disable /dev/aload device checking (obsolete for 2.6 kernels)
perex f6767a
perex 16c8de
* Fri Aug 15 2008 Jaroslav Kysela <jkysela@redhat.com> - 1.0.17-3
perex 16c8de
- updated to 1.0.17a
perex 16c8de
perex 37d715
* Mon Jul 21 2008 Jaroslav Kysela <jkysela@redhat.com> - 1.0.17-2
perex 37d715
- added four patches from upstream (to better support pulseaudio)
perex 37d715
perex 603b6a
* Mon Jul 21 2008 Jaroslav Kysela <jkysela@redhat.com> - 1.0.17-1
perex 603b6a
- updated to 1.0.17 final
perex 603b6a
Martin Stransky dc0fdd
* Thu Apr  3 2008 Jim Radford <radford@blackbean.org> - 1.0.16-3
Martin Stransky dc0fdd
- Fix multilib doxygen conflicts
Martin Stransky dc0fdd
Jesse Keating 8ff8b3
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.16-2
Jesse Keating 8ff8b3
- Autorebuild for GCC 4.3
Jesse Keating 8ff8b3
Martin Stransky c60d14
* Mon Feb 18 2008 Martin Stransky <stransky@redhat.com> 1.0.16-1
Martin Stransky c60d14
- updated to 1.0.16 final
Martin Stransky c60d14
Martin Stransky 1d294b
* Mon Oct 29 2007 Martin Stransky <stransky@redhat.com> 1.0.15-1
Martin Stransky 1d294b
- updated to 1.0.15 final
Martin Stransky 1d294b
Lennart Poettering 2204a6
* Wed Oct 17 2007 Lennart Poettering <lpoetter@redhat.com> 1.0.15-0.3.rc3
Lennart Poettering 2204a6
- Add hook to /etc/alsa/alsa.conf so that /etc/alsa/default-pulse.conf
Lennart Poettering 2204a6
  is loaded when it exists. This allows us to enable the pulse plugin by
Lennart Poettering 2204a6
  default depending on whether it is installed or not.
Lennart Poettering 2204a6
Martin Stransky 423f84
* Mon Oct 15 2007 Martin Stransky <stransky@redhat.com> 1.0.15-0.3.rc3
Martin Stransky 423f84
- updated to 1.0.15rc3
Martin Stransky 423f84
Martin Stransky 08b95f
* Thu Sep 20 2007 Matthias Saou <http://freshrpms.net/> 1.0.15-0.2.rc2
Martin Stransky 08b95f
- Update License field.
Martin Stransky 08b95f
- Use configdir instead of sysconfdir hacks (cleaner).
Martin Stransky 08b95f
- Remove redundant optflags overriding.
Martin Stransky 08b95f
- Switch to using main "version", and merge "postver" since this is the right
Martin Stransky 08b95f
  way of doing things (see NamingGuidelines#NonNumericRelease).
Martin Stransky 08b95f
- Remove static library.
Martin Stransky 08b95f
- Mark all of /etc/alsa as config, but not "noreplace".
Martin Stransky 08b95f
- Remove useless rpath on 64bit archs.
Martin Stransky 08b95f
Martin Stransky a2f273
* Wed Sep 19 2007 Martin Stransky <stransky@redhat.com> 1.0.15-0.1.rc2
Martin Stransky a2f273
- updated to 1.0.15rc2
Martin Stransky a2f273
Martin Stransky 77e1ef
* Thu Aug 16 2007 Martin Stransky <stransky@redhat.com> 1.0.14-3
Martin Stransky 77e1ef
- updated to 1.0.14a
Martin Stransky 77e1ef
Martin Stransky afea19
* Wed Aug 15 2007 Lennart Poettering <lpoetter@redhat.com> 1.0.14-2
Martin Stransky afea19
- fixed #251307 - fix plugindir directory specification
Martin Stransky afea19
- fix build with newer glibc where open() is a macro
Martin Stransky afea19
Martin Stransky aa626b
* Wed Jul 25 2007 Martin Stransky <stransky@redhat.com> 1.0.14-1
Martin Stransky aa626b
- bumped release number
Martin Stransky aa626b
- fixed #246011 - alsa-lib should own /usr/lib/alsa-lib/smixer
Martin Stransky aa626b
Martin Stransky 16c026
* Thu Jun 7  2007 Martin Stransky <stransky@redhat.com> 1.0.14-0.5
Martin Stransky 16c026
- new upstream
Martin Stransky 16c026
Martin Stransky 9d4596
* Tue Apr 10 2007 Martin Stransky <stransky@redhat.com> 1.0.14-0.4.rc3
Martin Stransky 9d4596
- added fix for #233764 - unowned directories
Martin Stransky 9d4596
Martin Stransky 73fbca
* Thu Mar 8  2007 Martin Stransky <stransky@redhat.com> 1.0.14-0.3.rc3
Martin Stransky 73fbca
- new upstream
Martin Stransky 73fbca
Martin Stransky 6e8a4d
* Fri Jan 19 2007 Martin Stransky <stransky@redhat.com> 1.0.14-0.2.rc2
Martin Stransky 6e8a4d
- new upstream
Martin Stransky 6e8a4d
Martin Stransky 06e038
* Mon Dec 11 2006 Martin Stransky <stransky@redhat.com> 1.0.14-0.1.rc1
Martin Stransky 06e038
- new upstream
Martin Stransky 06e038
Martin Stransky 987803
* Fri Aug 25 2006 Martin Stransky <stransky@redhat.com> 1.0.12-2
Martin Stransky 987803
- new upstream
Martin Stransky 987803
Martin Stransky 4031db
* Mon Aug 07 2006 Martin Stransky <stransky@redhat.com> 1.0.12-1.rc2
Martin Stransky 4031db
- new upstream
Martin Stransky 4031db
Martin Stransky 536610
* Thu Jul 20 2006 Martin Stransky <stransky@redhat.com> 1.0.12-1.rc1
Martin Stransky 536610
- new upstream
Martin Stransky 536610
- removed ainit (no longer needed in the new upstream)
Martin Stransky 536610
Jesse Keating 4857d0
* Wed Jul 19 2006 Jesse Keating <jkeating@redhat.com> - 1.0.11-6.rc2
Jesse Keating f675af
- fix release for upgrade path
Jesse Keating f675af
Jesse Keating 7ba250
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.0.11-3.rc2.2.1
Jesse Keating 7ba250
- rebuild
Jesse Keating 7ba250
Jesse Keating ed20d8
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.11-3.rc2.2
Jesse Keating ed20d8
- bump again for double-long bug on ppc(64)
Jesse Keating ed20d8
Jesse Keating fcbeaa
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.11-3.rc2.1
Jesse Keating fcbeaa
- rebuilt for new gcc4.1 snapshot and glibc changes
Jesse Keating fcbeaa
Martin Stransky 0a519b
* Fri Feb 3 2006 Martin Stransky <stransky@redhat.com> 1.0.11-3.rc2
Martin Stransky 0a519b
- fix for #179446 - don't remove old SHM memory/keys during login
Martin Stransky 0a519b
Martin Stransky 1ba1fb
* Fri Jan 13 2006 Martin Stransky <stransky@redhat.com> 1.0.11-2.rc2
Martin Stransky 1ba1fb
- fix for #169729 - Kernel update makes snd-atiixp-modem & slmodemd fail
Martin Stransky 1ba1fb
- new ainit (0.7) should fix some problems with root users
Martin Stransky 1ba1fb
Martin Stransky ac4c5d
* Tue Jan 12 2006 Martin Stransky <stransky@redhat.com> 1.0.11-1.rc2
Martin Stransky ac4c5d
- new upstream version
Martin Stransky ac4c5d
Jesse Keating b397c7
* Tue Jan  3 2006 Jesse Keating <jkeating@redhat.com> 1.0.10rf-4
Jesse Keating b397c7
- rebuilt
Jesse Keating b397c7
Martin Stransky 995233
* Fri Dec 9 2005 Martin Stransky <stransky@redhat.com> 1.0.10rf-3
Martin Stransky 995233
- rights for shared memory have been moved to config files
Martin Stransky 995233
Martin Stransky e2eb90
* Fri Dec 2 2005 Martin Stransky <stransky@redhat.com> 1.0.10rf-2
Martin Stransky e2eb90
- fix in spec file (#159046)
Martin Stransky e2eb90
Martin Stransky 8fba7b
* Thu Nov 24 2005 Martin Stransky <stransky@redhat.com> 1.0.10rf-1
Martin Stransky 8fba7b
- new upstream version
Martin Stransky 8fba7b
Martin Stransky e137de
* Tue Sep 27 2005 Martin Stransky <stransky@redhat.com> 1.0.10rc1-2
Martin Stransky e137de
- fixes in config files, new ainit (for #166086)
Martin Stransky e137de
Martin Stransky 3947d3
* Tue Sep 27 2005 Martin Stransky <stransky@redhat.com> 1.0.10rc1-1
Martin Stransky 3947d3
- new upstream version
Martin Stransky 3947d3
Martin Stransky 25447e
* Wed Jul 20 2005 Martin Stransky <stransky@redhat.com> 1.0.9rf-3
Martin Stransky 25447e
- check for /var/run/console/console.lock (#162982)
Martin Stransky 25447e
Martin Stransky 2951cb
* Thu Jun 16 2005 Martin Stransky <stransky@redhat.com> 1.0.9rf-2
Martin Stransky 2951cb
- fix for #159411
Martin Stransky 2951cb
Martin Stransky be2337
* Mon May 30 2005 Martin Stransky <stransky@redhat.com> 1.0.9rf-1
Martin Stransky be2337
- New upstream version
Martin Stransky be2337
- moved alsacard utility to alsa-utils
Martin Stransky be2337
Martin Stransky a742b9
* Fri May 27 2005 Martin Stransky <stransky@redhat.com> 1.0.9rc4-2
Martin Stransky a742b9
- alsacard utility for s-c-s
Martin Stransky a742b9
Bill Nottingham 22a4af
* Tue May 24 2005 Bill Nottingham <notting@redhat.com> 1.0.9rc4-1
Bill Nottingham 22a4af
- update to 1.0.9rc4 (#157180, #158547)
Bill Nottingham 22a4af
Martin Stransky 67cde2
* Wed May 18 2005 Martin Stransky <stransky@redhat.com> 1.0.9rc2-5
Martin Stransky 67cde2
- fix for #130593
Martin Stransky 67cde2
- new ainit (dmix/dsnoop is default only for cards which really need it)
Martin Stransky 67cde2
- fix dsnoop
Martin Stransky 67cde2
- add fix for mixer (from https://bugs.gentoo.org/attachment.cgi?id=58918)
Martin Stransky 67cde2
Than Ngo 3fb38a
* Wed May 04 2005 Than Ngo <than@redhat.com> 1.0.9rc2-4
Than Ngo 3fb38a
- apply patch to fix artsd daemon crash #156592
Than Ngo 3fb38a
Martin Stransky 95d385
* Tue May 3  2005 Martin Stransky <stransky@redhat.com> 1.0.9rc2-3
Martin Stransky 95d385
- fixed ainit (#156278, #156505)
Martin Stransky 95d385
David Woodhouse d09c30
* Thu Apr 28 2005 David Woodhouse <dwmw2@redhat.com> 1.0.9rc2-2
David Woodhouse d09c30
- Fix bogus use of fgetc() in ainit. (#156278)
David Woodhouse d09c30
Martin Stransky d0a435
* Fri Apr 22 2005 Martin Stransky <stransky@redhat.com> 1.0.9rc2-1
Martin Stransky d0a435
- updated to 1.0.9rc2
Matthias Saou 601755
- add ainit tool
Martin Stransky d0a435
- dmix is now default pcm device
Martin Stransky d0a435
Martin Stransky f1b73c
* Mon Mar  7 2005 Martin Stransky <stransky@redhat.com> 1.0.8-4.devel
Martin Stransky f1b73c
- gcc4 patch
Martin Stransky 2414af
Martin Stransky 9ae943
* Wed Feb 15 2005 Martin Stransky <stransky@redhat.com> 1.0.8-3.devel
Martin Stransky 9ae943
- add $RPM_OPT_FLAGS to CFLAGS
Martin Stransky 9ae943
Martin Stransky 7b0fb0
* Fri Feb 11 2005 Martin Stransky <stransky@redhat.com> 1.0.8-2.devel
Martin Stransky 7b0fb0
- add alpha patch (#147388, thx to Sergey Tikhonov)
Martin Stransky 7b0fb0
- fix alsa-mixer on ICH6 system (#146607)
Martin Stransky 7b0fb0
Martin Stransky eea21b
* Wed Jan 26 2005 Martin Stransky <stransky@redhat.com> 1.0.8-1.devel
Martin Stransky eea21b
- update to 1.0.8
Martin Stransky eea21b
- temporarily removed alsa-lib-1.0.7-asym-config.patch
Martin Stransky eea21b
Martin Stransky d730f5
* Mon Jan 10 2005 Martin Stransky <stransky@redhat.com> 1.0.7-3.devel
Martin Stransky d730f5
- fix #144518 - stack protection control
Martin Stransky d730f5
Colin Walters bf4b62
* Sat Jan 08 2005 Colin Walters <walters@redhat.com> 1.0.7-2
Colin Walters bf4b62
- New patch alsa-lib-1.0.7-asym-config.patch, sets up asym
Colin Walters bf4b62
  in the default config file and makes it easy to make it
Colin Walters bf4b62
  the default via an environment variable.  Also increases the
Colin Walters bf4b62
  default dmix buffer variables.
Colin Walters bf4b62
- Mark /etc/alsa/alsa.conf as a config file, and use sysconfdir
Colin Walters bf4b62
  variable
Colin Walters bf4b62
Colin Walters 989abb
* Thu Jan 06 2005 Colin Walters <walters@redhat.com> 1.0.7-1
Colin Walters 989abb
- New upstream version
Colin Walters 989abb
Bill Nottingham 4e8ea1
* Tue Nov 30 2004 Bill Nottingham <notting@redhat.com> 1.0.6-6
Bill Nottingham 4e8ea1
- fix bad assertion that trips up gstreamer (fixes GNOME bug #159647)
Bill Nottingham 3f822a
- undef gets in case it's a macro (#141423)
Bill Nottingham 4e8ea1
Bill Nottingham a9f2d6
* Thu Oct 14 2004 Bill Nottingham <notting@redhat.com> 1.0.6-3
Bill Nottingham f19258
- move libraries & data to root fs, needed at boot time
Bill Nottingham f19258
cvsdist 47cba8
* Mon Aug 30 2004 Bill Nottingham <notting@redhat.com> 1.0.6-1
cvsdist 47cba8
- update to 1.0.6
cvsdist 47cba8
cvsdist 1330c0
* Fri Jul  2 2004 Bill Nottingham <notting@redhat.com> 1.0.5-1
cvsdist 1330c0
- update to 1.0.5
cvsdist 1330c0
cvsdist 03342e
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 03342e
- rebuilt
cvsdist 03342e
cvsdist 97d9e2
* Mon May 17 2004 Colin Walters <walters@redhat.com> 1.0.4-1
cvsdist 97d9e2
- New upstream version
cvsdist 97d9e2
cvsdist 309ca7
* Mon May 03 2004 Colin Walters <walters@redhat.com> 1.0.3a-2
cvsdist 309ca7
- Add patch to avoid assert()ing on errors
cvsdist 309ca7
cvsdist 7ebd7e
* Thu Mar 11 2004 Bill Nottingham <notting@redhat.com> 1.0.3a-1
cvsdist 7ebd7e
- update to 1.0.3a
cvsdist 7ebd7e
cvsdist 7ebd7e
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 7ebd7e
- rebuilt
cvsdist 7ebd7e
cvsdist 7ebd7e
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 7ebd7e
- rebuilt
cvsdist 7ebd7e
cvsdist b6a545
* Wed Jan 28 2004 Bill Nottingham <notting@redhat.com> 1.0.2-1
cvsdist b6a545
- update to 1.0.2
cvsdist b6a545
cvsdist b6a545
* Thu Dec 11 2003 Bill Nottingham <notting@redhat.com> 1.0.0rc2-1
cvsdist b6a545
- update to 1.0.0rc2
cvsdist b6a545
cvsdist b6a545
* Mon Dec  1 2003 Bill Nottingham <notting@redhat.com> 0.9.8-3
cvsdist b6a545
- fix various specfile issues, including License: tag (#111153)
cvsdist b6a545
cvsdist b6a545
* Wed Nov 26 2003 Than Ngo <than@redhat.com> 0.9.8-2
cvsdist b6a545
- fixed dependant libraries check on x86_64
cvsdist b6a545
cvsdist b6a545
* Mon Nov  4 2003 Bill Nottingham <notting@redhat.com> - 0.9.8-1
cvsdist b6a545
- initial build, modify spec file from Matthias Saou