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: b1a4e15c9ff81798507de470a92fcc43
18 URL: http://www.alsa-project.org/
19 BuildRequires: alsa-driver-devel
20 BuildRequires: autoconf
21 BuildRequires: automake
22 BuildRequires: doxygen
24 BuildRequires: libstdc++-devel
25 BuildRequires: libtool
26 BuildRequires: ncurses-devel
27 BuildConflicts: alsa-lib <= 0.4.0
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 Advanced Linux Sound Architecture (ALSA) - Library
36 - modularized architecture
37 - support for versioned and exported symbols
38 - full proc filesystem support - /proc/sound
40 - support for 128k ISA DMA buffer
42 - new enhanced API for applications
43 - support for unlimited number of channels
44 - volume can be set in three ways (percentual (0-100), exact and
46 - support for mute (and hardware mute if hardware supports it)
47 - support for mixer events
48 - this allows two or more applications to be synchronized
50 - new enhanced API for applications
51 - full real duplex support
52 - full duplex support for SoundBlaster 16/AWE soundcards
53 - digital audio data for playback and record should be read back using
55 - OSS/Lite compatibility
56 - full mixer compatibity
57 - full PCM (/dev/dsp) compatibility
60 Advanced Linux Sound Architecture (ALSA) - Biblioteka
64 - zmodularyzowana architektura
65 - pe³ne wsparcie dla systemu plików proc - /proc/sound
67 - obs³uga bufora 128k ISA DMA
69 - nowe rozszerzone API dla aplikacji
70 - obs³uga nielimitowanej liczby kana³ów
71 - g³o¶no¶æ mo¿e byæ ustawiana na trzy ró¿ne sposoby (procentowo
72 (0-100), liniowo oraz w skali decybelowej)
73 - obs³uga wyciszania (oraz sprzêtowego wyciszania)
74 - obs³uga zdarzeñ miksera
75 - to pozwala dwum lub wiêkszej liczbie aplikacji siê synchronizowaæ
77 - nowe rozszerzone API dla aplikacji
78 - pe³na, prawdziwa obs³uga trybu duplex
79 - pe³na obs³uga trybu duplex dla kart SoundBlaster 16/AWE
80 - dane cyfrowego d¼wiêku dla odtwarzania i nagrywania powinny byæ
81 odczytywane poprzez system plików /proc
82 - kompatybilno¶æ z OSS/Lite
83 - pe³na kompatybilno¶æ miksera
84 - pe³na kompatybilno¶æ PCM (/dev/dsp)
87 Bibliotecas para o ALSA. Esse pacote é necessário para rodar programas
88 Linux queusam o driver de som ALSA.
91 âÉÂÌÉÏÔÅËÁ API ÄÌÑ ÒÁÂÏÔÙ Ó ÄÒÁÊ×ÅÒÏÍ ALSA.
94 â¦Â̦ÏÔÅËÁ API ÄÌÑ ÒÏÂÏÔÉ Ú ÄÒÁÊ×ÅÒÏÍ ALSA.
97 Summary: Advanced Linux Sound Architecture (ALSA) - header files
98 Summary(es): Archivos de desarrollo de ALSA
99 Summary(pl): Advanced Linux Sound Architecture (ALSA) - pliki nag³ówkowe
100 Summary(pt_BR): Arquivos de desenvolvimento do ALSA (Advanced Linux Sound Architecture)
101 Summary(ru): âÉÂÌÉÏÔÅËÁ API ÄÌÑ ÒÁÂÏÔÙ Ó ÄÒÁÊ×ÅÒÏÍ ALSA - ÆÁÊÌÙ ÐÒÏÇÒÁÍÍÉÓÔÁ
102 Summary(uk): â¦Â̦ÏÔÅËÁ API ÄÌÑ ÒÏÂÏÔÉ Ú ÄÒÁÊ×ÅÒÏÍ ALSA - ÆÁÊÌÉ ÐÒÏÇÒÁͦÓÔÁ
103 Group: Development/Libraries
104 Requires: %{name} = %{version}-%{release}
105 Requires: alsa-driver-devel
106 Obsoletes: alsa-devel
107 Obsoletes: alsa-lib-devel-doc
110 Advanced Linux Sound Architecture (ALSA) - header files.
112 %description devel -l es
113 Este paquete contiene los archivos necesarios para compilar programas
114 que usan la biblioteca del sistema ALSA. No es necesario instalarlo si
115 lo que se desea es solamente ejecutar programas.
117 %description devel -l pl
118 Advanced Linux Sound Architecture (ALSA) - pliki nag³ówkowe.
120 %description devel -l pt_BR
121 Esse pacote contém os arquivos necessários para compilar programas que
122 usam a biblioteca do ALSA. Não é necessário instalar esse pacote para
123 apenas rodar programas.
125 %description devel -l ru
126 âÉÂÌÉÏÔÅËÉ ÒÁÚÒÁÂÏÔÞÉËÁ É ÈÅÄÅÒÁ ÄÌÑ ÂÉÂÌÉÏÔÅËÉ API ÄÌÑ ÒÁÂÏÔÙ Ó
129 %description devel -l uk
130 â¦Â̦ÏÔÅËÉ ÐÒÏÇÒÁͦÓÔÁ ÔÁ ÈÅÄÅÒÉ ÄÌÑ Â¦Â̦ÏÔÅËÉ API ÄÌÑ ÒÏÂÏÔÉ Ú
134 Summary: Advanced Linux Sound Architecture (ALSA) - static library
135 Summary(pl): Advanced Linux Sound Architecture (ALSA) - biblioteka statyczna
136 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com a alsa-lib
137 Summary(ru): óÔÁÔÉÞÅÓËÁÑ ÂÉÂÌÉÏÔÅËÁ API ÄÌÑ ÒÁÂÏÔÙ Ó ÄÒÁÊ×ÅÒÏÍ ALSA
138 Summary(uk): óÔÁÔÉÞÎÁ ¦Â̦ÏÔÅËÁ API ÄÌÑ ÒÏÂÏÔÉ Ú ÄÒÁÊ×ÅÒÏÍ ALSA
139 Group: Development/Libraries
140 Requires: %{name}-devel = %{version}-%{release}
143 Advanced Linux Sound Architecture (ALSA) - static library.
145 %description static -l pl
146 Advanced Linux Sound Architecture (ALSA) - biblioteka statyczna.
148 %description static -l pt_BR
149 Bibliotecas estáticas para desenvolvimento com a alsa-lib
151 %description static -l ru
152 óÔÁÔÉÞÅÓËÁÑ ÂÉÂÌÉÏÔÅËÁ API ÄÌÑ ÒÁÂÏÔÙ Ó ÄÒÁÊ×ÅÒÏÍ ALSA.
154 %description static -l uk
155 óÔÁÔÉÞÎÁ ¦Â̦ÏÔÅËÁ API ÄÌÑ ÒÏÂÏÔÉ Ú ÄÒÁÊ×ÅÒÏÍ ALSA.
167 %{!?with_static_libs:--disable-static}
173 rm -rf $RPM_BUILD_ROOT
176 DESTDIR=$RPM_BUILD_ROOT
178 install -D utils/alsa.m4 $RPM_BUILD_ROOT%{_aclocaldir}/alsa.m4
180 rm -f $RPM_BUILD_ROOT%{_libdir}/alsa-lib/smixer/*.{a,la}
183 rm -rf $RPM_BUILD_ROOT
185 %post -p /sbin/ldconfig
186 %postun -p /sbin/ldconfig
189 %defattr(644,root,root,755)
190 %attr(755,root,root) %{_bindir}/*
191 %attr(755,root,root) %{_libdir}/lib*.so.*.*
192 %dir %{_libdir}/alsa-lib
193 %dir %{_libdir}/alsa-lib/smixer
194 %attr(755,root,root) %{_libdir}/alsa-lib/smixer/smixer-*.so
198 %defattr(644,root,root,755)
199 %doc doc/doxygen/html/*
200 %attr(755,root,root) %{_libdir}/lib*.so
202 %{_aclocaldir}/alsa.m4
203 %{_includedir}/sys/*.h
205 %{_pkgconfigdir}/*.pc
207 %if %{with static_libs}
209 %defattr(644,root,root,755)