]> git.pld-linux.org Git - packages/alsa-lib.git/blob - alsa-lib.spec
- up to 1.0.11rc5
[packages/alsa-lib.git] / alsa-lib.spec
1 #
2 # Conditional build:
3 %bcond_without  static_libs     # don't build static library
4 #
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
11 Name:           alsa-lib
12 Version:        1.0.11
13 %define snap    rc5
14 Release:        0.%{snap}.1
15 License:        LGPL
16 Group:          Libraries
17 Source0:        ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version}%{snap}.tar.bz2
18 # Source0-md5:  b600e1caf9da06f6a8e39b448f4dee38
19 URL:            http://www.alsa-project.org/
20 BuildRequires:  alsa-driver-devel
21 BuildRequires:  autoconf
22 BuildRequires:  automake
23 BuildRequires:  doxygen
24 BuildRequires:  flex
25 BuildRequires:  libstdc++-devel
26 BuildRequires:  libtool
27 BuildRequires:  ncurses-devel
28 BuildConflicts: alsa-lib <= 0.4.0
29 Obsoletes:      alsa-libs
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %description
33 Advanced Linux Sound Architecture (ALSA) - Library
34
35 Features:
36 - general
37         - modularized architecture
38         - support for versioned and exported symbols
39         - full proc filesystem support - /proc/sound
40 - ISA soundcards
41         - support for 128k ISA DMA buffer
42 - mixer
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
46           decibel)
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
50 - digital audio (PCM)
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
55           proc filesystem
56 - OSS/Lite compatibility
57         - full mixer compatibity
58         - full PCM (/dev/dsp) compatibility
59
60 %description -l pl
61 Advanced Linux Sound Architecture (ALSA) - Biblioteka
62
63 Mo¿liwo¶ci:
64 - generalne
65         - zmodularyzowana architektura
66         - pe³ne wsparcie dla systemu plików proc - /proc/sound
67 - karty d¼wiêkowe ISA
68         - obs³uga bufora 128k ISA DMA
69 - mikser
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æ
77 - cyfrowe audio (PCM)
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)
86
87 %description -l pt_BR
88 Bibliotecas para o ALSA. Esse pacote é necessário para rodar programas
89 Linux queusam o driver de som ALSA.
90
91 %description -l ru
92 âÉÂÌÉÏÔÅËÁ API ÄÌÑ ÒÁÂÏÔÙ Ó ÄÒÁÊ×ÅÒÏÍ ALSA.
93
94 %description -l uk
95 â¦Â̦ÏÔÅËÁ API ÄÌÑ ÒÏÂÏÔÉ Ú ÄÒÁÊ×ÅÒÏÍ ALSA.
96
97 %package devel
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
109
110 %description devel
111 Advanced Linux Sound Architecture (ALSA) - header files.
112
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.
117
118 %description devel -l pl
119 Advanced Linux Sound Architecture (ALSA) - pliki nag³ówkowe.
120
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.
125
126 %description devel -l ru
127 âÉÂÌÉÏÔÅËÉ ÒÁÚÒÁÂÏÔÞÉËÁ É ÈÅÄÅÒÁ ÄÌÑ ÂÉÂÌÉÏÔÅËÉ API ÄÌÑ ÒÁÂÏÔÙ Ó
128 ÄÒÁÊ×ÅÒÏÍ ALSA.
129
130 %description devel -l uk
131 â¦Â̦ÏÔÅËÉ ÐÒÏÇÒÁͦÓÔÁ ÔÁ ÈÅÄÅÒÉ ÄÌѠ¦Â̦ÏÔÅËÉ API ÄÌÑ ÒÏÂÏÔÉ Ú
132 ÄÒÁÊ×ÅÒÏÍ ALSA.
133
134 %package static
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}
142
143 %description static
144 Advanced Linux Sound Architecture (ALSA) - static library.
145
146 %description static -l pl
147 Advanced Linux Sound Architecture (ALSA) - biblioteka statyczna.
148
149 %description static -l pt_BR
150 Bibliotecas estáticas para desenvolvimento com a alsa-lib
151
152 %description static -l ru
153 óÔÁÔÉÞÅÓËÁÑ ÂÉÂÌÉÏÔÅËÁ API ÄÌÑ ÒÁÂÏÔÙ Ó ÄÒÁÊ×ÅÒÏÍ ALSA.
154
155 %description static -l uk
156 óÔÁÔÉÞÎÁ Â¦Â̦ÏÔÅËÁ API ÄÌÑ ÒÏÂÏÔÉ Ú ÄÒÁÊ×ÅÒÏÍ ALSA.
157
158 %prep
159 %setup -q -n %{name}-%{version}%{snap}
160
161 %build
162 %{__libtoolize}
163 %{__aclocal}
164 %{__autoconf}
165 %{__automake}
166 %configure \
167         --enable-static \
168         %{!?with_static_libs:--disable-static}
169
170 %{__make}
171 %{__make} doc
172
173 %install
174 rm -rf $RPM_BUILD_ROOT
175
176 %{__make} install \
177         DESTDIR=$RPM_BUILD_ROOT
178
179 install -D utils/alsa.m4 $RPM_BUILD_ROOT%{_aclocaldir}/alsa.m4
180
181 rm -f $RPM_BUILD_ROOT%{_libdir}/alsa-lib/smixer/*.{a,la}
182
183 %clean
184 rm -rf $RPM_BUILD_ROOT
185
186 %post   -p /sbin/ldconfig
187 %postun -p /sbin/ldconfig
188
189 %files
190 %defattr(644,root,root,755)
191 %attr(755,root,root) %{_bindir}/*
192 %attr(755,root,root) %{_libdir}/lib*.so.*.*
193 %dir %{_libdir}/alsa-lib
194 %dir %{_libdir}/alsa-lib/smixer
195 %attr(755,root,root) %{_libdir}/alsa-lib/smixer/smixer-*.so
196 %{_datadir}/alsa
197
198 %files devel
199 %defattr(644,root,root,755)
200 %doc doc/doxygen/html/*
201 %attr(755,root,root) %{_libdir}/lib*.so
202 %{_libdir}/lib*.la
203 %{_aclocaldir}/alsa.m4
204 %{_includedir}/sys/*.h
205 %{_includedir}/alsa
206 %{_pkgconfigdir}/*.pc
207
208 %if %{with static_libs}
209 %files static
210 %defattr(644,root,root,755)
211 %{_libdir}/lib*.a
212 %endif
This page took 0.05689 seconds and 4 git commands to generate.