cvsdist b6a545
Summary: The Advanced Linux Sound Architecture (ALSA) library.
cvsdist b6a545
Name: alsa-lib
Martin Stransky eea21b
Version: 1.0.8
Martin Stransky 2414af
Release: 4.devel
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 3f822a
Patch2: alsa-lib-macro.patch
Martin Stransky eea21b
#Patch3: alsa-lib-1.0.7-asym-config.patch
Martin Stransky 7b0fb0
Patch4: alsa-lib-stack2.patch
Martin Stransky 7b0fb0
Patch5: alsa-lib-alpha.patch
Martin Stransky f1b73c
Patch6: alsa-lib-gcc4.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
%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}
Martin Stransky eea21b
%patch2 -p1 -b .macro
Martin Stransky eea21b
#%patch3 -p1 -b .load-env
Martin Stransky d730f5
%patch4 -p1
Martin Stransky 7b0fb0
%patch5 -p1 -b .alpha
Martin Stransky 26f6a8
%patch6 -p1 -b .gcc4
cvsdist b6a545
cvsdist b6a545
%build
cvsdist b6a545
%configure \
Martin Stransky 9ae943
    CFLAGS="$RPM_OPT_FLAGS"\
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.*
Colin Walters bf4b62
%{_sysconfdir}/alsa
Colin Walters bf4b62
%config %{_sysconfdir}/alsa/alsa.conf
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
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