cvsdist b6a545
Summary: The Advanced Linux Sound Architecture (ALSA) library.
cvsdist b6a545
Name: alsa-lib
cvsdist 47cba8
Version: 1.0.6
Bill Nottingham 4e8ea1
Release: 6
cvsdist b6a545
License: LGPL
cvsdist b6a545
Group: System Environment/Libraries
cvsdist b6a545
Source: ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version}%{?prever}.tar.bz2
Bill Nottingham 4e8ea1
Patch: alsa-lib-assert.patch
cvsdist b6a545
URL: http://www.alsa-project.org/
cvsdist b6a545
BuildRoot: %{_tmppath}/%{name}-%{version}-root
cvsdist b6a545
BuildRequires: doxygen
cvsdist b6a545
Prereq: /sbin/ldconfig
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
cvsdist b6a545
Summary: Static libraries and header files from the ALSA library.
cvsdist b6a545
Group: Development/Libraries
cvsdist b6a545
Requires: %{name} = %{version}
cvsdist b6a545
Requires: pkgconfig
cvsdist b6a545
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
cvsdist b6a545
%setup -q -n %{name}-%{version}%{?prever}
Bill Nottingham 4e8ea1
%patch -p1
cvsdist b6a545
cvsdist b6a545
%build
cvsdist b6a545
%configure \
cvsdist b6a545
    --enable-static=yes \
Bill Nottingham f19258
    --datadir=/etc
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
Bill Nottingham f19258
mkdir -p %{buildroot}%{_datadir}
Bill Nottingham f19258
mkdir -p %{buildroot}/%{_lib}
Bill Nottingham f19258
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
Bill Nottingham f19258
Bill Nottingham f19258
mv %{buildroot}/etc/aclocal %{buildroot}%{_datadir}
Bill Nottingham f19258
cvsdist b6a545
%clean
cvsdist b6a545
rm -rf %{buildroot}
cvsdist b6a545
cvsdist b6a545
%post -p /sbin/ldconfig
cvsdist b6a545
cvsdist b6a545
%postun -p /sbin/ldconfig
cvsdist b6a545
Bill Nottingham a9f2d6
%triggerpostun -- alsa-lib < 1.0.6-2
Bill Nottingham a9f2d6
ln -snf ../../etc/alsa %{_datadir}/alsa
Bill Nottingham a9f2d6
cvsdist b6a545
%files
cvsdist b6a545
%defattr(-, root, root)
cvsdist b6a545
%doc COPYING ChangeLog TODO doc/asoundrc.txt
cvsdist b6a545
%{_bindir}/alsalisp
cvsdist b6a545
%{_bindir}/aserver
Bill Nottingham f19258
/%{_lib}/libasound.so.*
Bill Nottingham f19258
/etc/alsa
cvsdist b6a545
cvsdist b6a545
%files devel
cvsdist b6a545
%defattr(-, root, root)
cvsdist b6a545
%doc doc/doxygen
cvsdist b6a545
%{_includedir}/alsa
cvsdist b6a545
%{_includedir}/sys/asoundlib.h
cvsdist b6a545
%{_libdir}/libasound.so
cvsdist b6a545
%{_libdir}/libasound.a
cvsdist b6a545
%exclude %{_libdir}/libasound.la
cvsdist b6a545
%{_libdir}/pkgconfig/alsa.pc
cvsdist b6a545
%{_datadir}/aclocal/alsa.m4
cvsdist b6a545
cvsdist b6a545
%changelog
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 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