]> git.pld-linux.org Git - packages/alsaplayer.git/blob - alsaplayer.spec
- NAS support on ppc is temporarly disabled (ac/am need fixes)
[packages/alsaplayer.git] / alsaplayer.spec
1 Summary:        Alsaplayer - MP2/MP3/WAV/CD player
2 Summary(pl):    Alsaplayer - odtwarzacz MP2/MP3/WAV/CD
3 Name:           alsaplayer
4 Version:        0.99.70
5 Release:        3
6 License:        GPL
7 Group:          X11/Applications/Multimedia
8 Source0:        ftp://ftp.alsa-project.org/pub/people/andy/%{name}-%{version}.tar.bz2
9 Patch0:         %{name}-nas.patch
10 Patch1:         %{name}-docs.patch
11 Patch2:         %{name}-c++.patch
12 Patch3:         %{name}-alsa.patch
13 BuildRequires:  alsa-lib-devel
14 BuildRequires:  audiofile-devel
15 BuildRequires:  esound-devel
16 BuildRequires:  gtk+-devel
17 BuildRequires:  libmikmod-devel
18 BuildRequires:  libvorbis-devel
19 BuildRequires:  mad-devel
20 %ifnarch ppc
21 BuildRequires:  nas-devel
22 %endif
23 BuildRequires:  libtool
24 BuildRequires:  automake
25 BuildRequires:  autoconf
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 AlsaPlayer is a new type of PCM player. It is heavily multi-threaded
30 and tries to excercise the ALSA library and driver quite a bit.
31 Features include:
32
33 Input addons:
34  - MP2 and MP3 support
35  - Ogg Vorbis support (subpackage)
36  - WAV support, 8-, 16-bit, mono, stereo, any sample rate
37  - CDDA support, CD Digital Audio playback! and thus USB ready :)
38  - Also plays files mapped by audiofs (CDDA)
39  - MAD MPEG audio
40  - Module support (mikmod) (subpcakage)
41
42 Output addons:
43  - ALSA. Best supported of course :) (subpackage)
44  - OSS. Kernel native sound drivers
45  - Sparc. UltraSparc sound drivers
46  - SGI. SGI audio library driver
47  - ESD. Enlightened sound daemon support (subpackage)
48  - NAS. Network Audio System (subpakcage)
49  - null :-)
50
51 Visual scopes:
52  - Stereoscope
53  - Monoscope
54  - Levelmeter
55  - Spacescope
56  - FFTscope
57  - FFTscope II
58  - More being developed...
59
60 General features:
61  - Full speed (pitch) control, positive *and* negative! (First Linux
62    player that does this!! MP3's and CD's do varispeed :)
63  - Queue (playlist) support
64  - Concurrent visual scopes (open as many as you want)
65  - Multi-threaded design for efficient/skip free playback (RT)
66  - GUI Interface based on gtk+
67  - NOGUI operation for shell script usage
68  - Plug-in core architecture
69  - Low latency mode, as low as 5ms when scheduled RT
70  - Effects stream
71  - Software based volume/pan control
72  - Accurate scope/audio syncing using ALSA features
73  - Portable (well, we'll see about that :)
74  - Open source(tm)
75
76 %description -l pl
77 AlsaPlayer to nowy rodzaj odtwarzacza PCM. Jest wielow±tkowy i próbuje
78 solidnie przeæwiczyæ sterowniki i bibliotekê ALSA. Jego cechy to:
79
80 Wej¶cie:
81  - obs³uga MP2 i MP3
82  - obs³uga Ogg Vorbis (w podpakiecie)
83  - obs³uga WAV, 8 i 16-bitowych, mono, stereo, dowolna czêstotliwo¶æ
84  - obs³uga CD Digital Audio
85  - odtwarzanie plików podmapowanych przez audiofs (CDDA)
86  - obs³uga MAD - MPEG Audio
87  - obs³uga modu³ów (mikmod) (w podpakiecie)
88
89 Wyj¶cie:
90  - OSS - natywne sterowniki z j±dra
91  - ALSA - oczywi¶cie najlepiej obs³ugiwana :) (w podpakiecie)
92  - Sparc - sterowniki d¼wiêku dla UltraSparca
93  - SGI - biblioteka sterowników d¼wiêku SGI
94  - ESD - obs³uga O¶wieconego demona d¼wiêku (w podpakiecie)
95  - NAS - Sieciowego Systemu Audio (w podpakiecie)
96  - null :-)
97
98 Wizualizacja:
99  - Stereoskop
100  - Monoskop
101  - Wska¼nik poziomu d¼wiêku
102  - inne, wkrótce wiêcej...
103
104 Ogólne cechy:
105  - Kontrola szybko¶ci (w obie strony)
106  - obs³uga kolejki (playlisty)
107  - obs³uga wielu wska¼ników naraz
108  - wielow±tkowo¶æ
109  - interfejs graficzny bazuj±cy na gtk+
110  - operacje bez GUI na potrzeby skryptów
111  - architektura wtyczek
112  - programowa kontrola g³o¶no¶ci i balansu
113  - synchronizacja d¼wiêku i wska¼ników przy u¿yciu mo¿liwo¶ci ALSA
114
115 %package input-mikmod
116 Summary:        Alsaplayer plugin for playing mod files
117 Summary(pl):    Wtyczka do alsaplayera do odtwarzania plików mod
118 Group:          X11/Applications/Multimedia
119 Requires:       %{name} = %{version}
120
121 %description input-mikmod
122 Alsaplayer plugin for playing mod files.
123
124 %description input-mikmod -l pl 
125 Wtyczka do alsaplayera do odtwarzania plików mod.
126
127 %package input-vorbis
128 Summary:        Alsaplayer plugin for playing ogg/vorbis files
129 Summary(pl):    Wtyczka do alsaplayera do odtwarzania plików ogg/vorbis
130 Group:          X11/Applications/Multimedia
131 Requires:       %{name} = %{version}
132
133 %description input-vorbis
134 Alsaplayer plugin for playing ogg/vorbis files.
135
136 %description input-vorbis -l pl 
137 Wtyczka do alsaplayera do odtwarzania plików ogg/vorbis.
138
139 %package input-audiofile
140 Summary:        Alsaplayer plugin for playing wave audio formats
141 Summary(pl):    Wtyczka do alsaplayera do odtwarzania plików audio typu wave
142 Group:          X11/Applications/Multimedia
143 Requires:       %{name} = %{version}
144
145 %description input-audiofile
146 Alsaplayer plugin for playing wave audio formats (like AIFF, AIFC,
147 WAVE, ...).
148
149 %description input-audiofile -l pl 
150 Wtyczka do alsaplayera do odtwarzania plików audio typa wave (AIFF,
151 AIFC, WAVE, ...)
152
153 %package output-alsa
154 # this plugin come in two versions, for alsa 0.5.x and 0.9.x
155 # but this libraraies provide different .so number, so the
156 # version built will work only with correct alsa-lib version,
157 # what we do want :-)
158
159 Summary:        Alsaplayer plugin for playing through alsa drivers
160 Summary(pl):    Wtyczka do alsaplayera do odtwarzania przez drivery alsa
161 Group:          X11/Applications/Multimedia
162 Requires:       %{name} = %{version}
163
164 %description output-alsa
165 Alsaplayer plugin for playing sound through alsa drivers.
166
167 %description output-alsa -l pl 
168 Wtyczka do alsaplayera do odtwarzania d¼wiêku przez drivery alsa.
169
170 %package output-esound
171 Summary:        Alsaplayer plugin for playing through esound daemon
172 Summary(pl):    Wtyczka do alsaplayera do odtwarzania przez demona esound
173 Group:          X11/Applications/Multimedia
174 Requires:       %{name} = %{version}
175
176 %description output-esound
177 Alsaplayer plugin for playing sound through esound daemon.
178
179 %description output-esound -l pl 
180 Wtyczka do alsaplayera do odtwarzania d¼wiêku przez demona esound.
181
182 %package output-nas
183 Summary:        Alsaplayer plugin for playing through NAS daemon
184 Summary(pl):    Wtyczka do alsaplayera do odtwarzania przez demona NAS
185 Group:          X11/Applications/Multimedia
186 Requires:       %{name} = %{version}
187
188 %description output-nas
189 Alsaplayer plugin for playing sound through NAS (network audio
190 system) daemon.
191
192 %description output-nas -l pl 
193 Wtyczka do alsaplayera do odtwarzania d¼wiêku przez demona NAS
194 (network audio system).
195
196 %define         _pkglibdir      %{_libdir}/%{name}
197 %define         _prefix         /usr/X11R6
198 %define         _mandir         %{_prefix}/man
199
200 %prep
201 %setup -q
202 %patch0 -p1
203 %patch1 -p1
204 %patch2 -p1
205 %patch3 -p1
206
207 %build
208 %{__libtoolize}
209 aclocal
210 %{__autoconf}
211 %{__automake}
212 %configure \
213         --enable-alsa \
214         --enable-audiofile \
215         --enable-esd \
216         --enable-gtk \
217         --enable-mikmod \
218         --enable-nas \
219         --enable-oggvorbis \
220         --enable-opengl \
221         --enable-oss \
222 %ifarch sparc   
223         --enable-sparc
224 %endif
225
226 %{__make}
227
228 %install
229 rm -rf $RPM_BUILD_ROOT
230
231 %{__make} install \
232         DESTDIR=$RPM_BUILD_ROOT
233
234 %clean
235 rm -rf $RPM_BUILD_ROOT
236
237 %files
238 %defattr(644,root,root,755)
239 %doc AUTHORS README ChangeLog
240 %attr(755,root,root) %{_bindir}/alsaplayer
241 %dir %{_pkglibdir}
242 %dir %{_pkglibdir}/input
243 %attr(755,root,root) %{_pkglibdir}/input/libcdda.so
244 %{_pkglibdir}/input/libcdda.la
245 %attr(755,root,root) %{_pkglibdir}/input/libwav.so
246 %{_pkglibdir}/input/libwav.la
247 %attr(755,root,root) %{_pkglibdir}/input/libmad_in.so
248 %{_pkglibdir}/input/libmad_in.la
249 %dir %{_pkglibdir}/output
250 %attr(755,root,root) %{_pkglibdir}/output/liboss_out.so
251 %{_pkglibdir}/output/liboss_out.la
252 %attr(755,root,root) %{_pkglibdir}/output/libnull_out.so
253 %{_pkglibdir}/output/libnull_out.la
254 %ifarch sparc
255 %attr(755,root,root) %{_pkglibdir}/output/libsparc_out.so
256 %{_pkglibdir}/output/libsparc_out.la
257 %endif
258 %attr(755,root,root) %{_pkglibdir}/interface/lib*.so
259 %{_pkglibdir}/interface/lib*.la
260 %attr(755,root,root) %{_pkglibdir}/scopes/lib*.so
261 %{_pkglibdir}/scopes/lib*.la
262 %{_mandir}/man*/*
263
264 %files input-mikmod
265 %defattr(644,root,root,755)
266 %attr(755,root,root) %{_pkglibdir}/input/libmod.so
267 %{_pkglibdir}/input/libmod.la
268
269 %files input-vorbis
270 %defattr(644,root,root,755)
271 %attr(755,root,root) %{_pkglibdir}/input/libvorbis_in.so
272 %{_pkglibdir}/input/libvorbis_in.la
273
274 %files input-audiofile
275 %defattr(644,root,root,755)
276 %attr(755,root,root) %{_pkglibdir}/input/libaf.so
277 %{_pkglibdir}/input/libaf.la
278
279 %files output-alsa
280 %defattr(644,root,root,755)
281 %attr(755,root,root) %{_pkglibdir}/output/libalsa_out.so
282 %{_pkglibdir}/output/libalsa_out.la
283
284 %files output-esound
285 %defattr(644,root,root,755)
286 %attr(755,root,root) %{_pkglibdir}/output/libesound_out.so
287 %{_pkglibdir}/output/libesound_out.la
288
289 %ifnarch ppc
290 %files output-nas
291 %defattr(644,root,root,755)
292 %attr(755,root,root) %{_pkglibdir}/output/libnas_out.so
293 %{_pkglibdir}/output/libnas_out.la
294 %endif
This page took 0.072688 seconds and 4 git commands to generate.