- Added gstreamer-register to all plugins
[platform/upstream/gstreamer.git] / gstreamer.spec.in
1 %define name    gstreamer
2 %define ver     @VERSION@
3 %define rel     2
4 %define prefix  /usr
5
6 Summary: GStreamer Streaming-media framework runtime
7 Name: %name
8 Version: %ver
9 Release: %rel
10 Copyright: LGPL
11 Group: Libraries/Multimedia
12 Source: %{name}-%{ver}.tar.gz
13 BuildRoot: /var/tmp/%{name}-%{ver}-root
14 Docdir: %{prefix}/doc
15 Prefix: %prefix
16 Requires: libxml >= 1.8.0
17 Requires: gnome-libs >= 1.2.0
18
19 %description
20 GStreamer is a streaming-media framework, based on graphs of filters which
21 operate on media data. Applications using this library can do anything
22 from real-time sound processing to playing videos, and just about anything
23 else media-related.  Its plugin-based architecture means that new data
24 types or processing capabilities can be added simply by installing new 
25 plugins.
26
27 %package devel
28 Summary: Libraries and include files for GStreamer streaming-media framework
29 Group: Development/Libraries
30 Requires: %{name} = %{ver}
31
32 %description devel
33 GStreamer is a streaming-media framework, based on graphs of filters which
34 operate on media data. Applications using this library can do anything
35 from real-time sound processing to playing videos, and just about anything
36 else media-related.  Its plugin-based architecture means that new data
37 types or processing capabilities can be added simply by installing new   
38 plugins.
39
40 This package contains the libraries and includes files necessary to develop
41 applications and plugins for GStreamer.
42
43 %package -n gstreamer-visualisation
44 Summary: Gstreamer visualisations plugins
45 Group: Libraries/Multimedia
46 Requires: %{name} = %{ver}
47
48 %description -n gstreamer-visualisation
49 Various plugins for visual effects to use with audio. Included are Smoothwave, Spectrum and vumeter
50
51 %package -n gstreamer-esd
52 Summary: Gstreamer plugin for ESD sound output
53 Group: Libraries/Multimedia
54 Requires: esound >= 0.2.8
55 Requires: %{name} = %{ver}
56
57 %description -n gstreamer-esd
58 Output plugin for GStreamer for use with the esound package
59
60 %package -n gstreamer-gsm
61 Summary: Gstreamer plugin for GSM lossy audio format
62 Group: Libraries/Multimedia
63 Requires: gsm >= 1.0.10
64 Requires: %{name} = %{ver}
65
66 %description -n gstreamer-gsm
67 Output plugin for GStreamer to convert to GSM lossy audio format.
68
69 %package -n gstreamer-cdparanoia
70 Summary: Gstreamer plugin for CD audio input using CDParanoia IV
71 Group: Libraries/Multimedia
72 Requires: cdparanoia >= alpha9.7
73 Requires: %{name} = %{ver}
74
75 %description -n gstreamer-cdparanoia
76 Plugin for ripping audio tracks using cdparania under GStreamer
77
78 %package -n gstreamer-aalib
79 Summary: Gstreamer plugin for Ascii-art output
80 Group: Libraries/Multimedia
81 Requires: aalib >= 1.3
82 Requires: %{name} = %{ver}
83
84 %description -n gstreamer-aalib
85 Plugin for viewing movies in Ascii-art using aalib library.
86
87 %package -n gstreamer-gnomevfs
88 Summary: Gstreamer plugins for GNOME VFS input and output
89 Group: Libraries/Multimedia
90 Requires: gnome-vfs > 1.0
91 Requires: %{name} = %{ver}
92
93 %description -n gstreamer-gnomevfs
94 Plugins for reading and writing through GNOME VFS.
95
96 %package -n gstreamer-flx
97 Summary: Gstreamer plugin for FLI/FLX animation format
98 Group: Libraries/Multimedia
99 Requires: %{name} = %{ver}
100
101 %description -n gstreamer-flx
102 Plugin for playing FLI/FLX animations under GStreamer
103
104 %package -n gstreamer-avi
105 Summary: Gstreamer plugin for AVI format movie playback
106 Group: Libraries/Multimedia
107 Requires: %{name} = %{ver}
108
109 %description -n gstreamer-avi
110 Plugins for playback of AVI format media files.
111
112 %package -n gstreamer-vorbis
113 Summary: Gstreamer plugin for encoding and decoding Ogg Vorbis audio files
114 Group: Libraries/Multimedia
115 Requires: libogg >= 1.0beta4
116 Requires: libvorbis >= 1.0beta4
117 Requires: %{name} = %{ver}
118
119 %description -n gstreamer-vorbis
120 Plugins for creating end playing Ogg Vorbis audio files.
121
122 %package -n gstreamer-sdl
123 Summary: Gstreamer plugin for outputing to SDL
124 Group: Libraries/Multimedia
125 Requires: SDL >= 1.1.7
126 Requires: %{name} = %{ver}
127
128 %description -n gstreamer-sdl
129 Plugin for sending output to the Simple Direct Media architecture.
130 (http://www.libsdl.org). Usefull for fullscreen playback.
131
132 %package -n gstreamer-oss
133 Summary: Gstreamer plugins for input and output using OSS
134 Group: Libraries/Multimedia
135 Requires: %{name} = %{ver}
136
137 %description -n gstreamer-oss
138 Plugins for output and input to the OpenSoundSytem audio
139 drivers found in the Linux kernels or comercially available 
140 from OpenSound.
141
142 %package -n gstreamer-ac3dec
143 Summary: Gstreamer plugin for VOB playback
144 Group: Libraries/Multimedia
145 Requires: ac3dec >= 0.6.2
146 Requires: %{name} = %{ver}
147
148 %description -n gstreamer-ac3dec
149 Plugin for the free AC-3 stream decoder from Linuxvideo.
150 (http://linuxvideo.org/ac3dec/)
151
152 %package -n gstreamer-afs
153 Summary: Gstreamer plugin audiofile support
154 Group: Libraries/Multimedia
155 Requires: %{name} = %{ver}
156 Requires: audiofile >= 0.2.1
157
158 %description -n gstreamer-afs
159 Plugin for supporting reading and writing all files audiofile support
160
161 %package -n gstreamer-ladspa
162 Summary: Gstreamer wrapper for LADSPA plugins
163 Group: Libraries/Multimedia
164 Requires: %{name} = %{ver}
165
166 %description -n gstreamer-ladspa
167 Plugin which wraps LADSPA plugins for use by GStreamer applications.
168
169 %package -n gstreamer-mad
170 Summary: Gstreamer MAD mp3 decoder library
171 Group: Libraries/Multimedia
172 Requires: %{name} = %{ver}
173 Requires: mad >= 0.13.0
174
175 %description -n gstreamer-mad
176 Plugin for playback of mp3 songs using the very good MAD library
177
178 %package -n gstreamer-v4l
179 Summary: Gstreamer video for linux input plugin
180 Group: Libraries/Multimedia
181 Requires: %{name} = %{ver}
182
183 %description -n gstreamer-v4l
184 Plugin for inputing video for Linux streams.
185
186 %package -n gstreamer-synaesthesia
187 Summary: GStreamer Synaesthesia effect plugin
188 Group: Libraries/Multimedia
189 Requires: %{name} = %{ver}
190
191 %description -n gstreamer-synaesthesia
192 Plugin for the very nice synaesthesia visual effect.
193
194 %package -n gstreamer-vcd
195 Summary: GStreamer Video CD plugin 
196 Group: Libraries/Multimedia
197 Requires: %{name} = %{ver}
198
199 %description -n gstreamer-vcd
200 Video CD playback plugin
201
202 # %package -n gstreamer-alsa
203 # Summary: GStreamer plugins for the ALSA sound architecture
204 # Group: Libraries/Multimedia
205
206 # %description -n gstreamer-alsa
207 # Input and output plugin for the ALSA soundcard driver architecture.
208
209 %package -n gstreamer-au
210 Summary: GStreamer au audiofile plugin
211 Group: Libraries/Multimedia
212 Requires: %{name} = %{ver}
213
214 %description -n gstreamer-au
215 Plugin for playback of the SUN au audio format.
216
217
218
219 %changelog
220 * Sat Jun 09 2001 Christian Schaller <Uraeus@linuxrising.org>
221 - Continue regrouping files with
222 - Visualisation plugins bundled out togheter
223
224 * Sat Jun 02 2001 Christian Schaller <Uraeus@linuxrising.org>
225 - Split the package into separate RPMS, plutting most plugins out by themselves.
226
227 * Fri Jun 01 2001 Christian Schaller <Uraeus@linuxrising.org>
228 - Updated with change suggestions from Dennis Bjorklund
229 * Tue Jan 09 2001 Erik Walthinsen <omega@cse.ogi.edu>
230 - updated to build -devel package as well
231
232 * Sun Jan 30 2000 Erik Walthinsen <omega@cse.ogi.edu>
233 - first draft of spec file
234
235 %prep
236 %setup
237
238 %build
239 FLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%{prefix}
240 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix}
241
242 if [ "$SMP" != "" ]; then
243   (make "MAKE=make -k -j $SMP"; exit 0)
244   make
245 else
246   make
247 fi
248
249 %install  
250 [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
251
252 make prefix=$RPM_BUILD_ROOT%{prefix} install
253
254 %clean
255 [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
256
257 %post
258 /sbin/ldconfig
259 %{prefix}/bin/gstreamer-register
260
261 %post -n gstreamer-esd
262 %{prefix}/bin/gstreamer-register
263
264 %post -n gstreamer-visualisation
265 %{prefix}/bin/gstreamer-register
266
267 %post -n gstreamer-gsm
268 %{prefix}/bin/gstreamer-register
269
270 %post -n gstreamer-cdparanoia
271 %{prefix}/bin/gstreamer-register
272
273 %post -n gstreamer-aalib
274 %{prefix}/bin/gstreamer-register
275
276 %post -n gstreamer-gnomevfs
277 %{prefix}/bin/gstreamer-register
278
279 %post -n gstreamer-flx
280 %{prefix}/bin/gstreamer-register
281
282 %post -n gstreamer-avi
283 %{prefix}/bin/gstreamer-register
284
285 %post -n gstreamer-vorbis
286 %{prefix}/bin/gstreamer-register
287
288 %post -n gstreamer-sdl
289 %{prefix}/bin/gstreamer-register
290
291 %post -n gstreamer-oss
292 %{prefix}/bin/gstreamer-register
293
294 %post -n  gstreamer-ac3dec
295 %{prefix}/bin/gstreamer-register
296
297 %post -n  gstreamer-afs
298 %{prefix}/bin/gstreamer-register
299
300 %post -n gstreamer-ladspa
301 %{prefix}/bin/gstreamer-register
302
303 %post -n gstreamer-mad
304 %{prefix}/bin/gstreamer-register
305
306 %post -n gstreamer-au
307 %{prefix}/bin/gstreamer-register
308
309 %post -n gstreamer-v4l
310 %{prefix}/bin/gstreamer-register
311
312 %post -n gstreamer-vcd
313 %{prefix}/bin/gstreamer-register
314
315 # %post -n gstreamer-alsa
316 # %{prefix}/bin/gstreamer-register
317
318 %postun
319 /sbin/ldconfig
320   
321 %files
322 %defattr(-, root, root)
323 %doc AUTHORS COPYING README
324 %{prefix}/bin/gsteditor
325 %{prefix}/bin/gstmediaplay
326 %{prefix}/bin/gstreamer-complete
327 %{prefix}/bin/gstreamer-compprep
328 %{prefix}/bin/gstreamer-inspect
329 %{prefix}/bin/gstreamer-launch
330 %{prefix}/bin/gstreamer-register
331 %{prefix}/lib/lib*.so*
332 %{prefix}/lib/gst/libadder*
333 %{prefix}/lib/gst/libalaw*
334 %{prefix}/lib/gst/libaudioscale*
335 %{prefix}/lib/gst/libcutter*
336 %{prefix}/lib/gst/libgstaudio*
337 %{prefix}/lib/gst/libcolorspace*
338 %{prefix}/lib/gst/libgstcolorspace*
339 %{prefix}/lib/gst/libgstautoplug*
340 %{prefix}/lib/gst/libgstelements*
341 %{prefix}/lib/gst/libgstgetbits*
342 %{prefix}/lib/gst/libgstidct*
343 %{prefix}/lib/gst/libgstriff*
344 %{prefix}/lib/gst/libgstjpeg*
345 %{prefix}/lib/gst/libintfloatconvert*
346 %{prefix}/lib/gst/liblevel*
347 %{prefix}/lib/gst/libmedian*
348 %{prefix}/lib/gst/libmono2stereo*
349 %{prefix}/lib/gst/libmulaw*
350 %{prefix}/lib/gst/libpassthrough*
351 %{prefix}/lib/gst/librtjpe*
352 %{prefix}/lib/gst/libstereo*
353 %{prefix}/lib/gst/libsystem_*
354 %{prefix}/lib/gst/libgstputbits*
355 %{prefix}/lib/gst/libvideoscale*
356 %{prefix}/lib/gst/libgstvideoscale*
357 %{prefix}/lib/gst/libvol*
358 %{prefix}/lib/gst/libxvideosink*
359 %{prefix}/lib/gst/libgstparsewav*
360 %{prefix}/lib/gst/libgststaticautoplug*
361 %{prefix}/lib/gst/libgsttypes*
362 %{prefix}/lib/gst/liblavencode*
363 %{prefix}/lib/gst/libmp*
364 %{prefix}/share/gsteditor/*
365 %{prefix}/share/gstmediaplay/*
366 %{prefix}/man/man1/*
367
368 %files devel
369 %defattr(-, root, root)
370 %{prefix}/bin/gstreamer-config
371 %{prefix}/include/*
372 %{prefix}/lib/lib*.la
373 %{prefix}/lib/lib*.so
374 %{prefix}/lib/pkgconfig/*
375 %{prefix}/share/aclocal/*
376
377 %files -n gstreamer-visualisation
378 %defattr(-, root, root)
379 %{prefix}/lib/gst/libsmooth*
380 %{prefix}/lib/gst/libgstspectrum*
381 %{prefix}/lib/gst/libvu*
382
383 %files -n gstreamer-esd
384 %defattr(-, root, root)
385 %{prefix}/lib/gst/libesd*
386
387 %files -n gstreamer-gsm
388 %defattr(-, root, root)
389 %{prefix}/lib/gst/libgstgsm*
390
391 %files -n gstreamer-cdparanoia
392 %defattr(-, root, root)
393 %{prefix}/lib/gst/libcdparanoia*
394
395 %files -n gstreamer-aalib
396 %defattr(-, root, root)
397 %{prefix}/lib/gst/libaa*
398
399 %files -n gstreamer-gnomevfs
400 %defattr(-, root, root)
401 %{prefix}/lib/gst/libgnomevfs*
402
403 %files -n gstreamer-flx
404 %defattr(-, root, root)
405 %{prefix}/lib/gst/libflx*
406
407 %files -n gstreamer-avi
408 %defattr(-, root, root)
409 %{prefix}/lib/gst/libavi*
410 %{prefix}/lib/gst/libwin*
411
412 %files -n gstreamer-vorbis
413 %defattr(-, root, root)
414 %{prefix}/lib/gst/libgstvorbis*
415
416 %files -n gstreamer-sdl
417 %defattr(-, root, root)
418 %{prefix}/lib/gst/libsdl*
419
420 %files -n gstreamer-oss
421 %defattr(-, root, root)
422 %{prefix}/lib/gst/libgstoss*
423
424 %files -n gstreamer-ac3dec
425 %defattr(-, root, root)
426 %{prefix}/lib/gst/libac3*
427
428 %files -n gstreamer-afs
429 %defattr(-, root, root)
430 %{prefix}/lib/gst/libafs*
431
432 %files -n gstreamer-ladspa
433 %defattr(-, root, root)
434 %{prefix}/lib/gst/libgstladspa*
435
436 %files -n gstreamer-mad
437 %defattr(-, root, root)
438 %{prefix}/lib/gst/libgstmad*
439
440 %files -n gstreamer-au
441 %defattr(-, root, root)
442 %{prefix}/lib/gst/libgstparseau*
443
444 %files -n gstreamer-v4l
445 %defattr(-, root, root)
446 %{prefix}/lib/gst/libv4l*
447
448 %files -n gstreamer-synaesthesia
449 %defattr(-, root, root)
450 %{prefix}/lib/gst/libsynaesthesia*
451
452 %files -n gstreamer-vcd
453 %defattr(-, root, root)
454 %{prefix}/lib/gst/libvcd*
455
456 # %files -n gstreamer-alsa
457 # %defattr(-, root, root)
458 # %{prefix}/lib/gst/libalsa*