3 %bcond_without static_libs # don't build static library
5 Summary: Advanced Linux Sound Architecture (ALSA) - Library
6 Summary(es): Advanced Linux Sound Architecture (ALSA) - Biblioteca
7 Summary(pl): Advanced Linux Sound Architecture (ALSA) - Biblioteka
8 Summary(pt_BR): Biblioteca para o ALSA (Advanced Linux Sound Architecture)
9 Summary(ru): âÉÂÌÉÏÔÅËÁ API ÄÌÑ ÒÁÂÏÔÙ Ó ÄÒÁÊ×ÅÒÏÍ ALSA
10 Summary(uk): â¦Â̦ÏÔÅËÁ API ÄÌÑ ÒÏÂÏÔÉ Ú ÄÒÁÊ×ÅÒÏÍ ALSA
16 Source0: ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version}.tar.bz2
17 # Source0-md5: d55a9d7d2a79d738a1b7a511cffda4b6
18 Patch0: %{name}-am110.patch
19 URL: http://www.alsa-project.org/
20 BuildRequires: alsa-driver-devel
21 BuildRequires: autoconf
22 BuildRequires: automake
23 BuildRequires: doxygen
25 BuildRequires: libstdc++-devel
26 BuildRequires: libtool
27 BuildRequires: ncurses-devel
28 BuildConflicts: alsa-lib <= 0.4.0
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 Advanced Linux Sound Architecture (ALSA) - Library
37 - modularized architecture
38 - support for versioned and exported symbols
39 - full proc filesystem support - /proc/sound
41 - support for 128k ISA DMA buffer
43 - new enhanced API for applications
44 - support for unlimited number of channels
45 - volume can be set in three ways (percentual (0-100), exact and
47 - support for mute (and hardware mute if hardware supports it)
48 - support for mixer events
49 - this allows two or more applications to be synchronized
51 - new enhanced API for applications
52 - full real duplex support
53 - full duplex support for SoundBlaster 16/AWE soundcards
54 - digital audio data for playback and record should be read back using
56 - OSS/Lite compatibility
57 - full mixer compatibity
58 - full PCM (/dev/dsp) compatibility
61 Advanced Linux Sound Architecture (ALSA) - Biblioteka
65 - zmodularyzowana architektura
66 - pe³ne wsparcie dla systemu plików proc - /proc/sound
68 - obs³uga bufora 128k ISA DMA
70 - nowe rozszerzone API dla aplikacji
71 - obs³uga nielimitowanej liczby kana³ów
72 - g³o¶no¶æ mo¿e byæ ustawiana na trzy ró¿ne sposoby (procentowo
73 (0-100), liniowo oraz w skali decybelowej)
74 - obs³uga wyciszania (oraz sprzêtowego wyciszania)
75 - obs³uga zdarzeñ miksera
76 - to pozwala dwum lub wiêkszej liczbie aplikacji siê synchronizowaæ
78 - nowe rozszerzone API dla aplikacji
79 - pe³na, prawdziwa obs³uga trybu duplex
80 - pe³na obs³uga trybu duplex dla kart SoundBlaster 16/AWE
81 - dane cyfrowego d¼wiêku dla odtwarzania i nagrywania powinny byæ
82 odczytywane poprzez system plików /proc
83 - kompatybilno¶æ z OSS/Lite
84 - pe³na kompatybilno¶æ miksera
85 - pe³na kompatybilno¶æ PCM (/dev/dsp)
88 Bibliotecas para o ALSA. Esse pacote é necessário para rodar programas
89 Linux queusam o driver de som ALSA.
92 âÉÂÌÉÏÔÅËÁ API ÄÌÑ ÒÁÂÏÔÙ Ó ÄÒÁÊ×ÅÒÏÍ ALSA.
95 â¦Â̦ÏÔÅËÁ API ÄÌÑ ÒÏÂÏÔÉ Ú ÄÒÁÊ×ÅÒÏÍ ALSA.
98 Summary: Advanced Linux Sound Architecture (ALSA) - header files
99 Summary(es): Archivos de desarrollo de ALSA
100 Summary(pl): Advanced Linux Sound Architecture (ALSA) - pliki nag³ówkowe
101 Summary(pt_BR): Arquivos de desenvolvimento do ALSA (Advanced Linux Sound Architecture)
102 Summary(ru): âÉÂÌÉÏÔÅËÁ API ÄÌÑ ÒÁÂÏÔÙ Ó ÄÒÁÊ×ÅÒÏÍ ALSA - ÆÁÊÌÙ ÐÒÏÇÒÁÍÍÉÓÔÁ
103 Summary(uk): â¦Â̦ÏÔÅËÁ API ÄÌÑ ÒÏÂÏÔÉ Ú ÄÒÁÊ×ÅÒÏÍ ALSA - ÆÁÊÌÉ ÐÒÏÇÒÁͦÓÔÁ
104 Group: Development/Libraries
105 Requires: %{name} = %{version}-%{release}
106 Requires: alsa-driver-devel
107 Obsoletes: alsa-devel
108 Obsoletes: alsa-lib-devel-doc
111 Advanced Linux Sound Architecture (ALSA) - header files.
113 %description devel -l es
114 Este paquete contiene los archivos necesarios para compilar programas
115 que usan la biblioteca del sistema ALSA. No es necesario instalarlo si
116 lo que se desea es solamente ejecutar programas.
118 %description devel -l pl
119 Advanced Linux Sound Architecture (ALSA) - pliki nag³ówkowe.
121 %description devel -l pt_BR
122 Esse pacote contém os arquivos necessários para compilar programas que
123 usam a biblioteca do ALSA. Não é necessário instalar esse pacote para
124 apenas rodar programas.
126 %description devel -l ru
127 âÉÂÌÉÏÔÅËÉ ÒÁÚÒÁÂÏÔÞÉËÁ É ÈÅÄÅÒÁ ÄÌÑ ÂÉÂÌÉÏÔÅËÉ API ÄÌÑ ÒÁÂÏÔÙ Ó
130 %description devel -l uk
131 â¦Â̦ÏÔÅËÉ ÐÒÏÇÒÁͦÓÔÁ ÔÁ ÈÅÄÅÒÉ ÄÌÑ Â¦Â̦ÏÔÅËÉ API ÄÌÑ ÒÏÂÏÔÉ Ú
135 Summary: Advanced Linux Sound Architecture (ALSA) - static library
136 Summary(pl): Advanced Linux Sound Architecture (ALSA) - biblioteka statyczna
137 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com a alsa-lib
138 Summary(ru): óÔÁÔÉÞÅÓËÁÑ ÂÉÂÌÉÏÔÅËÁ API ÄÌÑ ÒÁÂÏÔÙ Ó ÄÒÁÊ×ÅÒÏÍ ALSA
139 Summary(uk): óÔÁÔÉÞÎÁ ¦Â̦ÏÔÅËÁ API ÄÌÑ ÒÏÂÏÔÉ Ú ÄÒÁÊ×ÅÒÏÍ ALSA
140 Group: Development/Libraries
141 Requires: %{name}-devel = %{version}-%{release}
144 Advanced Linux Sound Architecture (ALSA) - static library.
146 %description static -l pl
147 Advanced Linux Sound Architecture (ALSA) - biblioteka statyczna.
149 %description static -l pt_BR
150 Bibliotecas estáticas para desenvolvimento com a alsa-lib
152 %description static -l ru
153 óÔÁÔÉÞÅÓËÁÑ ÂÉÂÌÉÏÔÅËÁ API ÄÌÑ ÒÁÂÏÔÙ Ó ÄÒÁÊ×ÅÒÏÍ ALSA.
155 %description static -l uk
156 óÔÁÔÉÞÎÁ ¦Â̦ÏÔÅËÁ API ÄÌÑ ÒÏÂÏÔÉ Ú ÄÒÁÊ×ÅÒÏÍ ALSA.
169 %{!?with_static_libs:--disable-static}
175 rm -rf $RPM_BUILD_ROOT
178 DESTDIR=$RPM_BUILD_ROOT
180 install -D utils/alsa.m4 $RPM_BUILD_ROOT%{_aclocaldir}/alsa.m4
182 rm -f $RPM_BUILD_ROOT%{_libdir}/alsa-lib/smixer/*.{a,la}
185 rm -rf $RPM_BUILD_ROOT
187 %post -p /sbin/ldconfig
188 %postun -p /sbin/ldconfig
191 %defattr(644,root,root,755)
192 %attr(755,root,root) %{_bindir}/*
193 %attr(755,root,root) %{_libdir}/lib*.so.*.*
194 %dir %{_libdir}/alsa-lib
195 %dir %{_libdir}/alsa-lib/smixer
196 %attr(755,root,root) %{_libdir}/alsa-lib/smixer/smixer-*.so
200 %defattr(644,root,root,755)
201 %doc doc/doxygen/html/*
202 %attr(755,root,root) %{_libdir}/lib*.so
204 %{_aclocaldir}/alsa.m4
205 %{_includedir}/sys/*.h
207 %{_pkgconfigdir}/*.pc
209 %if %{with static_libs}
211 %defattr(644,root,root,755)