1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
Name: alsa-lib
Version: 1.0.28
Release: 4
License: LGPL-2.1+
Summary: The Advanced Linux Sound Architecture (ALSA) library
Url: http://www.alsa-project.org/
Group: System/Audio
Source0: ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version}.tar.bz2
Source1001: alsa-lib.manifest
%description
The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI
functionality to the Linux operating system.
This package includes the ALSA runtime libraries to simplify application
programming and provide higher level functionality as well as support for
the older OSS API, providing binary compatibility for most OSS programs.
%package -n libasound
Summary: ALSA Library package for multimedia framework middleware package
Group: System/Audio
%description -n libasound
ALSA Library package for multimedia framework middleware package
%package -n libasound-devel
Summary: ALSA Library package for multimedia framework middleware package
Group: Development/Libraries
Requires: libasound
%description -n libasound-devel
ALSA Library package for multimedia framework middleware package
%prep
%setup -q
cp %{SOURCE1001} .
%build
%configure --disable-static \
--with-alsa-devdir=/dev/snd \
--disable-alisp \
--disable-python \
--with-gnu-ld \
--with-pcm-plugins=rate,linear,plug,dmix,dsnoop,asym,mmap,ioplug,empty,hooks,route,multi,softvol,file,iec958,null,shm
make %{?_smp_mflags}
%install
%make_install
rm -f %{buildroot}/%{_bindir}/aserver
%post -n libasound -p /sbin/ldconfig
%postun -n libasound -p /sbin/ldconfig
%files -n libasound
%manifest %{name}.manifest
%defattr(-,root,root,-)
%license COPYING
%{_libdir}/lib*.so.*
%{_libdir}/alsa-lib/smixer/*.so
%{_datadir}/alsa/*
%files -n libasound-devel
%manifest %{name}.manifest
%defattr(-,root,root,-)
%{_includedir}/*
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/*
%{_datadir}/aclocal
|