fix mad check, add defaut options properly
[platform/upstream/gstreamer.git] / gst-plugins.spec.in
1 %define name    gst-plugins  
2 %define ver     @VERSION@
3 %define rel     @GST_VERSION_RELEASE@
4 %define prefix  /usr
5 %define sysconfdir /etc
6
7 Summary: GStreamer Streaming-media framework plugins
8 Name: %name
9 Version: %ver
10 Release: %rel
11 Copyright: LGPL
12 Group: Libraries/Multimedia
13 Source: %{name}-%{ver}.tar.gz
14 BuildRoot: /var/tmp/%{name}-%{ver}-root
15 Docdir: %{prefix}/doc
16 Prefix: %prefix
17 Requires: libxml2 >= 2.4.0
18 Requires: gstreamer >= %{ver}
19 BuildRequires: nasm => 0.90
20 BuildRequires: gstreamer-devel >= %{ver} 
21
22 %description
23 GStreamer is a streaming-media framework, based on graphs of filters which
24 operate on media data. Applications using this library can do anything
25 from real-time sound processing to playing videos, and just about anything
26 else media-related.  Its plugin-based architecture means that new data
27 types or processing capabilities can be added simply by installing new
28 plugins.
29
30 %files
31 %defattr(-, root, root)
32 %doc AUTHORS COPYING README  
33 %{_bindir}/gst-launch-ext
34 %prep
35 %setup
36 %build
37 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} --sysconfdir=%{sysconfdir} --mandir=$RPM_BUILD_ROOT%{prefix}/share/man --enable-DEBUG 
38
39 if [ "$SMP" != "" ]; then
40   (make "MAKE=make -k -j $SMP"; exit 0)
41   make 2>&1 | tee make.log
42 else
43   make 2>&1 | tee make.log
44 fi
45
46 %install
47 [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
48
49 make prefix=$RPM_BUILD_ROOT%{prefix} install
50
51 %clean
52 [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
53
54 ### ESD ###
55 @USE_ESD_TRUE@%package -n gstreamer-esd
56 @USE_ESD_TRUE@Summary: Gstreamer plugin for ESD sound output
57 @USE_ESD_TRUE@Group: Libraries/Multimedia
58 @USE_ESD_TRUE@Requires: esound >= 0.2.8
59 @USE_ESD_TRUE@Requires: gstreamer >= %{ver}
60 @USE_ESD_TRUE@
61 @USE_ESD_TRUE@%description -n gstreamer-esd
62 @USE_ESD_TRUE@Output plugin for GStreamer for use with the esound package
63 @USE_ESD_TRUE@
64 @USE_ESD_TRUE@%files -n gstreamer-esd
65 @USE_ESD_TRUE@%defattr(-, root, root)
66 @USE_ESD_TRUE@%{prefix}/lib/gst/libesd*
67 @USE_ESD_TRUE@
68 @USE_ESD_TRUE@%post -n gstreamer-esd
69 @USE_ESD_TRUE@%{prefix}/bin/gst-register --gst-mask=0
70 @USE_ESD_TRUE@
71 @USE_ESD_TRUE@%postun -n gstreamer-esd
72 @USE_ESD_TRUE@%{prefix}/bin/gst-register --gst-mask=0
73 @USE_ESD_TRUE@/sbin/ldconfig
74
75 ### FESTIVAL ###
76 @USE_FESTIVAL_TRUE@%package -n gstreamer-festival
77 @USE_FESTIVAL_TRUE@Summary: GStreamer plugin for text-to-speech support using Festival
78 @USE_FESTIVAL_TRUE@Group: Libraries/Multimedia
79 @USE_FESTIVAL_TRUE@Requires: gstreamer >= %{ver}
80 @USE_FESTIVAL_TRUE@Requires: festival >= 1.4.1
81 @USE_FESTIVAL_TRUE@
82 @USE_FESTIVAL_TRUE@%description -n gstreamer-festival
83 @USE_FESTIVAL_TRUE@Element for text-to-speech using the festival server.
84 @USE_FESTIVAL_TRUE@
85 @USE_FESTIVAL_TRUE@%files -n gstreamer-festival
86 @USE_FESTIVAL_TRUE@%defattr(-, root, root)
87 @USE_FESTIVAL_TRUE@%{prefix}/lib/gst/libgstfestival*
88 @USE_FESTIVAL_TRUE@
89 @USE_FESTIVAL_TRUE@%post -n gstreamer-festival
90 @USE_FESTIVAL_TRUE@%{prefix}/bin/gst-register --gst-mask=0
91
92 ### HERMES ###
93 @USE_HERMES_TRUE@%package -n gstreamer-xvideosink
94 @USE_HERMES_TRUE@Summary: Gstreamer XFree output plugin
95 @USE_HERMES_TRUE@Group: Libraries/Multimedia
96 @USE_HERMES_TRUE@Requires: gstreamer >= %{ver}
97 @USE_HERMES_TRUE@Requires: Hermes => 1.3.0
98 @USE_HERMES_TRUE@%description -n gstreamer-xvideosink
99 @USE_HERMES_TRUE@Xfree86 video sink
100 @USE_HERMES_TRUE@
101 @USE_HERMES_TRUE@%files -n gstreamer-xvideosink
102 @USE_HERMES_TRUE@%defattr(-, root, root)
103 @USE_HERMES_TRUE@%{prefix}/lib/gst/libxvideosink*
104 @USE_HERMES_TRUE@
105 @USE_HERMES_TRUE@%post -n gstreamer-xvideosink
106 @USE_HERMES_TRUE@%{prefix}/bin/gst-register --gst-mask=0
107
108 @USE_HERMES_TRUE@%package -n gstreamer-colorspace
109 @USE_HERMES_TRUE@Summary: Gstreamer colorspace conversion plugin
110 @USE_HERMES_TRUE@Group: Libraries/Multimedia
111 @USE_HERMES_TRUE@Requires: gstreamer >= %{ver}
112 @USE_HERMES_TRUE@Requires: Hermes => 1.3.0
113 @USE_HERMES_TRUE@%description -n gstreamer-colorspace
114 @USE_HERMES_TRUE@Colorspace plugin based on Hermes library
115 @USE_HERMES_TRUE@
116 @USE_HERMES_TRUE@%files -n gstreamer-colorspace
117 @USE_HERMES_TRUE@%defattr(-, root, root)
118 @USE_HERMES_TRUE@%{prefix}/lib/gst/libgstcolorspace*
119 @USE_HERMES_TRUE@
120 @USE_HERMES_TRUE@%post -n gstreamer-colorspace
121 @USE_HERMES_TRUE@%{prefix}/bin/gst-register --gst-mask=0
122
123
124 ### LAME ###
125 @USE_LAME_TRUE@%package -n gstreamer-lame
126 @USE_LAME_TRUE@Summary: GStreamer plugin encoding mp3 songs
127 @USE_LAME_TRUE@Group: Libraries/Multimedia
128 @USE_LAME_TRUE@Requires: gstreamer >= %{ver}
129 @USE_LAME_TRUE@
130 @USE_LAME_TRUE@%description -n gstreamer-lame
131 @USE_LAME_TRUE@Plugin for encoding mp3 with lame
132 @USE_LAME_TRUE@
133 @USE_LAME_TRUE@%files -n gstreamer-lame
134 @USE_LAME_TRUE@%defattr(-, root, root)
135 @USE_LAME_TRUE@%{prefix}/lib/gst/libgstlame*
136 @USE_LAME_TRUE@
137 @USE_LAME_TRUE@%post -n gstreamer-lame
138 @USE_LAME_TRUE@%{prefix}/bin/gst-register --gst-mask=0
139
140 ### MAD ###
141 @USE_MAD_TRUE@%package -n gstreamer-mad  
142 @USE_MAD_TRUE@Summary: Plugin using MAD for mp3 decoding
143 @USE_MAD_TRUE@Group: Libraries/Multimedia
144 @USE_MAD_TRUE@Requires: gstreamer >= %{ver}
145 @USE_MAD_TRUE@Requires: gstreamer-plugin-libs = %{ver}
146 @USE_MAD_TRUE@Requires: mad >= 0.13.0
147 @USE_MAD_TRUE@
148 @USE_MAD_TRUE@%description -n gstreamer-mad
149 @USE_MAD_TRUE@Plugin for playback of mp3 songs using the very good MAD library
150 @USE_MAD_TRUE@
151 @USE_MAD_TRUE@%files -n gstreamer-mad
152 @USE_MAD_TRUE@%defattr(-, root, root)  
153 @USE_MAD_TRUE@%{prefix}/lib/gst/libgstmad*
154 @USE_MAD_TRUE@
155 @USE_MAD_TRUE@%post -n gstreamer-mad
156 @USE_MAD_TRUE@%{prefix}/bin/gst-register --gst-mask=0
157 @USE_MAD_TRUE@
158 @USE_MAD_TRUE@%postun -n gstreamer-mad
159 @USE_MAD_TRUE@%{prefix}/bin/gst-register --gst-mask=0
160 @USE_MAD_TRUE@/sbin/ldconfig
161
162 ### OSS ###
163 @USE_OSS_TRUE@%package -n gstreamer-oss
164 @USE_OSS_TRUE@Summary: Gstreamer plugins for input and output using OSS
165 @USE_OSS_TRUE@Group: Libraries/Multimedia
166 @USE_OSS_TRUE@Requires: gstreamer >= %{ver}
167 @USE_OSS_TRUE@
168 @USE_OSS_TRUE@%description -n gstreamer-oss 
169 @USE_OSS_TRUE@Plugins for output and input to the OpenSoundSytem audio
170 @USE_OSS_TRUE@drivers found in the Linux kernels or commercially available
171 @USE_OSS_TRUE@from OpenSound.
172 @USE_OSS_TRUE@
173 @USE_OSS_TRUE@%files -n gstreamer-oss
174 @USE_OSS_TRUE@%defattr(-, root, root)
175 @USE_OSS_TRUE@%{prefix}/lib/gst/libgstoss*
176 @USE_OSS_TRUE@
177 @USE_OSS_TRUE@%post -n gstreamer-oss
178 @USE_OSS_TRUE@%{prefix}/bin/gst-register --gst-mask=0
179 @USE_OSS_TRUE@
180 @USE_OSS_TRUE@%postun -n gstreamer-oss
181 @USE_OSS_TRUE@%{prefix}/bin/gst-register --gst-mask=0
182 @USE_OSS_TRUE@/sbin/ldconfig
183
184 ### Vorbis ###
185 @USE_VORBIS_TRUE@%package -n gstreamer-vorbis
186 @USE_VORBIS_TRUE@Summary: Gstreamer plugin for encoding and decoding Ogg Vorbis audio files
187 @USE_VORBIS_TRUE@Group: Libraries/Multimedia
188 @USE_VORBIS_TRUE@Requires: libogg >= 1.0beta4
189 @USE_VORBIS_TRUE@Requires: libvorbis >= 1.0beta4
190 @USE_VORBIS_TRUE@Requires: gstreamer >= %{ver}
191 @USE_VORBIS_TRUE@
192 @USE_VORBIS_TRUE@%description -n gstreamer-vorbis
193 @USE_VORBIS_TRUE@Plugins for creating and playing Ogg Vorbis audio files.
194 @USE_VORBIS_TRUE@
195 @USE_VORBIS_TRUE@%files -n gstreamer-vorbis  
196 @USE_VORBIS_TRUE@%defattr(-, root, root)
197 @USE_VORBIS_TRUE@%{prefix}/lib/gst/libgstvorbis*
198 @USE_VORBIS_TRUE@
199 @USE_VORBIS_TRUE@%post -n gstreamer-vorbis
200 @USE_VORBIS_TRUE@%{prefix}/bin/gst-register --gst-mask=0
201 @USE_VORBIS_TRUE@
202 @USE_VORBIS_TRUE@%postun -n gstreamer-vorbis
203 @USE_VORBIS_TRUE@%{prefix}/bin/gst-register --gst-mask=0
204 @USE_VORBIS_TRUE@/sbin/ldconfig
205
206 @USE_AALIB_TRUE@%package -n gstreamer-aalib
207 @USE_AALIB_TRUE@Summary: Gstreamer plugin for Ascii-art output
208 @USE_AALIB_TRUE@Group: Libraries/Multimedia
209 @USE_AALIB_TRUE@Requires: aalib >= 1.3
210 @USE_AALIB_TRUE@BuildRequires: aalib-devel >= 1.3
211 @USE_AALIB_TRUE@Requires: gstreamer >= %{ver}
212 @USE_AALIB_TRUE@
213 @USE_AALIB_TRUE@%description -n gstreamer-aalib
214 @USE_AALIB_TRUE@Plugin for viewing movies in Ascii-art using aalib library.
215 @USE_AALIB_TRUE@
216 @USE_AALIB_TRUE@%files -n gstreamer-aalib
217 @USE_AALIB_TRUE@%defattr(-, root, root)
218 @USE_AALIB_TRUE@%{prefix}/lib/gst/libgstaa*
219 @USE_AALIB_TRUE@
220 @USE_AALIB_TRUE@%post -n gstreamer-aalib
221 @USE_AALIB_TRUE@%{prefix}/bin/gst-register --gst-mask=0
222
223 @USE_AUDIOFILE_TRUE@%package -n gstreamer-audiofile
224 @USE_AUDIOFILE_TRUE@Summary: GStreamer plugin audiofile support
225 @USE_AUDIOFILE_TRUE@Group: Libraries/Multimedia
226 @USE_AUDIOFILE_TRUE@Requires: gstreamer >= %{ver}
227 @USE_AUDIOFILE_TRUE@Requires: audiofile >= 0.2.1
228 @USE_AUDIOFILE_TRUE@Requires: gstreamer-plugin-libs = %{ver}
229 @USE_AUDIOFILE_TRUE@
230 @USE_AUDIOFILE_TRUE@%description -n gstreamer-audiofile
231 @USE_AUDIOFILE_TRUE@Plugin for supporting reading and writing all files audiofile support
232 @USE_AUDIOFILE_TRUE@
233 @USE_AUDIOFILE_TRUE@%files -n gstreamer-audiofile
234 @USE_AUDIOFILE_TRUE@%defattr(-, root, root)
235 @USE_AUDIOFILE_TRUE@%{prefix}/lib/gst/libafs*
236 @USE_AUDIOFILE_TRUE@
237 @USE_AUDIOFILE_TRUE@%post -n  gstreamer-audiofile
238 @USE_AUDIOFILE_TRUE@%{prefix}/bin/gst-register --gst-mask=0
239
240 @USE_AVIFILE_TRUE@%package -n gstreamer-avi
241 @USE_AVIFILE_TRUE@Summary: Gstreamer plugin for AVI format movie playback
242 @USE_AVIFILE_TRUE@Group: Libraries/Multimedia
243 @USE_AVIFILE_TRUE@Requires: gstreamer >= %{ver}
244 @USE_AVIFILE_TRUE@Requires: gstreamer-plugin-libs = %{ver}
245 @USE_AVIFILE_TRUE@Requires: avifile = 0.6.20011111DD
246 @USE_AVIFILE_TRUE@Requires: gstreamer-colorspace >= %{ver}
247 @USE_AVIFILE_TRUE@
248 @USE_AVIFILE_TRUE@%description -n gstreamer-avi
249 @USE_AVIFILE_TRUE@Plugins for playback of AVI format media files.
250 @USE_AVIFILE_TRUE@
251 @USE_AVIFILE_TRUE@%files -n gstreamer-avi
252 @USE_AVIFILE_TRUE@%defattr(-, root, root)
253 @USE_AVIFILE_TRUE@%{prefix}/lib/gst/libgstavi*
254 @USE_AVIFILE_TRUE@%{prefix}/lib/gst/libwin*
255 @USE_AVIFILE_TRUE@
256 @USE_AVIFILE_TRUE@%post -n gstreamer-avi
257 @USE_AVIFILE_TRUE@%{prefix}/bin/gst-register --gst-mask=0
258
259 @USE_CDPARANOIA_TRUE@%package -n gstreamer-cdparanoia
260 @USE_CDPARANOIA_TRUE@Summary: Gstreamer plugin for CD audio input using CDParanoia IV
261 @USE_CDPARANOIA_TRUE@Group: Libraries/Multimedia
262 @USE_CDPARANOIA_TRUE@Requires: cdparanoia >= alpha9.7
263 @USE_CDPARANOIA_TRUE@Requires: gstreamer >= %{ver}
264 @USE_CDPARANOIA_TRUE@BuildRequires: cdparanoia-devel >= alpha9.7
265 @USE_CDPARANOIA_TRUE@
266 @USE_CDPARANOIA_TRUE@%description -n gstreamer-cdparanoia
267 @USE_CDPARANOIA_TRUE@Plugin for ripping audio tracks using cdparanoia under GStreamer
268 @USE_CDPARANOIA_TRUE@
269 @USE_CDPARANOIA_TRUE@%files -n gstreamer-cdparanoia
270 @USE_CDPARANOIA_TRUE@%defattr(-, root, root)
271 @USE_CDPARANOIA_TRUE@%{prefix}/lib/gst/libgstcdparanoia*
272 @USE_CDPARANOIA_TRUE@
273 @USE_CDPARANOIA_TRUE@%post -n gstreamer-cdparanoia
274 @USE_CDPARANOIA_TRUE@%{prefix}/bin/gst-register --gst-mask=0
275
276 @USE_FLAC_TRUE@%package -n gstreamer-flac
277 @USE_FLAC_TRUE@Summary: Gstreamer plugin for FLAC lossless audio format
278 @USE_FLAC_TRUE@Group: Libraries/Multimedia
279 @USE_FLAC_TRUE@Requires: gstreamer >= %{ver}
280 @USE_FLAC_TRUE@
281 @USE_FLAC_TRUE@%description -n gstreamer-flac
282 @USE_FLAC_TRUE@Plugin for the free FLAC lossless audio format.
283 @USE_FLAC_TRUE@
284 @USE_FLAC_TRUE@%files -n gstreamer-flac
285 @USE_FLAC_TRUE@%defattr(-, root, root)
286 @USE_FLAC_TRUE@%{prefix}/lib/gst/libgstflac*
287 @USE_FLAC_TRUE@
288 @USE_FLAC_TRUE@%post -n gstreamer-flac
289 @USE_FLAC_TRUE@%{prefix}/bin/gst-register --gst-mask=0
290
291 @USE_GNOME_VFS_TRUE@%package -n gstreamer-gnomevfs
292 @USE_GNOME_VFS_TRUE@Summary: GStreamer plugins for GNOME VFS input and output
293 @USE_GNOME_VFS_TRUE@Group: Libraries/Multimedia
294 @USE_GNOME_VFS_TRUE@Requires: gnome-vfs2 > 1.9.4.00
295 @USE_GNOME_VFS_TRUE@Requires: gstreamer >= %{ver}
296 @USE_GNOME_VFS_TRUE@BuildRequires: gnome-vfs2-devel > 1.9.4.00
297 @USE_GNOME_VFS_TRUE@
298 @USE_GNOME_VFS_TRUE@%description -n gstreamer-gnomevfs
299 @USE_GNOME_VFS_TRUE@Plugins for reading and writing through GNOME VFS.
300 @USE_GNOME_VFS_TRUE@
301 @USE_GNOME_VFS_TRUE@%files -n gstreamer-gnomevfs
302 @USE_GNOME_VFS_TRUE@%defattr(-, root, root)
303 @USE_GNOME_VFS_TRUE@%{prefix}/lib/gst/libgstgnomevfs*
304 @USE_GNOME_VFS_TRUE@
305 @USE_GNOME_VFS_TRUE@%post -n gstreamer-gnomevfs
306 @USE_GNOME_VFS_TRUE@%{prefix}/bin/gst-register --gst-mask=0
307
308 @USE_GSM_TRUE@%package -n gstreamer-gsm
309 @USE_GSM_TRUE@Summary: Gstreamer plugin for GSM lossy audio format
310 @USE_GSM_TRUE@Group: Libraries/Multimedia
311 @USE_GSM_TRUE@Requires: gsm >= 1.0.10
312 @USE_GSM_TRUE@Requires: gstreamer >= %{ver}
313 @USE_GSM_TRUE@
314 @USE_GSM_TRUE@%description -n gstreamer-gsm
315 @USE_GSM_TRUE@Output plugin for GStreamer to convert to GSM lossy audio format.
316 @USE_GSM_TRUE@
317 @USE_GSM_TRUE@%files -n gstreamer-gsm
318 @USE_GSM_TRUE@%defattr(-, root, root)
319 @USE_GSM_TRUE@%{prefix}/lib/gst/libgstgsm*
320 @USE_GSM_TRUE@
321 @USE_GSM_TRUE@%post -n gstreamer-gsm
322 @USE_GSM_TRUE@%{prefix}/bin/gst-register --gst-mask=0
323
324 @USE_MJPEGTOOLS_TRUE@%package -n gstreamer-jpegmmx
325 @USE_MJPEGTOOLS_TRUE@Summary: Gstreamer mjpegtools
326 @USE_MJPEGTOOLS_TRUE@Group: Libraries/Multimedia
327 @USE_MJPEGTOOLS_TRUE@Requires: gstreamer >= %{ver}
328 @USE_MJPEGTOOLS_TRUE@
329 @USE_MJPEGTOOLS_TRUE@%description -n gstreamer-jpegmmx
330 @USE_MJPEGTOOLS_TRUE@Mgpegtools based encoding and decoding plugin
331 @USE_MJPEGTOOLS_TRUE@
332 @USE_MJPEGTOOLS_TRUE@%files -n gstreamer-jpegmmx
333 @USE_MJPEGTOOLS_TRUE@%defattr(-, root, root)
334 @USE_MJPEGTOOLS_TRUE@%{prefix}/lib/gst/libgstjpegmmx*
335 @USE_MJPEGTOOLS_TRUE@
336 @USE_MJPEGTOOLS_TRUE@%post -n gstreamer-jpegmmx
337 @USE_MJPEGTOOLS_TRUE@%{prefix}/bin/gst-register --gst-mask=0
338
339 @USE_MPEG2DEC_TRUE@%package -n gstreamer-mpeg
340 @USE_MPEG2DEC_TRUE@Summary: GStreamer plugins for MPEG video playback and encoding
341 @USE_MPEG2DEC_TRUE@Group: Libraries/Multimedia
342 @USE_MPEG2DEC_TRUE@Requires: gstreamer >= %{ver}
343 @USE_MPEG2DEC_TRUE@Requires: mpeg2dec => 0.2.0
344 @USE_MPEG2DEC_TRUE@Requires: gstreamer-plugin-libs => %{ver}
345 @USE_MPEG2DEC_TRUE@Obsoletes: gstreamer-mpeg1
346 @USE_MPEG2DEC_TRUE@Obsoletes: gstreamer-mpeg2
347 @USE_MPEG2DEC_TRUE@
348 @USE_MPEG2DEC_TRUE@%description -n gstreamer-mpeg
349 @USE_MPEG2DEC_TRUE@Plugins for playing and encoding MPEG video
350 @USE_MPEG2DEC_TRUE@
351 @USE_MPEG2DEC_TRUE@%files -n gstreamer-mpeg
352 @USE_MPEG2DEC_TRUE@%defattr(-, root, root)
353 @USE_MPEG2DEC_TRUE@%{prefix}/lib/gst/libgstmpeg1types*
354 @USE_MPEG2DEC_TRUE@%{prefix}/lib/gst/libgstmpeg1encoder*
355 @USE_MPEG2DEC_TRUE@%{prefix}/lib/gst/libgstmpegaudio*
356 @USE_MPEG2DEC_TRUE@%{prefix}/lib/gst/libgstmp1*
357 @USE_MPEG2DEC_TRUE@%{prefix}/lib/gst/libgstmpegstream*
358 # @USE_MPEG2DEC_TRUE@%{prefix}/lib/gst/libgstmpeg2play*
359 @USE_MPEG2DEC_TRUE@%{prefix}/lib/gst/libgstmpeg2enc*
360 @USE_MPEG2DEC_TRUE@%{prefix}/lib/gst/libgstmpeg2subt*
361 @USE_MPEG2DEC_TRUE@%{prefix}/lib/gst/libgstmpeg2types*
362 # @USE_MPEG2DEC_TRUE@%{prefix}/lib/gst/libgstmp2videoparse*
363 @USE_MPEG2DEC_TRUE@
364 @USE_MPEG2DEC_TRUE@%post -n  gstreamer-mpeg
365 @USE_MPEG2DEC_TRUE@%{prefix}/bin/gst-register --gst-mask=0
366
367 @USE_MPEG2DEC_TRUE@%package -n gstreamer-mpeg2dec
368 @USE_MPEG2DEC_TRUE@Summary: GStreamer plugins for Mpeg level 2 playback
369 @USE_MPEG2DEC_TRUE@Group: Libraries/Multimedia
370 @USE_MPEG2DEC_TRUE@Requires: gstreamer >= %{ver}
371 @USE_MPEG2DEC_TRUE@Requires: mpeg2dec >= 0.2.0
372 @USE_MPEG2DEC_TRUE@
373 @USE_MPEG2DEC_TRUE@%description -n gstreamer-mpeg2dec
374 @USE_MPEG2DEC_TRUE@Plugins for playing mpeg level 2 encoded movies
375 @USE_MPEG2DEC_TRUE@
376 @USE_MPEG2DEC_TRUE@%files -n gstreamer-mpeg2dec
377 @USE_MPEG2DEC_TRUE@%defattr(-, root, root)
378 @USE_MPEG2DEC_TRUE@%{prefix}/lib/gst/libgstmpeg2dec*
379 @USE_MPEG2DEC_TRUE@
380 @USE_MPEG2DEC_TRUE@%post -n  gstreamer-mpeg2dec
381 @USE_MPEG2DEC_TRUE@%{prefix}/bin/gst-register --gst-mask=0
382
383 @USE_SDL_TRUE@%package -n gstreamer-sdl
384 @USE_SDL_TRUE@Summary: Gstreamer plugin for outputing to SDL
385 @USE_SDL_TRUE@Group: Libraries/Multimedia
386 @USE_SDL_TRUE@Requires: SDL >= 1.2.0
387 @USE_SDL_TRUE@Requires: gstreamer >= %{ver}
388 @USE_SDL_TRUE@BuildRequires: SDL-devel >= 1.2.0
389 @USE_SDL_TRUE@
390 @USE_SDL_TRUE@%description -n gstreamer-sdl
391 @USE_SDL_TRUE@Plugin for sending output to the Simple Direct Media architecture.
392 @USE_SDL_TRUE@(http://www.libsdl.org). Usefull for fullscreen playback.
393 @USE_SDL_TRUE@
394 @USE_SDL_TRUE@%files -n gstreamer-sdl
395 @USE_SDL_TRUE@%defattr(-, root, root)
396 @USE_SDL_TRUE@%{prefix}/lib/gst/libsdl*
397 @USE_SDL_TRUE@
398 @USE_SDL_TRUE@%post -n gstreamer-sdl
399 @USE_SDL_TRUE@%{prefix}/bin/gst-register --gst-mask=0
400
401 @USE_OPENQUICKTIME_TRUE@%package -n gstreamer-openquicktime
402 @USE_OPENQUICKTIME_TRUE@Summary: GStreamer OpenQuicktime video Plugin
403 @USE_OPENQUICKTIME_TRUE@Group: Libraries/Multimedia
404 @USE_OPENQUICKTIME_TRUE@Requires: gstreamer >= %{ver}
405 @USE_OPENQUICKTIME_TRUE@Requires: openquicktime => 0.9
406 @USE_OPENQUICKTIME_TRUE@
407 @USE_OPENQUICKTIME_TRUE@%description -n gstreamer-openquicktime
408 @USE_OPENQUICKTIME_TRUE@Plugin which uses the OpenQuicktime library
409 @USE_OPENQUICKTIME_TRUE@from 3ivx to play Quicktime movies.
410 @USE_OPENQUICKTIME_TRUE@(http://openquicktime.sourceforge.net/)
411 @USE_OPENQUICKTIME_TRUE@
412 @USE_OPENQUICKTIME_TRUE@%files -n gstreamer-openquicktime
413 @USE_OPENQUICKTIME_TRUE@%defattr(-, root, root)
414 @USE_OPENQUICKTIME_TRUE@%{prefix}/lib/gst/libgstopenquicktime*
415 @USE_OPENQUICKTIME_TRUE@
416 @USE_OPENQUICKTIME_TRUE@%post -n gstreamer-openquicktime
417 @USE_OPENQUICKTIME_TRUE@%{prefix}/bin/gst-register --gst-mask=0
418
419 # Video 4 Linux
420 @USE_V4L_TRUE@%package -n gstreamer-v4l
421 @USE_V4L_TRUE@Summary: GStreamer video for linux input plugin
422 @USE_V4L_TRUE@Group: Libraries/Multimedia
423 @USE_V4L_TRUE@Requires: gstreamer >= %{ver}
424 @USE_V4L_TRUE@
425 @USE_V4L_TRUE@%description -n gstreamer-v4l
426 @USE_V4L_TRUE@Plugin for accessing video for Linux streams.
427 @USE_V4L_TRUE@
428 @USE_V4L_TRUE@%files -n gstreamer-v4l
429 @USE_V4L_TRUE@%defattr(-, root, root)
430 @USE_V4L_TRUE@%{prefix}/lib/gst/libv4l*
431 @USE_V4L_TRUE@
432 @USE_V4L_TRUE@%post -n gstreamer-v4l
433 @USE_V4L_TRUE@%{prefix}/bin/gst-register --gst-mask=0
434
435 # ALSA Audio plugin
436 @USE_ALSA_TRUE@%package -n gstreamer-alsa
437 @USE_ALSA_TRUE@Summary: GStreamer plugins for the ALSA sound architecture
438 @USE_ALSA_TRUE@Group: Libraries/Multimedia
439 @USE_ALSA_TRUE@Requires: gstreamer >= %{ver}
440 @USE_ALSA_TRUE@
441 @USE_ALSA_TRUE@%description -n gstreamer-alsa
442 @USE_ALSA_TRUE@Input and output plugin for the ALSA soundcard driver architecture.
443 @USE_ALSA_TRUE@
444 @USE_ALSA_TRUE@%files -n gstreamer-alsa
445 @USE_ALSA_TRUE@%defattr(-, root, root)
446 @USE_ALSA_TRUE@%{prefix}/lib/gst/libgstalsa*
447 @USE_ALSA_TRUE@
448 @USE_ALSA_TRUE@%post -n gstreamer-alsa
449 @USE_ALSA_TRUE@%{prefix}/bin/gst-register --gst-mask=0
450
451 @USE_DVDREAD_TRUE@%package -n gstreamer-libdvd
452 @USE_DVDREAD_TRUE@Summary: GStreamer plugins for DVD playback
453 @USE_DVDREAD_TRUE@Group: Libraries/Multimedia
454 @USE_DVDREAD_TRUE@Requires: gstreamer >= %{ver}
455 @USE_DVDREAD_TRUE@
456 @USE_DVDREAD_TRUE@%description -n gstreamer-libdvd
457 @USE_DVDREAD_TRUE@Input and output plugin for the ALSA soundcard driver architecture.
458 @USE_DVDREAD_TRUE@
459 @USE_DVDREAD_TRUE@%files -n gstreamer-libdvd
460 @USE_DVDREAD_TRUE@%defattr(-, root, root)
461 @USE_DVDREAD_TRUE@%{prefix}/lib/gst/libdvd*
462 @USE_DVDREAD_TRUE@
463 @USE_DVDREAD_TRUE@%post -n gstreamer-libdvd
464 @USE_DVDREAD_TRUE@%{prefix}/bin/gst-register --gst-mask=0
465
466 @USE_A52DEC_TRUE@%package -n gstreamer-a52dec
467 @USE_A52DEC_TRUE@Summary: GStreamer VOB decoder plugin
468 @USE_A52DEC_TRUE@Group: Libraries/Multimedia
469 @USE_A52DEC_TRUE@Requires: gstreamer >= %{ver}
470 @USE_A52DEC_TRUE@Requires: a52dec >= 0.7.0
471 @USE_A52DEC_TRUE@
472 @USE_A52DEC_TRUE@%description -n gstreamer-a52dec
473 @USE_A52DEC_TRUE@Plugin for decoding of VOB files
474 @USE_A52DEC_TRUE@
475 @USE_A52DEC_TRUE@%files -n gstreamer-a52dec
476 @USE_A52DEC_TRUE@%defattr(-, root, root)
477 @USE_A52DEC_TRUE@%{prefix}/lib/gst/libgsta52dec*
478 @USE_A52DEC_TRUE@
479 @USE_A52DEC_TRUE@%post -n gstreamer-a52dec
480 @USE_A52DEC_TRUE@%{prefix}/bin/gst-register --gst-mask=0
481
482 @USE_MIKMOD_TRUE@%package -n gstreamer-mikmod
483 @USE_MIKMOD_TRUE@Summary: GStreamer Mikmod plugin
484 @USE_MIKMOD_TRUE@Group: Libraries/Multimedia
485 @USE_MIKMOD_TRUE@Requires: gstreamer >= %{ver}
486 @USE_MIKMOD_TRUE@
487 @USE_MIKMOD_TRUE@%description -n gstreamer-mikmod
488 @USE_MIKMOD_TRUE@Plugin for playback of module files supported by mikmod under GStreamer
489 @USE_MIKMOD_TRUE@
490 @USE_MIKMOD_TRUE@%files -n gstreamer-mikmod
491 @USE_MIKMOD_TRUE@%defattr(-, root, root)
492 @USE_MIKMOD_TRUE@%{prefix}/lib/gst/libgstmikmod*
493 @USE_MIKMOD_TRUE@
494 @USE_MIKMOD_TRUE@%post -n gstreamer-mikmod
495 @USE_MIKMOD_TRUE@%{prefix}/bin/gst-register --gst-mask=0
496
497 @USE_SIDPLAY_TRUE@%package -n gstreamer-sid
498 @USE_SIDPLAY_TRUE@Summary: GStreamer Sid C64 music plugin
499 @USE_SIDPLAY_TRUE@Group: Libraries/Multimedia
500 @USE_SIDPLAY_TRUE@Requires: gstreamer >= %{ver}
501 @USE_SIDPLAY_TRUE@Requires: libsidplay => 1.36.0
502 @USE_SIDPLAY_TRUE@%description -n gstreamer-sid
503 @USE_SIDPLAY_TRUE@Plugin for playback of C64 SID format music files
504 @USE_SIDPLAY_TRUE@
505 @USE_SIDPLAY_TRUE@%files -n gstreamer-sid
506 @USE_SIDPLAY_TRUE@%defattr(-, root, root)
507 @USE_SIDPLAY_TRUE@%{prefix}/lib/gst/libgstsid*
508 @USE_SIDPLAY_TRUE@
509 @USE_SIDPLAY_TRUE@%post -n gstreamer-sid
510 @USE_SIDPLAY_TRUE@%{prefix}/bin/gst-register --gst-mask=0
511
512 @USE_RTP_TRUE@%package -n gstreamer-rtp
513 @USE_RTP_TRUE@Summary: GStreamer RTP plugin
514 @USE_RTP_TRUE@Group: Libraries/Multimedia
515 @USE_RTP_TRUE@Requires: gstreamer >= %{ver}
516 @USE_RTP_TRUE@Requires: librtp >= 0.1
517 @USE_RTP_TRUE@
518 @USE_RTP_TRUE@%description -n gstreamer-rtp
519 @USE_RTP_TRUE@Library for transfering data with the RTP protocol
520 @USE_RTP_TRUE@
521 @USE_RTP_TRUE@%files -n gstreamer-rtp
522 @USE_RTP_TRUE@%defattr(-, root, root)
523 @USE_RTP_TRUE@%{prefix}/lib/gst/libgstrtp*
524 @USE_RTP_TRUE@
525 @USE_RTP_TRUE@%post -n gstreamer-rtp
526 @USE_RTP_TRUE@%{prefix}/bin/gst-register --gst-mask=0
527
528 @USE_ARTS_TRUE@%package -n gstreamer-artsd
529 @USE_ARTS_TRUE@Summary: GStreamer artsd output plugin
530 @USE_ARTS_TRUE@Group: Libraries/Multimedia
531 @USE_ARTS_TRUE@Requires: gstreamer >= %{ver}
532 @USE_ARTS_TRUE@
533 @USE_ARTS_TRUE@%description -n gstreamer-artsd
534 @USE_ARTS_TRUE@Plugin for outputing to artsd sound server
535 @USE_ARTS_TRUE@
536 @USE_ARTS_TRUE@%files -n gstreamer-artsd
537 @USE_ARTS_TRUE@%defattr(-, root, root)
538 @USE_ARTS_TRUE@%{prefix}/lib/gst/libartsd*
539 @USE_ARTS_TRUE@
540 @USE_ARTS_TRUE@%post -n gstreamer-artsd
541 @USE_ARTS_TRUE@%{prefix}/bin/gst-register --gst-mask=0
542
543 @USE_RAW1394_TRUE@%package -n gstreamer-dv
544 @USE_RAW1394_TRUE@Summary: GStreamer dv plugin
545 @USE_RAW1394_TRUE@Group: Libraries/Multimedia
546 @USE_RAW1394_TRUE@Requires: gstreamer >= %{ver}
547 @USE_RAW1394_TRUE@
548 @USE_RAW1394_TRUE@%description -n gstreamer-dv
549 @USE_RAW1394_TRUE@Plugin for digital video support
550 @USE_RAW1394_TRUE@
551 @USE_RAW1394_TRUE@%files -n gstreamer-dv
552 @USE_RAW1394_TRUE@%defattr(-, root, root)
553 @USE_RAW1394_TRUE@%{prefix}/lib/gst/gstdv*
554 @USE_RAW1394_TRUE@
555 @USE_RAW1394_TRUE@%post -n gstreamer-dv
556 @USE_RAW1394_TRUE@%{prefix}/bin/gst-register --gst-mask=0
557
558 %package -n gstreamer-audioeffects
559 Summary: GStreamer audioeffects plugin
560 Group: Libraries/Multimedia
561 Requires: gstreamer >= %{ver}
562
563 %description -n gstreamer-audioeffects
564 Plugin with various audio effects including resampling, 
565 sine waves generation, silence generation plugin
566
567 %files -n gstreamer-audioeffects
568 %defattr(-, root, root)
569 %{prefix}/lib/gst/libgstresample*
570 %{prefix}/lib/gst/libgstsine*
571 %{prefix}/lib/gst/libgstsilence*
572 %{prefix}/lib/gst/libgststereo*
573 %{prefix}/lib/gst/libgstvol*
574 %{prefix}/lib/gst/libgstplayondemand*
575 %{prefix}/lib/gst/libgstspeed*
576
577 %post -n gstreamer-audioeffects
578 %{prefix}/bin/gst-register --gst-mask=0
579
580 %package -n gstreamer-lavencode
581 Summary: GStreamer YUV to LAV converter
582 Group: Libraries/Multimedia
583 Requires: gstreamer >= %{ver}
584
585 %description -n gstreamer-lavencode
586 It takes YUV video frames and adds a header in front of it so it can be processed with the lavtools from mjpeg
587
588 %files -n gstreamer-lavencode
589 %defattr(-, root, root)
590 %{prefix}/lib/gst/libgsty4m*
591
592 %post -n gstreamer-lavencode
593 %{prefix}/bin/gst-register --gst-mask=0
594
595 %package -n gstreamer-qcam
596 Summary: GStreamer QuickCam plugin
597 Group: Libraries/Multimedia
598 Requires: gstreamer >= %{ver}
599
600 %description -n gstreamer-qcam
601 Plugin for accessing a Quickcam source
602
603 %files -n gstreamer-qcam
604 %defattr(-, root, root)
605 %{prefix}/lib/gst/libgstqcam*
606
607 %post -n gstreamer-qcam
608 %{prefix}/bin/gst-register --gst-mask=0
609
610 %package -n gstreamer-vcd
611 Summary: GStreamer Video CD plugin
612 Group: Libraries/Multimedia
613 Requires: gstreamer >= %{ver}
614
615 %description -n gstreamer-vcd
616 Video CD parsing and playback
617
618 %files -n gstreamer-vcd
619 %defattr(-, root, root)
620 %{prefix}/lib/gst/libvcd*
621 %{prefix}/lib/gst/libgstcdxa*
622
623 %package -n gstreamer-ladspa
624 Summary: Gstreamer wrapper for LADSPA plugins
625 Group: Libraries/Multimedia
626 Requires: gstreamer >= %{ver}
627
628 %files -n gstreamer-ladspa
629 %defattr(-, root, root)
630 %{prefix}/lib/gst/libgstladspa*
631
632 %description -n gstreamer-ladspa
633 Plugin which wraps LADSPA plugins for use by GStreamer applications.
634
635 %post -n gstreamer-ladspa
636 %{prefix}/bin/gst-register --gst-mask=0
637
638 %package -n gstreamer-udp
639 Summary: Gstreamer pluginis for UDP tranport
640 Group: Libraries/Multimedia
641 Requires: gstreamer >= %{ver}
642
643 %description -n gstreamer-udp
644 Plugins for UDP transport
645
646 %files -n gstreamer-udp
647 %defattr(-, root, root)
648 %{prefix}/lib/gst/libgstudp*
649
650 %post -n gstreamer-udp
651 %{prefix}/bin/gst-register --gst-mask=0
652
653 %package -n gstreamer-flx
654 Summary: Gstreamer plugin for FLI/FLX animation format
655 Group: Libraries/Multimedia
656 Requires: gstreamer >= %{ver}
657 Requires: gstreamer-plugin-libs = %{ver}
658 Requires: gstreamer-colorspace >= %{ver}
659 %description -n gstreamer-flx
660 Plugin for playing FLI/FLX animations under GStreamer
661
662 %files -n gstreamer-flx
663 %defattr(-, root, root)
664 %{prefix}/lib/gst/libgstflx*
665
666 %post -n gstreamer-flx
667 %{prefix}/bin/gst-register --gst-mask=0
668
669 %package -n gstreamer-deinterlace
670 Summary: GStreamer Video deinterlacer
671 Group: Libraries/Multimedia
672 Requires: gstreamer >= %{ver}
673
674 %description -n gstreamer-deinterlace
675 Video deinterlace plugin
676
677 %files -n gstreamer-deinterlace
678 %defattr(-, root, root)
679 %{prefix}/lib/gst/libgstdeinterlace*
680
681 %post -n gstreamer-deinterlace
682 %{prefix}/bin/gst-register --gst-mask=0
683
684 %package -n gstreamer-visualisation
685 Summary: Gstreamer visualisations plugins
686 Group: Libraries/Multimedia
687 Requires: gstreamer >= %{ver}
688
689 %description -n gstreamer-visualisation
690 Various plugins for visual effects to use with audio. Included are Smoothwave, Spectrum, Goom, Chart and vumeter
691
692 %files -n gstreamer-visualisation
693 %defattr(-, root, root)
694 %{prefix}/lib/gst/libgstsmooth*
695 %{prefix}/lib/gst/libgstspectrum*
696 %{prefix}/lib/gst/libgstvu*
697 %{prefix}/lib/gst/libgstgoom*
698 %{prefix}/lib/gst/libchart*
699
700 %post -n gstreamer-visualisation
701 %{prefix}/bin/gst-register --gst-mask=0
702
703 %package -n gstreamer-plugin-libs
704 Summary: GStreamer support libraries
705 Group: Libraries/Multimedia
706 Requires: gstreamer >= %{ver}
707
708 %description -n gstreamer-plugin-libs
709 GStreamer support libraries
710
711 %files -n gstreamer-plugin-libs
712 %defattr(-, root, root)
713 %{prefix}/lib/gst/libgstaudio*
714 %{prefix}/lib/gst/libgstidct*
715 %{prefix}/lib/gst/libgstriff*
716 %{prefix}/lib/gst/libgstresample*
717
718 %package -n gstreamer-misc
719 Summary: GStreamer plugins for various effects
720 Group: Libraries/Multimedia
721 Requires: gstreamer >= %{ver}
722
723 %description -n gstreamer-misc
724 Plugins for various codecs, effects 
725 and so on.
726
727 %files -n gstreamer-misc
728 %defattr(-, root, root)
729 %{prefix}/lib/gst/libgstadder*
730 %{prefix}/lib/gst/libgstalaw*
731 %{prefix}/lib/gst/libgstjpeg*
732 %{prefix}/lib/gst/libgstintfloat*
733 %{prefix}/lib/gst/libgstlevel*
734 %{prefix}/lib/gst/libgstmedian*
735 %{prefix}/lib/gst/libgstmono2stereo*
736 %{prefix}/lib/gst/libgstmulaw*
737 %{prefix}/lib/gst/libgstpassthrough*
738 %{prefix}/lib/gst/libgstrtjpe*
739
740 %post -n gstreamer-misc
741 %{prefix}/bin/gst-register --gst-mask=0
742
743 %package -n gstreamer-audioformats
744 Summary: Gstreamer audio format plugin
745 Group: Libraries/Multimedia
746 Requires: gstreamer >= %{ver}
747 Requires: gstreamer-plugin-libs = %{ver}
748 %description -n gstreamer-audioformats
749 Plugin for playback of wav, au and mp3 audio files
750
751 %files -n gstreamer-audioformats
752 %defattr(-, root, root)
753 %{prefix}/lib/gst/libgstwavparse*
754 %{prefix}/lib/gst/libgstparseau*
755 %{prefix}/lib/gst/libgstmp3types*
756
757 %post -n gstreamer-audioformats
758 %{prefix}/bin/gst-register --gst-mask=0
759
760 @USE_SHOUT_TRUE@%package -n gstreamer-icecast
761 @USE_SHOUT_TRUE@Summary: Gstreamer Icecast broadcasting plugin
762 @USE_SHOUT_TRUE@Group: Libraries/Multimedia
763 @USE_SHOUT_TRUE@Requires: gstreamer >= %{ver}
764 @USE_SHOUT_TRUE@Requires: gstreamer-plugin-libs = %{ver}
765 @USE_SHOUT_TRUE@Requires: libshout >= 1.0.5
766 @USE_SHOUT_TRUE@%description -n gstreamer-icecast
767 @USE_SHOUT_TRUE@Plugin for broadcasting audio with the Icecast server
768
769 @USE_SHOUT_TRUE@%files -n gstreamer-icecast
770 @USE_SHOUT_TRUE@%defattr(-, root, root)
771 @USE_SHOUT_TRUE@%{prefix}/lib/gst/libgstshout*
772
773 @USE_SHOUT_TRUE@%post -n gstreamer-icecast
774 @USE_SHOUT_TRUE@%{prefix}/bin/gst-register --gst-mask=0