1998-08-13 15:42:56 +00:00
|
|
|
%define ver @SND_LIB_VERSION@
|
|
|
|
|
%define rel 1
|
|
|
|
|
%define prefix /
|
|
|
|
|
|
|
|
|
|
Summary: Advanced Linux Sound Architecture (ALSA) - Library
|
|
|
|
|
Name: alsa-lib
|
|
|
|
|
Version: %ver
|
|
|
|
|
Release: %rel
|
|
|
|
|
Copyright: GPL
|
|
|
|
|
Group: System/Libraries
|
|
|
|
|
Source: ftp://alsa.jcu.cz/pub/lib/alsa-lib-%{ver}.tar.gz
|
|
|
|
|
BuildRoot: /tmp/alsa-lib-%{ver}
|
|
|
|
|
Packager: Helge Jensen <slog@slog.dk>
|
|
|
|
|
URL: http://alsa.jcu.cz
|
|
|
|
|
Docdir: %{prefix}/usr/doc
|
|
|
|
|
Requires: alsa-driver
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
|
|
|
|
|
Advanced Linux Sound Architecture (ALSA) - Library
|
|
|
|
|
|
|
|
|
|
Features
|
|
|
|
|
========
|
|
|
|
|
|
|
|
|
|
* general
|
|
|
|
|
- modularized architecture with support for 2.0 and latest 2.1 kernels
|
|
|
|
|
- support for versioned and exported symbols
|
|
|
|
|
- full proc filesystem support - /proc/sound
|
|
|
|
|
* ISA soundcards
|
|
|
|
|
- support for 128k ISA DMA buffer
|
|
|
|
|
* mixer
|
|
|
|
|
- new enhanced API for applications
|
|
|
|
|
- support for unlimited number of channels
|
|
|
|
|
- volume can be set in three ways (percentual (0-100), exact and decibel)
|
|
|
|
|
- support for mute (and hardware mute if hardware supports it)
|
|
|
|
|
- support for mixer events
|
|
|
|
|
- this allows two or more applications to be synchronized
|
|
|
|
|
* digital audio (PCM)
|
|
|
|
|
- new enhanced API for applications
|
|
|
|
|
- full real duplex support
|
|
|
|
|
- full duplex support for SoundBlaster 16/AWE soundcards
|
|
|
|
|
- digital audio data for playback and record should be read back using
|
|
|
|
|
proc filesystem
|
|
|
|
|
* OSS/Lite compatibility
|
|
|
|
|
- full mixer compatibity
|
|
|
|
|
- full PCM (/dev/dsp) compatibility
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
|
|
* Mon May 28 1998 Helge Jensen <slog@slog.dk>
|
|
|
|
|
|
|
|
|
|
- Made SPEC file
|
|
|
|
|
|
|
|
|
|
%prep
|
1998-12-09 14:43:21 +00:00
|
|
|
%setup
|
1998-08-13 15:42:56 +00:00
|
|
|
%build
|
|
|
|
|
|
|
|
|
|
./configure --prefix=/usr
|
|
|
|
|
make
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/include/sys
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/lib
|
|
|
|
|
|
|
|
|
|
make prefix="$RPM_BUILD_ROOT/usr" install
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-, root, root)
|
|
|
|
|
|
|
|
|
|
%doc doc/*.html
|
|
|
|
|
%doc doc/*.sgml
|
|
|
|
|
%doc doc/*.txt
|
|
|
|
|
|
1998-11-18 20:42:09 +00:00
|
|
|
%{prefix}/usr/include/sys/soundlib.h
|
1998-08-13 15:42:56 +00:00
|
|
|
%{prefix}/usr/lib/lib*
|
1998-12-09 14:43:21 +00:00
|
|
|
${prefix}/usr/share/aclocal/alsa.m4
|