]> git.pld-linux.org Git - packages/alsa-lib.git/blob - alsa-lib.spec
- removed default _sysconfdir definition, other cosmetics
[packages/alsa-lib.git] / alsa-lib.spec
1 Summary:        Advanced Linux Sound Architecture (ALSA) - Library
2 Summary(es):    Biblioteca para ALSA (Advanced Linux Sound Architecture)
3 Summary(pl):    Advanced Linux Sound Architecture (ALSA) - Biblioteka
4 Summary(pt_BR): Biblioteca para o ALSA (Advanced Linux Sound Architecture)
5 Summary(ru):    âÉÂÌÉÏÔÅËÁ API ÄÌÑ ÒÁÂÏÔÙ Ó ÄÒÁÊ×ÅÒÏÍ ALSA
6 Summary(uk):    â¦Â̦ÏÔÅËÁ API ÄÌÑ ÒÏÂÏÔÉ Ú ÄÒÁÊ×ÅÒÏÍ ALSA
7 Name:           alsa-lib
8 Version:        0.9.6
9 Release:        1
10 License:        LGPL
11 Group:          Libraries
12 Source0:        ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version}.tar.bz2
13 # Source0-md5:  ddcaf22dcd10cee131635d1cf7fe43b9
14 URL:            http://www.alsa-project.org/
15 BuildRequires:  alsa-driver-devel
16 BuildRequires:  doxygen
17 BuildRequires:  flex
18 BuildRequires:  libstdc++-devel
19 BuildRequires:  libtool
20 BuildRequires:  ncurses-devel
21 BuildConflicts: alsa-lib <= 0.4.0
22 Obsoletes:      alsa-libs
23 ExcludeArch:    sparc
24 ExcludeArch:    sparc64
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %define         _sysconfdir     /etc
28
29 %description
30 Advanced Linux Sound Architecture (ALSA) - Library
31
32 Features:
33 - general
34   - modularized architecture with support for 2.2
35   - support for versioned and exported symbols
36   - full proc filesystem support - /proc/sound
37 - ISA soundcards
38   - support for 128k ISA DMA buffer
39 - mixer
40   - new enhanced API for applications
41   - support for unlimited number of channels
42   - volume can be set in three ways (percentual (0-100), exact and
43     decibel)
44   - support for mute (and hardware mute if hardware supports it)
45   - support for mixer events
46     - this allows two or more applications to be synchronized
47 - digital audio (PCM)
48   - new enhanced API for applications
49   - full real duplex support
50   - full duplex support for SoundBlaster 16/AWE soundcards
51   - digital audio data for playback and record should be read back using
52     proc filesystem
53 - OSS/Lite compatibility
54   - full mixer compatibity
55   - full PCM (/dev/dsp) compatibility
56
57 %description -l es
58 Bibliotecas para el sistema de sonido ALSA. Este paquete se necesita
59 para ejecutar programas Linux que usan el programa de control de
60 sonido ALSA.
61
62 %description -l pl
63 Advanced Linux Sound Architecture (ALSA) - Biblioteka
64
65 Mo¿liwo¶ci:
66 - generalne
67   - zmodularyzowana architektura ze wsparciem dla j±der 2.2
68   - pe³ne wsparcie dla systemu plików proc - /proc/sound
69 - karty d¼wiêkowe ISA
70   - obs³uga bufora 128k ISA DMA
71 - mikser
72   - nowe rozszerzone API dla aplikacji
73   - obs³uga nielimitowanej liczby kana³ów
74   - g³o¶no¶æ mo¿e byæ ustawiana na trzy ró¿ne sposoby (procentowo
75     (0-100), liniowo oraz w skali decybelowej)
76   - obs³uga wyciszania (oraz sprzêtowego wyciszania)
77   - obs³uga zdarzeñ miksera
78     - to pozwala dwum lub wiêkszej liczbie aplikacji siê synchronizowaæ
79 - cyfrowe audio (PCM)
80   - nowe rozszerzone API dla aplikacji
81   - pe³na, prawdziwa obs³uga trybu duplex
82   - pe³na obs³uga trybu duplex dla kart SoundBlaster 16/AWE
83   - dane cyfrowego d¼wiêku dla odtwarzania i nagrywania powinny byæ
84     odczytywane poprzez system plików /proc
85 - kompatybilno¶æ z OSS/Lite
86   - pe³na kompatybilno¶æ miksera
87   - pe³na kompatybilno¶æ PCM (/dev/dsp)
88
89 %description -l pt_BR
90 Bibliotecas para o ALSA. Esse pacote é necessário para rodar programas
91 Linux queusam o driver de som ALSA.
92
93 %description -l ru
94 âÉÂÌÉÏÔÅËÁ API ÄÌÑ ÒÁÂÏÔÙ Ó ÄÒÁÊ×ÅÒÏÍ ALSA.
95
96 %description -l uk
97 â¦Â̦ÏÔÅËÁ API ÄÌÑ ÒÏÂÏÔÉ Ú ÄÒÁÊ×ÅÒÏÍ ALSA.
98
99 %package devel
100 Summary:        Advanced Linux Sound Architecture (ALSA) - header files
101 Summary(es):    Archivos de desarrollo de ALSA (Advanced Linux Sound Architecture)
102 Summary(pl):    Advanced Linux Sound Architecture (ALSA) - pliki nag³ówkowe
103 Summary(pt_BR): Arquivos de desenvolvimento do ALSA (Advanced Linux Sound Architecture)
104 Summary(ru):    âÉÂÌÉÏÔÅËÁ API ÄÌÑ ÒÁÂÏÔÙ Ó ÄÒÁÊ×ÅÒÏÍ ALSA - ÆÁÊÌÙ ÐÒÏÇÒÁÍÍÉÓÔÁ
105 Summary(uk):    â¦Â̦ÏÔÅËÁ API ÄÌÑ ÒÏÂÏÔÉ Ú ÄÒÁÊ×ÅÒÏÍ ALSA - ÆÁÊÌÉ ÐÒÏÇÒÁͦÓÔÁ
106 Group:          Development/Libraries
107 Requires:       %{name} = %{version}
108 Requires:       alsa-driver-devel
109 Obsoletes:      alsa-devel
110 Obsoletes:      alsa-lib-devel-doc
111
112 %description devel
113 Advanced Linux Sound Architecture (ALSA) - header files.
114
115 %description devel -l es
116 Este paquete contiene los archivos necesarios para compilar programas
117 que usan la biblioteca del sistema ALSA. No es necesario instalarlo si
118 lo que se desea es solamente ejecutar programas.
119
120 %description devel -l pl
121 Advanced Linux Sound Architecture (ALSA) - pliki nag³ówkowe.
122
123 %description devel -l pt_BR
124 Esse pacote contém os arquivos necessários para compilar programas que
125 usam a biblioteca do ALSA. Não é necessário instalar esse pacote para
126 apenas rodar programas.
127
128 %description devel -l ru
129 âÉÂÌÉÏÔÅËÉ ÒÁÚÒÁÂÏÔÞÉËÁ É ÈÅÄÅÒÁ ÄÌÑ ÂÉÂÌÉÏÔÅËÉ API ÄÌÑ ÒÁÂÏÔÙ Ó
130 ÄÒÁÊ×ÅÒÏÍ ALSA.
131
132 %description devel -l uk
133 â¦Â̦ÏÔÅËÉ ÐÒÏÇÒÁͦÓÔÁ ÔÁ ÈÅÄÅÒÉ ÄÌѠ¦Â̦ÏÔÅËÉ API ÄÌÑ ÒÏÂÏÔÉ Ú
134 ÄÒÁÊ×ÅÒÏÍ ALSA.
135
136 %package static
137 Summary:        Advanced Linux Sound Architecture (ALSA) - static library
138 Summary(pl):    Advanced Linux Sound Architecture (ALSA) - biblioteka statyczna
139 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com a alsa-lib
140 Summary(ru):    óÔÁÔÉÞÅÓËÁÑ ÂÉÂÌÉÏÔÅËÁ API ÄÌÑ ÒÁÂÏÔÙ Ó ÄÒÁÊ×ÅÒÏÍ ALSA
141 Summary(uk):    óÔÁÔÉÞÎÁ Â¦Â̦ÏÔÅËÁ API ÄÌÑ ÒÏÂÏÔÉ Ú ÄÒÁÊ×ÅÒÏÍ ALSA
142 Group:          Development/Libraries
143 Requires:       %{name}-devel = %{version}
144
145 %description static
146 Advanced Linux Sound Architecture (ALSA) - static library.
147
148 %description static -l pl
149 Advanced Linux Sound Architecture (ALSA) - biblioteka statyczna.
150
151 %description static -l pt_BR
152 Bibliotecas estáticas para desenvolvimento com a alsa-lib
153
154 %description static -l ru
155 óÔÁÔÉÞÅÓËÁÑ ÂÉÂÌÉÏÔÅËÁ API ÄÌÑ ÒÁÂÏÔÙ Ó ÄÒÁÊ×ÅÒÏÍ ALSA.
156
157 %description static -l uk
158 óÔÁÔÉÞÎÁ Â¦Â̦ÏÔÅËÁ API ÄÌÑ ÒÏÂÏÔÉ Ú ÄÒÁÊ×ÅÒÏÍ ALSA.
159
160 %prep
161 %setup -q
162
163 %build
164 %{__libtoolize}
165 %{__aclocal}
166 %{__autoconf}
167 %{__automake}
168 %configure \
169         --enable-static
170
171 %{__make}
172 %{__make} doc
173
174 %install
175 rm -rf $RPM_BUILD_ROOT
176
177 %{__make} install \
178         DESTDIR=$RPM_BUILD_ROOT
179
180 install -D utils/alsa.m4 $RPM_BUILD_ROOT%{_aclocaldir}/alsa.m4
181
182 %clean
183 rm -rf $RPM_BUILD_ROOT
184
185 %post   -p /sbin/ldconfig
186 %postun -p /sbin/ldconfig
187
188 %files
189 %defattr(644,root,root,755)
190 %attr(755,root,root) %{_bindir}/*
191 %attr(755,root,root) %{_libdir}/lib*.so.*.*
192 %{_datadir}/alsa
193
194 %files devel
195 %defattr(644,root,root,755)
196 %doc doc/doxygen/html/*
197 %attr(755,root,root) %{_libdir}/lib*.so
198 %{_libdir}/lib*.la
199 %{_aclocaldir}/alsa.m4
200 %{_includedir}/sys/*.h
201 %{_includedir}/alsa
202 %{_pkgconfigdir}/*.pc
203
204 %files static
205 %defattr(644,root,root,755)
206 %{_libdir}/lib*.a
This page took 0.064236 seconds and 4 git commands to generate.