]> git.pld-linux.org Git - packages/alsa-lib.git/blob - alsa-lib.spec
- added alsa-driver-devel Requires rule for devel.
[packages/alsa-lib.git] / alsa-lib.spec
1 Summary:        Advanced Linux Sound Architecture (ALSA) - Library
2 Summary(pl):    Advanced Linux Sound Architecture (ALSA) - Biblioteka
3 Name:           alsa-lib
4 Version:        0.5.9
5 Release:        6
6 License:        GPL
7 Group:          Libraries
8 Group(de):      Libraries
9 Group(fr):      Librairies
10 Group(pl):      Biblioteki
11 Source0:        ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version}.tar.bz2
12 URL:            http://www.alsa-project.org/
13 BuildRequires:  alsa-driver-devel
14 BuildRequires:  libstdc++-devel
15 BuildRequires:  ncurses-devel
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 BuildRequires:  flex
19 BuildRequires:  libtool
20 BuildConflicts: alsa-lib <= 0.4.0
21 Obsoletes:      alsa-libs
22 ExcludeArch:    sparc
23 ExcludeArch:    sparc64
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %define         _sysconfdir     /etc
27
28 %description
29 Advanced Linux Sound Architecture (ALSA) - Library
30
31 Features ========
32 - general
33   - modularized architecture with support for 2.2
34   - support for versioned and exported symbols
35   - full proc filesystem support - /proc/sound
36 - ISA soundcards
37   - support for 128k ISA DMA buffer
38 - mixer
39   - new enhanced API for applications
40   - support for unlimited number of channels
41   - volume can be set in three ways (percentual (0-100), exact and
42     decibel)
43   - support for mute (and hardware mute if hardware supports it)
44   - support for mixer events
45     - this allows two or more applications to be synchronized
46 - digital audio (PCM)
47   - new enhanced API for applications
48   - full real duplex support
49   - full duplex support for SoundBlaster 16/AWE soundcards
50   - digital audio data for playback and record should be read back using
51     proc filesystem
52 - OSS/Lite compatibility
53   - full mixer compatibity
54   - full PCM (/dev/dsp) compatibility
55
56 %description -l pl
57 Advanced Linux Sound Architecture (ALSA) - Biblioteka
58
59 Nowinki =======
60 - generalne
61   - zmodularyzowana architektura ze wsparciem dla kerneli 2.2
62   - pe³ne wsparcie dla systemu plików proc - /proc/sound
63 - karty d¼wiêkowe ISA
64   - wsparcie dla buforu 128k ISA DMA
65 - mikser
66   - nowe rozszerzone API dla aplikacji
67   - wsparcie dla nielimitowanej liczby kana³ów
68   - g³o¶no¶æ mo¿e byæ ustawiana na trzy ró¿ne sposoby (procentowo
69     (0-100), liniowo oraz w skali decybelowej)
70   - wsparcie dla mute (oraz dla sprzêtowego mute)
71   - wsparcie dla zdarzeñ miksera
72     - to pozwala dwum lub wiêkszej liczbie aplikacji siê synchronizowac
73 - cyfrowe audio (PCM)
74   - nowe rozszerzone API dla aplikacji
75   - pe³ne realne wsparcie dla trybu duplex
76   - dane cyfrowego d¼wiêku dla odtwarzania i nagrywania powinny byæ
77     odczytywane poprzez system plików /proc
78 - kompatybilno¶æ z OSS/Lite
79   - pe³na kompatybilno¶æ miksera
80   - pe³na kompatybilno¶æ PCM (/dev/dsp)
81
82 %package devel
83 Summary:        Advanced Linux Sound Architecture (ALSA) - header files
84 Summary(pl):    Advanced Linux Sound Architecture (ALSA) - pliki nag³ówkowe
85 Group:          Development/Libraries
86 Group(de):      Entwicklung/Libraries
87 Group(fr):      Development/Librairies
88 Group(pl):      Programowanie/Biblioteki
89 Requires:       %{name} = %{version}
90 Requires:       alsa-driver-devel
91  
92 %description devel
93 Advanced Linux Sound Architecture (ALSA) - header files.
94
95 %description -l pl devel
96 Advanced Linux Sound Architecture (ALSA) - pliki nag³ówkowe.
97
98 %package static
99 Summary:        Advanced Linux Sound Architecture (ALSA) - Static library
100 Summary(pl):    Advanced Linux Sound Architecture (ALSA) - Biblioteka statyczna
101 Group:          Development/Libraries
102 Group(de):      Entwicklung/Libraries
103 Group(fr):      Development/Librairies
104 Group(pl):      Programowanie/Biblioteki
105 Requires:       %{name}-devel = %{version}
106
107 %description static
108 Advanced Linux Sound Architecture (ALSA) - Static library.
109
110 %description -l pl static
111 Advanced Linux Sound Architecture (ALSA) - Biblioteka statyczna.
112
113 %prep
114 %setup -q
115
116 %build
117 %configure
118 %{__make}
119
120 %install
121 rm -rf $RPM_BUILD_ROOT
122
123 %{__make} install DESTDIR=$RPM_BUILD_ROOT
124
125 gzip -9nf ChangeLog
126
127 %post  -p /sbin/ldconfig
128 %preun -p /sbin/ldconfig
129
130 %clean
131 rm -rf $RPM_BUILD_ROOT
132
133 %files
134 %defattr(644,root,root,755)
135 %attr(755,root,root) %{_libdir}/lib*.so.*.*
136
137 %files devel
138 %defattr(644,root,root,755)
139 %doc *.gz
140 %attr(755,root,root) %{_libdir}/lib*.so
141 %attr(755,root,root) %{_libdir}/lib*.la
142 %{_aclocaldir}/alsa.m4
143 %{_includedir}/sys/*.h
144
145 %files static
146 %defattr(644,root,root,755)
147 %{_libdir}/lib*.a
This page took 0.071142 seconds and 3 git commands to generate.