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