Move to m4/ instead of common/m4/
[platform/upstream/gst-plugins-good.git] / gst-plugins.spec.in
1 Name:           gstreamer-plugins
2 Version:        @VERSION@
3 Release:        @GST_PLUGINS_VERSION_RELEASE@
4 Summary:        GStreamer Streaming-media framework plug-ins.
5
6 %define         majorminor      @GST_MAJORMINOR@
7 #%define        prefix  /usr
8 #%define        sysconfdir /etc
9 #Docdir:        %{prefix}/share/doc
10 #Prefix:        %prefix
11
12 Group:          Libraries/Multimedia
13 License:        LGPL
14 URL:            http://gstreamer.net/
15 Vendor:         GStreamer Backpackers Team <package@gstreamer.net>
16 Source:         http://gstreamer.net/releases/%{version}/src/gst-plugins-%{version}.tar.gz
17 BuildRoot:      %{_tmppath}/%{name}-%{version}-root
18
19 %define         _glib2          @GLIB2_REQ@
20
21 Requires:       glib2 >= %_glib2
22 BuildRequires:  glib2-devel >= %_glib2
23 Requires:       gstreamer >= 0.6.1
24 BuildRequires:  nasm => 0.90
25 BuildRequires:  gstreamer-devel >= 0.6.1
26 BuildRequires:  gstreamer-tools >= 0.6.1
27
28 @USE_ARTS_TRUE@Requires:      kdelibs-sound >= 2
29 @USE_ARTS_TRUE@BuildRequires: kdelibs-sound-devel >= 2
30 @USE_ARTS_TRUE@BuildRequires: gcc-c++
31 @USE_AUDIOFILE_TRUE@Requires:      audiofile >= 0.2.1
32 @USE_AUDIOFILE_TRUE@BuildRequires: audiofile-devel >= 0.2.1
33 @USE_CDPARANOIA_TRUE@Requires:      cdparanoia-libs >= alpha9.7
34 @USE_CDPARANOIA_TRUE@BuildRequires: cdparanoia-devel >= alpha9.7
35 @USE_ESD_TRUE@Requires:      esound >= 0.2.8
36 @USE_ESD_TRUE@BuildRequires: esound-devel >= 0.2.8
37 @USE_ESD_TRUE@Obsoletes:     gstreamer-esd
38 @USE_ESD_TRUE@
39 @USE_ESD_TRUE@Provides:         gstreamer-audiosrc
40 @USE_ESD_TRUE@Provides:         gstreamer-audiosink
41 @USE_GNOME_VFS_TRUE@Requires:      gnome-vfs2 > 1.9.4.00
42 @USE_GNOME_VFS_TRUE@BuildRequires: gnome-vfs2-devel > 1.9.4.00
43 @USE_JPEG_TRUE@Requires:      libjpeg
44 @USE_JPEG_TRUE@BuildRequires: libjpeg-devel
45 @USE_MIKMOD_TRUE@Requires:      mikmod
46 @USE_MIKMOD_TRUE@BuildRequires: mikmod
47 @USE_SDL_TRUE@Requires:      SDL >= 1.2.0
48 @USE_SDL_TRUE@BuildRequires: SDL-devel >= 1.2.0
49 @USE_SDL_TRUE@#SDL-devel should require XFree86-devel because it links to it
50 @USE_SDL_TRUE@#only it doesn't seem to do that currently
51 @USE_SDL_TRUE@BuildRequires:    XFree86-devel
52 @USE_VORBIS_TRUE@Requires:      libogg >= 1.0
53 @USE_VORBIS_TRUE@Requires:      libvorbis >= 1.0
54 @USE_VORBIS_TRUE@BuildRequires: libogg-devel >= 1.0
55 @USE_VORBIS_TRUE@BuildRequires: libvorbis-devel >= 1.0
56 @USE_LIBPNG_TRUE@Requires:      libpng >= 1.2.0
57 @USE_LIBPNG_TRUE@BuildRequires: libpng-devel >= 1.2.0
58 @USE_OSS_TRUE@BuildRequires: glibc-devel
59 @USE_RAW1394_TRUE@Requires:      libraw1394
60 @USE_RAW1394_TRUE@BuildRequires: libraw1394-devel
61 @USE_XVIDEO_TRUE@Requires:      XFree86-libs
62 @USE_XVIDEO_TRUE@BuildRequires: XFree86-devel
63 @USE_GCONF_TRUE@Requires:       GConf2
64 @USE_GCONF_TRUE@BuildRequires:  GConf2-devel
65 # Snapshot plugin
66 @USE_HERMES_TRUE@@USE_LIBPNG_TRUE@Requires:     libpng
67 @USE_HERMES_TRUE@@USE_LIBPNG_TRUE@Requires:     gstreamer-colorspace = %{version}
68
69 Obsoletes:      gstreamer-plugin-libs
70 Obsoletes:      gstreamer-arts
71 Obsoletes:      gstreamer-artsd
72 Obsoletes:      gstreamer-audiofile
73 Obsoletes:      gstreamer-cdparanoia
74 Obsoletes:      gstreamer-esound
75 Obsoletes:      gstreamer-gnomevfs
76 Obsoletes:      gstreamer-jpeg
77 Obsoletes:      gstreamer-libpng
78 Obsoletes:      gstreamer-mikmod
79 Obsoletes:      gstreamer-oss
80 Obsoletes:      gstreamer-raw1394
81 Obsoletes:      gstreamer-SDL
82 Obsoletes:      gstreamer-vorbis
83 Obsoletes:      gstreamer-v4l
84 Obsoletes:      gstreamer-xvideosink
85 Obsoletes:      gstreamer-audio-effects
86 Obsoletes:      gstreamer-audio-formats
87 Obsoletes:      gstreamer-festival
88 Obsoletes:      gstreamer-flx
89 Obsoletes:      gstreamer-qcam
90 Obsoletes:      gstreamer-udp
91 Obsoletes:      gstreamer-vcd
92 Obsoletes:      gstreamer-video-effects
93 Obsoletes:      gstreamer-visualisation
94 Obsoletes:      gstreamer-yuv4mjpeg
95 Obsoletes:      gstreamer-cdplayer
96 Obsoletes:      gstreamer-videotest
97 Obsoletes:      gstreamer-rtp
98 Obsoletes:      gstreamer-snapshot
99 Obsoletes:      gstreamer-GConf
100 Obsoletes:      gstreamer-play
101
102 %description
103 GStreamer is a streaming-media framework, based on graphs of filters which
104 operate on media data. Applications using this library can do anything
105 from real-time sound processing to playing videos, and just about anything
106 else media-related.  Its plugin-based architecture means that new data
107 types or processing capabilities can be added simply by installing new
108 plug-ins.
109
110 %prep
111 %setup -n gst-plugins-%{version}
112 %build
113 CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
114 CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
115 FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; \
116 %{?__libtoolize:[ -f configure.in ] && %{__libtoolize} --copy --force} ; \
117 ./configure \
118   --prefix=%{_prefix} \
119   --exec-prefix=%{_exec_prefix} \
120   --bindir=%{_bindir} \
121   --sbindir=%{_sbindir} \
122   --sysconfdir=%{_sysconfdir} \
123   --datadir=%{_datadir} \
124   --includedir=%{_includedir} \
125   --libdir=%{_libdir} \
126   --libexecdir=%{_libexecdir} \
127   --localstatedir=%{_localstatedir} \
128   --sharedstatedir=%{_sharedstatedir} \
129   --mandir=%{_mandir} \
130   --infodir=%{_infodir} \
131   --enable-debug \
132   --enable-DEBUG 
133
134 if [ "$SMP" != "" ]; then
135   (make "MAKE=make -k -j $SMP"; exit 0)
136   make 2>&1 | tee make.log
137 else
138   make 2>&1 | tee make.log
139 fi
140
141 %install
142 [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
143 export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
144 make prefix=%{?buildroot:%{buildroot}}%{_prefix} \
145      exec_prefix=%{?buildroot:%{buildroot}}%{_exec_prefix} \
146      bindir=%{?buildroot:%{buildroot}}%{_bindir} \
147      sbindir=%{?buildroot:%{buildroot}}%{_sbindir} \
148      sysconfdir=%{?buildroot:%{buildroot}}%{_sysconfdir} \
149      datadir=%{?buildroot:%{buildroot}}%{_datadir} \
150      includedir=%{?buildroot:%{buildroot}}%{_includedir} \
151      libdir=%{?buildroot:%{buildroot}}%{_libdir} \
152      libexecdir=%{?buildroot:%{buildroot}}%{_libexecdir} \
153      localstatedir=%{?buildroot:%{buildroot}}%{_localstatedir} \
154      sharedstatedir=%{?buildroot:%{buildroot}}%{_sharedstatedir} \
155      mandir=%{?buildroot:%{buildroot}}%{_mandir} \
156      infodir=%{?buildroot:%{buildroot}}%{_infodir} \
157   install
158 unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
159
160 # Clean out files that should not be part of the rpm.
161 # This is the recommended way of dealing with it for RH8
162 rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.la
163 rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.a
164 rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
165 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
166 rm -f $RPM_BUILD_ROOT%{_includedir}/gstreamer-%{majorminor}/gst/media-info/media-info.h
167 rm -f $RPM_BUILD_ROOT%{_libdir}/libgstmedia-info*.so.0.0.0
168
169
170 %clean
171 [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
172
173 %files
174 %defattr(-, root, root)
175 %doc AUTHORS COPYING README RELEASE REQUIREMENTS
176 %{_bindir}/gst-launch-ext
177 %{_bindir}/gst-visualise
178 %{_mandir}/man1/gst-launch-ext.*
179 %{_mandir}/man1/gst-visualise.1.*
180 %{_libdir}/libgstplay-%{majorminor}.so.*
181 %{_libdir}/gstreamer-%{majorminor}/libgstaudioscale.so
182 %{_libdir}/gstreamer-%{majorminor}/libgstaudio.so
183 %{_libdir}/gstreamer-%{majorminor}/libgstidct.so
184 %{_libdir}/gstreamer-%{majorminor}/libgstriff.so
185 %{_libdir}/gstreamer-%{majorminor}/libgstvideo.so
186 # non-core plugins without external dependencies
187 %{_libdir}/gstreamer-%{majorminor}/libgstresample.so
188 %{_libdir}/gstreamer-%{majorminor}/libgstsinesrc.so
189 %{_libdir}/gstreamer-%{majorminor}/libgstsilence.so
190 %{_libdir}/gstreamer-%{majorminor}/libgststereo.so
191 %{_libdir}/gstreamer-%{majorminor}/libgstvolume.so
192 %{_libdir}/gstreamer-%{majorminor}/libgstvolenv.so
193 %{_libdir}/gstreamer-%{majorminor}/libgstplayondemand.so
194 %{_libdir}/gstreamer-%{majorminor}/libgstspeed.so
195 %{_libdir}/gstreamer-%{majorminor}/libgstadder.so
196 %{_libdir}/gstreamer-%{majorminor}/libgstalaw.so
197 %{_libdir}/gstreamer-%{majorminor}/libgstintfloat.so
198 %{_libdir}/gstreamer-%{majorminor}/libgstlevel.so
199 %{_libdir}/gstreamer-%{majorminor}/libgstmulaw.so
200 %{_libdir}/gstreamer-%{majorminor}/libgstpassthrough.so
201 %{_libdir}/gstreamer-%{majorminor}/libgstcutter.so
202 %{_libdir}/gstreamer-%{majorminor}/libgstfilter.so
203 %{_libdir}/gstreamer-%{majorminor}/libmixmatrix.so
204 %{_libdir}/gstreamer-%{majorminor}/libgstoneton.so
205 %{_libdir}/gstreamer-%{majorminor}/libgstwavparse.so
206 %{_libdir}/gstreamer-%{majorminor}/libgstauparse.so
207 %{_libdir}/gstreamer-%{majorminor}/libgstmp3types.so
208 %{_libdir}/gstreamer-%{majorminor}/libgstmodplug.so
209 %{_libdir}/gstreamer-%{majorminor}/libgstwavenc.so
210 %{_libdir}/gstreamer-%{majorminor}/libgstfestival.so
211 %{_libdir}/gstreamer-%{majorminor}/libgstflxdec.so
212 %{_libdir}/gstreamer-%{majorminor}/libgstqcam.so
213 %{_libdir}/gstreamer-%{majorminor}/libgstudp.so
214 %{_libdir}/gstreamer-%{majorminor}/libgstvcdsrc.so
215 %{_libdir}/gstreamer-%{majorminor}/libgstcdxaparse.so
216 %{_libdir}/gstreamer-%{majorminor}/libgsteffectv.so
217 %{_libdir}/gstreamer-%{majorminor}/libgstdeinterlace.so
218 %{_libdir}/gstreamer-%{majorminor}/libgstmedian.so
219 %{_libdir}/gstreamer-%{majorminor}/libgstrtjpeg.so
220 %{_libdir}/gstreamer-%{majorminor}/libgstvideocrop.so
221 %{_libdir}/gstreamer-%{majorminor}/libgstvideoscale.so
222 %{_libdir}/gstreamer-%{majorminor}/libgstsmpte.so
223 %{_libdir}/gstreamer-%{majorminor}/libgstvbidec.so
224 %{_libdir}/gstreamer-%{majorminor}/libgstsmooth.so
225 %{_libdir}/gstreamer-%{majorminor}/libgstspectrum.so
226 %{_libdir}/gstreamer-%{majorminor}/libgstgoom.so
227 %{_libdir}/gstreamer-%{majorminor}/libgstchart.so
228 %{_libdir}/gstreamer-%{majorminor}/libgstmonoscope.so
229 %{_libdir}/gstreamer-%{majorminor}/libgstsynaesthesia.so
230 %{_libdir}/gstreamer-%{majorminor}/libgstcdplayer.so
231 %{_libdir}/gstreamer-%{majorminor}/libgstvideotestsrc.so
232 %{_libdir}/gstreamer-%{majorminor}/libgstrtp.*
233 %{_libdir}/gstreamer-%{majorminor}/libgstqtdemux.so
234 %{_libdir}/gstreamer-%{majorminor}/libgsty4menc.so
235 %{_libdir}/gstreamer-%{majorminor}/libgstaudioconvert.so
236 %{_libdir}/gstreamer-%{majorminor}/libgstefence.so
237 %{_libdir}/gstreamer-%{majorminor}/libgstgdkpixbuf.so
238 %{_libdir}/gstreamer-%{majorminor}/libgstrmdemux.so
239 %{_libdir}/gstreamer-%{majorminor}/libgsttimeoverlay.so
240 %{_libdir}/gstreamer-%{majorminor}/libgstvideobalance.so
241 %{_libdir}/gstreamer-%{majorminor}/libgstvideofilter.so
242 %{_libdir}/gstreamer-%{majorminor}/libgstvideoflip.so
243 %{_libdir}/gstreamer-%{majorminor}/libgstmpeg1types.so
244 %{_libdir}/gstreamer-%{majorminor}/libgstmpeg1encoder.so
245 %{_libdir}/gstreamer-%{majorminor}/libgstmpeg1systemencode.so
246 %{_libdir}/gstreamer-%{majorminor}/libgstmpegaudio.so
247 %{_libdir}/gstreamer-%{majorminor}/libgstmpegaudioparse.so
248 %{_libdir}/gstreamer-%{majorminor}/libgstmp1videoparse.so
249 %{_libdir}/gstreamer-%{majorminor}/libgstmpegstream.so
250 %{_libdir}/gstreamer-%{majorminor}/libgstmpeg2enc.so
251 %{_libdir}/gstreamer-%{majorminor}/libgstmpeg2dec.so
252 %{_libdir}/gstreamer-%{majorminor}/libgstmpeg2subt.so
253 %{_libdir}/gstreamer-%{majorminor}/libgstmpeg2types.so
254
255
256 # non-core plugins with external dependencies
257 @USE_ARTS_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstarts.so
258 @USE_ARTSC_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstartsdsink.so
259 @USE_AUDIOFILE_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstaudiofile.so
260 @USE_CDPARANOIA_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstcdparanoia.so
261 @USE_ESD_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstesdmon.so
262 @USE_ESD_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstesdsink.so
263 @USE_GNOME_VFS_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstgnomevfssrc.so
264 @USE_GNOME_VFS_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstgnomevfssink.so
265 @USE_JPEG_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstjpeg.so
266 @USE_MIKMOD_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstmikmod.so
267 @USE_SDL_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstsdlvideosink.so
268 @USE_VORBIS_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstvorbis.so
269 @USE_LIBPNG_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstpng.so
270 @USE_OSS_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstossaudio.so
271 @USE_V4L_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstv4lelement.so
272 @USE_V4L_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstv4lsrc.so
273 @USE_V4L_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstv4lmjpegsrc.so
274 @USE_V4L_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstv4lmjpegsink.so
275 @USE_RAW1394_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgst1394.so
276 @USE_XVIDEO_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstxvideosink.so
277 @USE_GCONF_TRUE@%{_sysconfdir}/gconf/schemas/gstreamer.schemas
278 @USE_GCONF_TRUE@%{_libdir}/libgstgconf-%{majorminor}.so.*
279 @USE_GCONF_TRUE@%{_libdir}/pkgconfig/gstreamer-gconf-%{majorminor}.pc
280 # Snapshot plugin
281 @USE_LIBPNG_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstsnapshot.so
282
283 %post 
284 %{_bindir}/gst-register > /dev/null 2> /dev/null
285
286
287
288 %package -n gstreamer-plugins-devel
289 Summary:        GStreamer Plugin Library Headers.
290 Group:          Development/Libraries
291 Requires:       gstreamer-plugins = %{version}
292 Provides:       gstreamer-play-devel = %{version}
293
294 %description -n gstreamer-plugins-devel
295 GStreamer support libraries header files.
296
297 %files -n gstreamer-plugins-devel
298 %defattr(-, root, root)
299 %{_includedir}/gstreamer-%{majorminor}/gst/gconf/gconf.h
300 %{_includedir}/gstreamer-%{majorminor}/gst/play/play.h
301 %{_includedir}/gstreamer-%{majorminor}/gst/audio/audio.h
302 %{_includedir}/gstreamer-%{majorminor}/gst/floatcast/floatcast.h
303 %{_includedir}/gstreamer-%{majorminor}/gst/idct/idct.h
304 %{_includedir}/gstreamer-%{majorminor}/gst/resample/resample.h
305 %{_includedir}/gstreamer-%{majorminor}/gst/riff/riff.h
306 %{_includedir}/gstreamer-%{majorminor}/gst/video/video.h
307 %{_libdir}/pkgconfig/gstreamer-libs-%{majorminor}.pc
308 %{_libdir}/pkgconfig/gstreamer-play-%{majorminor}.pc
309 @USE_GCONF_TRUE@%{_libdir}/libgstgconf-%{majorminor}.so
310 %{_libdir}/libgstplay-%{majorminor}.so
311
312 # Here are all the packages depending on external libs #
313
314 ### A52DEC ###
315 @USE_A52DEC_TRUE@%package -n gstreamer-a52dec
316 @USE_A52DEC_TRUE@Summary:       GStreamer VOB decoder plug-in.
317 @USE_A52DEC_TRUE@Group:         Libraries/Multimedia
318 @USE_A52DEC_TRUE@Requires:      gstreamer-plugins = %{version}
319 @USE_A52DEC_TRUE@Requires:      a52dec >= 0.7.3
320 @USE_A52DEC_TRUE@BuildRequires: a52dec-devel >= 0.7.3
321 @USE_A52DEC_TRUE@
322 @USE_A52DEC_TRUE@%description -n gstreamer-a52dec
323 @USE_A52DEC_TRUE@Plug-in for decoding of VOB files.
324 @USE_A52DEC_TRUE@
325 @USE_A52DEC_TRUE@%files -n gstreamer-a52dec
326 @USE_A52DEC_TRUE@%defattr(-, root, root)
327 @USE_A52DEC_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgsta52dec.so
328 %{_libdir}/gstreamer-%{majorminor}/libgstac3parse.so
329 @USE_A52DEC_TRUE@
330 @USE_A52DEC_TRUE@%post -n gstreamer-a52dec
331 @USE_A52DEC_TRUE@%{_bindir}/gst-register > /dev/null 2> /dev/null
332 @USE_A52DEC_TRUE@
333 @USE_A52DEC_TRUE@%postun -n gstreamer-a52dec
334 @USE_A52DEC_TRUE@%{_bindir}/gst-register > /dev/null 2> /dev/null
335
336 ### AALIB ###
337 @USE_AALIB_TRUE@%package -n gstreamer-aalib
338 @USE_AALIB_TRUE@Summary:        GStreamer plug-in for Ascii-art output.
339 @USE_AALIB_TRUE@Group:          Libraries/Multimedia
340 @USE_AALIB_TRUE@Requires:       gstreamer-plugins = %{version}
341 @USE_AALIB_TRUE@Requires:       aalib >= 1.3
342 @USE_AALIB_TRUE@BuildRequires:  aalib-devel >= 1.3
343 @USE_AALIB_TRUE@
344 @USE_AALIB_TRUE@%description -n gstreamer-aalib
345 @USE_AALIB_TRUE@Plug-in for viewing video in Ascii-art using aalib library.
346 @USE_AALIB_TRUE@
347 @USE_AALIB_TRUE@%files -n gstreamer-aalib
348 @USE_AALIB_TRUE@%defattr(-, root, root)
349 @USE_AALIB_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstaasink.so
350 @USE_AALIB_TRUE@
351 @USE_AALIB_TRUE@%post -n gstreamer-aalib
352 @USE_AALIB_TRUE@%{_bindir}/gst-register > /dev/null 2> /dev/null
353 @USE_AALIB_TRUE@
354 @USE_AALIB_TRUE@%postun -n gstreamer-aalib
355 @USE_AALIB_TRUE@%{_bindir}/gst-register > /dev/null 2> /dev/null
356 @USE_AALIB_TRUE@### %{_bindir}/gst-compprep > /dev/null 2> /dev/null
357
358 ### ALSA ###
359 @USE_ALSA_TRUE@%package -n gstreamer-alsa
360 @USE_ALSA_TRUE@Summary:  GStreamer plug-ins for the ALSA sound system.
361 @USE_ALSA_TRUE@Group:    Libraries/Multimedia
362 @USE_ALSA_TRUE@Requires: gstreamer-plugins = %{version}
363 @USE_ALSA_TRUE@
364 @USE_ALSA_TRUE@Provides:        gstreamer-audiosrc
365 @USE_ALSA_TRUE@Provides:        gstreamer-audiosink
366 @USE_ALSA_TRUE@
367 @USE_ALSA_TRUE@%description -n gstreamer-alsa
368 @USE_ALSA_TRUE@Input and output plug-in for the ALSA soundcard driver system. 
369 @USE_ALSA_TRUE@This plug-in depends on Alsa 0.9.x or higher.
370 @USE_ALSA_TRUE@
371 @USE_ALSA_TRUE@%files -n gstreamer-alsa
372 @USE_ALSA_TRUE@%defattr(-, root, root)
373 @USE_ALSA_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstalsa.so
374 ### @USE_ALSA_TRUE@%{_mandir}/man1/gstalsa*
375 @USE_ALSA_TRUE@
376 @USE_ALSA_TRUE@%post -n gstreamer-alsa
377 @USE_ALSA_TRUE@%{_bindir}/gst-register > /dev/null 2> /dev/null
378 @USE_ALSA_TRUE@### %{_bindir}/gst-compprep > /dev/null 2> /dev/null
379 @USE_ALSA_TRUE@
380 @USE_ALSA_TRUE@%postun -n gstreamer-alsa
381 @USE_ALSA_TRUE@%{_bindir}/gst-register > /dev/null 2> /dev/null
382 @USE_ALSA_TRUE@### %{_bindir}/gst-compprep > /dev/null 2> /dev/null
383
384
385 ### SWFDEC FLASH PLUGIN ###
386 @USE_SWFDEC_TRUE@%package -n gstreamer-swfdec
387 @USE_SWFDEC_TRUE@Summary:  GStreamer Flash redering plug-in.
388 @USE_SWFDEC_TRUE@Group:    Libraries/Multimedia
389 @USE_SWFDEC_TRUE@Requires: gstreamer-plugins = %{version}
390 @USE_SWFDEC_TRUE@Requires: swfdec => 0.1.2
391 @USE_SWFDEC_TRUE@
392 @USE_SWFDEC_TRUE@%description -n gstreamer-swfdec
393 @USE_SWFDEC_TRUE@Plug-in for rendering Flash animations using swfdec library
394 @USE_SWFDEC_TRUE@
395 @USE_SWFDEC_TRUE@%files -n gstreamer-swfdec
396 @USE_SWFDEC_TRUE@%defattr(-, root, root)
397 @USE_SWFDEC_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstswfdec.so
398 @USE_SWFDEC_TRUE@
399 @USE_SWFDEC_TRUE@%post -n gstreamer-swfdec
400 @USE_SWFDEC_TRUE@%{_bindir}/gst-register > /dev/null 2> /dev/null
401 @USE_SWFDEC_TRUE@
402 @USE_SWFDEC_TRUE@%postun -n gstreamer-swfdec
403 @USE_SWFDEC_TRUE@%{_bindir}/gst-register > /dev/null 2> /dev/null
404
405 ### AVI ###
406 %package -n gstreamer-avi
407 Summary:       GStreamer plug-in for AVI movie playback.
408 Group:         Libraries/Multimedia
409 Requires:      gstreamer-plugins = %{version}
410 Requires:      gstreamer-colorspace = %{version}
411
412 %description -n gstreamer-avi
413 Plug-ins for playback of AVI format media files.
414
415 %files -n gstreamer-avi
416 %defattr(-, root, root)
417 %{_libdir}/gstreamer-%{majorminor}/libgstavidemux.so
418 %{_libdir}/gstreamer-%{majorminor}/libgstavimux.so
419
420 %post -n gstreamer-avi
421 %{_bindir}/gst-register > /dev/null 2> /dev/null
422 ### %{_bindir}/gst-compprep > /dev/null 2> /dev/null
423
424 %postun -n gstreamer-avi
425 %{_bindir}/gst-register > /dev/null 2> /dev/null
426 ### %{_bindir}/gst-compprep > /dev/null 2> /dev/null
427
428
429 ### DVDREAD ###
430 @USE_DVDREAD_TRUE@%package -n gstreamer-libdvdread
431 @USE_DVDREAD_TRUE@Summary:       GStreamer plug-in for DVD playback.
432 @USE_DVDREAD_TRUE@Group:         Libraries/Multimedia
433 @USE_DVDREAD_TRUE@Requires:      gstreamer-plugins = %{version}
434 @USE_DVDREAD_TRUE@Requires:      libdvdread >= 0.9.0
435 @USE_DVDREAD_TRUE@BuildRequires: libdvdread-devel >= 0.9.0
436 @USE_DVDREAD_TRUE@Obsoletes:     gstreamer-libdvd
437 @USE_DVDREAD_TRUE@
438 @USE_DVDREAD_TRUE@%description -n gstreamer-libdvdread
439 @USE_DVDREAD_TRUE@Plug-in for reading DVDs using libdvdread under GStreamer.
440 @USE_DVDREAD_TRUE@
441 @USE_DVDREAD_TRUE@%files -n gstreamer-libdvdread
442 @USE_DVDREAD_TRUE@%defattr(-, root, root)
443 @USE_DVDREAD_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstdvdreadsrc.so
444 @USE_DVDREAD_TRUE@
445 @USE_DVDREAD_TRUE@%post -n gstreamer-libdvdread
446 @USE_DVDREAD_TRUE@%{_bindir}/gst-register > /dev/null 2> /dev/null
447 @USE_DVDREAD_TRUE@### %{_bindir}/gst-compprep > /dev/null 2> /dev/null
448 @USE_DVDREAD_TRUE@
449 @USE_DVDREAD_TRUE@%postun -n gstreamer-libdvdread
450 @USE_DVDREAD_TRUE@%{_bindir}/gst-register > /dev/null 2> /dev/null
451 @USE_DVDREAD_TRUE@### %{_bindir}/gst-compprep > /dev/null 2> /dev/null
452
453 ### DVDNAV ###
454 @USE_DVDNAV_TRUE@%package -n gstreamer-libdvdnav
455 @USE_DVDNAV_TRUE@Summary:       GStreamer plug-in for DVD playback.
456 @USE_DVDNAV_TRUE@Group:         Libraries/Multimedia
457 @USE_DVDNAV_TRUE@Requires:      gstreamer-plugins = %{version}
458 @USE_DVDNAV_TRUE@Requires:      libdvdnav >= 0.1.3
459 @USE_DVDNAV_TRUE@BuildRequires: libdvdnav-devel >= 0.1.3
460 @USE_DVDNAV_TRUE@Obsoletes:     gstreamer-libdvd
461 @USE_DVDNAV_TRUE@
462 @USE_DVDNAV_TRUE@%description -n gstreamer-libdvdnav
463 @USE_DVDNAV_TRUE@Plug-in for reading DVDs using libdvdnav  under GStreamer.
464 @USE_DVDNAV_TRUE@
465 @USE_DVDNAV_TRUE@%files -n gstreamer-libdvdnav
466 @USE_DVDNAV_TRUE@%defattr(-, root, root)
467 @USE_DVDNAV_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstdvdnavsrc.so
468 @USE_DVDNAV_TRUE@
469 @USE_DVDNAV_TRUE@%post -n gstreamer-libdvdnav
470 @USE_DVDNAV_TRUE@%{_bindir}/gst-register > /dev/null 2> /dev/null
471 @USE_DVDNAV_TRUE@### %{_bindir}/gst-compprep > /dev/null 2> /dev/null
472 @USE_DVDNAV_TRUE@
473 @USE_DVDNAV_TRUE@%postun -n gstreamer-libdvdnav
474 @USE_DVDNAV_TRUE@%{_bindir}/gst-register > /dev/null 2> /dev/null
475 @USE_DVDNAV_TRUE@### %{_bindir}/gst-compprep > /dev/null 2> /dev/null
476
477 ## DXR3 ###
478 @USE_DXR3_TRUE@%package -n gstreamer-dxr3
479 @USE_DXR3_TRUE@Summary:       GStreamer plug-in for playback using dxr3 card.
480 @USE_DXR3_TRUE@Group:         Libraries/Multimedia
481 @USE_DXR3_TRUE@Requires:      gstreamer-plugins = %{version}
482 @USE_DXR3_TRUE@Requires:      em8300 => 0.12.0
483 @USE_DXR3_TRUE@BuildRequires: em8300-devel => 0.12.0
484 @USE_DXR3_TRUE@
485 @USE_DXR3_TRUE@%description -n gstreamer-dxr3
486 @USE_DXR3_TRUE@Plug-in supporting DVD playback using cards
487 @USE_DXR3_TRUE@with the dxr3 chipset like Hollywood Plus
488 @USE_DXR3_TRUE@and Creative Labs DVD cards.
489 @USE_DXR3_TRUE@
490 @USE_DXR3_TRUE@%files -n gstreamer-dxr3
491 @USE_DXR3_TRUE@%defattr(-, root, root)
492 @USE_DXR3_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstdxr3.so
493 @USE_DXR3_TRUE@
494 @USE_DXR3_TRUE@%post -n gstreamer-dxr3
495 @USE_DXR3_TRUE@%{_bindir}/gst-register > /dev/null 2> /dev/null
496 @USE_DXR3_TRUE@### %{_bindir}/gst-compprep > /dev/null 2> /dev/null
497 @USE_DXR3_TRUE@
498 @USE_DXR3_TRUE@%postun -n gstreamer-dxr3
499 @USE_DXR3_TRUE@%{_bindir}/gst-register > /dev/null 2> /dev/null
500 @USE_DXR3_TRUE@### %{_bindir}/gst-compprep > /dev/null 2> /dev/null
501
502 ### FLAC ###
503 @USE_FLAC_TRUE@%package -n gstreamer-flac
504 @USE_FLAC_TRUE@Summary:       GStreamer plug-in for FLAC lossless audio.
505 @USE_FLAC_TRUE@Group:         Libraries/Multimedia
506 @USE_FLAC_TRUE@Requires:      gstreamer-plugins = %{version}
507 @USE_FLAC_TRUE@Requires:      flac >= 1.0.3
508 @USE_FLAC_TRUE@BuildRequires: flac-devel >= 1.0.3
509 @USE_FLAC_TRUE@
510 @USE_FLAC_TRUE@%description -n gstreamer-flac
511 @USE_FLAC_TRUE@Plug-in for the free FLAC lossless audio format.
512 @USE_FLAC_TRUE@
513 @USE_FLAC_TRUE@%files -n gstreamer-flac
514 @USE_FLAC_TRUE@%defattr(-, root, root)
515 @USE_FLAC_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstflac.so
516 @USE_FLAC_TRUE@
517 @USE_FLAC_TRUE@%post -n gstreamer-flac
518 @USE_FLAC_TRUE@%{_bindir}/gst-register > /dev/null 2> /dev/null
519 @USE_FLAC_TRUE@### %{_bindir}/gst-compprep > /dev/null 2> /dev/null
520 @USE_FLAC_TRUE@
521 @USE_FLAC_TRUE@%postun -n gstreamer-flac
522 @USE_FLAC_TRUE@%{_bindir}/gst-register > /dev/null 2> /dev/null
523 @USE_FLAC_TRUE@### %{_bindir}/gst-compprep > /dev/null 2> /dev/null
524
525 ### GSM ###
526 @USE_GSM_TRUE@%package -n gstreamer-gsm
527 @USE_GSM_TRUE@Summary:       GStreamer plug-in for GSM lossy audio format.
528 @USE_GSM_TRUE@Group:         Libraries/Multimedia
529 @USE_GSM_TRUE@Requires:      gstreamer-plugins = %{version}
530 @USE_GSM_TRUE@Requires:      gsm >= 1.0.10
531 @USE_GSM_TRUE@BuildRequires: gsm-devel >= 1.0.10
532 @USE_GSM_TRUE@
533 @USE_GSM_TRUE@%description -n gstreamer-gsm
534 @USE_GSM_TRUE@Output plug-in for GStreamer to convert to GSM lossy audio format.
535 @USE_GSM_TRUE@
536 @USE_GSM_TRUE@%files -n gstreamer-gsm
537 @USE_GSM_TRUE@%defattr(-, root, root)
538 @USE_GSM_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstgsm.so
539 @USE_GSM_TRUE@
540 @USE_GSM_TRUE@%post -n gstreamer-gsm
541 @USE_GSM_TRUE@%{_bindir}/gst-register > /dev/null 2> /dev/null
542 @USE_GSM_TRUE@### %{_bindir}/gst-compprep > /dev/null 2> /dev/null
543 @USE_GSM_TRUE@
544 @USE_GSM_TRUE@%postun -n gstreamer-gsm
545 @USE_GSM_TRUE@%{_bindir}/gst-register > /dev/null 2> /dev/null
546 @USE_GSM_TRUE@### %{_bindir}/gst-compprep > /dev/null 2> /dev/null
547
548 ### HERMES ###
549 @USE_HERMES_TRUE@%package -n gstreamer-colorspace
550 @USE_HERMES_TRUE@Summary:       GStreamer colorspace conversion plug-in.
551 @USE_HERMES_TRUE@Group:         Libraries/Multimedia
552 @USE_HERMES_TRUE@Requires:      gstreamer-plugins = %{version}
553 @USE_HERMES_TRUE@Requires:      Hermes => 1.3.0
554 @USE_HERMES_TRUE@BuildRequires: Hermes-devel => 1.3.0
555 @USE_HERMES_TRUE@%description -n gstreamer-colorspace
556 @USE_HERMES_TRUE@Colorspace plug-in based on Hermes library.
557 @USE_HERMES_TRUE@
558 @USE_HERMES_TRUE@%files -n gstreamer-colorspace
559 @USE_HERMES_TRUE@%defattr(-, root, root)
560 @USE_HERMES_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstcolorspace.so
561 @USE_HERMES_TRUE@
562 @USE_HERMES_TRUE@%post -n gstreamer-colorspace
563 @USE_HERMES_TRUE@%{_bindir}/gst-register > /dev/null 2> /dev/null
564 @USE_HERMES_TRUE@### %{_bindir}/gst-compprep > /dev/null 2> /dev/null
565 @USE_HERMES_TRUE@
566 @USE_HERMES_TRUE@%postun -n gstreamer-colorspace
567 @USE_HERMES_TRUE@%{_bindir}/gst-register > /dev/null 2> /dev/null
568 @USE_HERMES_TRUE@### %{_bindir}/gst-compprep > /dev/null 2> /dev/null
569
570 #### JACK AUDIO CONNECTION KIT ###
571 @USE_JACK_TRUE@%package -n gstreamer-jack
572 @USE_JACK_TRUE@Summary:  GStreamer plug-in for the Jack Sound Server.
573 @USE_JACK_TRUE@Group:    Libraries/Multimedia
574 @USE_JACK_TRUE@Requires: gstreamer-plugins = %{version}
575 @USE_JACK_TRUE@Requires: jack-audio-connection-kit => 0.28.0
576 @USE_JACK_TRUE@
577 @USE_JACK_TRUE@Provides:        gstreamer-audiosrc
578 @USE_JACK_TRUE@Provides:        gstreamer-audiosink
579 @USE_JACK_TRUE@
580 @USE_JACK_TRUE@%description -n gstreamer-jack
581 @USE_JACK_TRUE@Plug-in for the JACK professional sound server.
582 @USE_JACK_TRUE@
583 @USE_JACK_TRUE@%files -n gstreamer-jack
584 @USE_JACK_TRUE@%defattr(-, root, root)
585 @USE_JACK_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstjack.so
586 @USE_JACK_TRUE@
587 @USE_JACK_TRUE@%post -n gstreamer-jack
588 @USE_JACK_TRUE@%{_bindir}/gst-register > /dev/null 2> /dev/null
589 @USE_JACK_TRUE@### %{_bindir}/gst-compprep > /dev/null 2> /dev/null
590 @USE_JACK_TRUE@
591 @USE_JACK_TRUE@%postun -n gstreamer-jack
592 @USE_JACK_TRUE@%{_bindir}/gst-register > /dev/null 2> /dev/null
593 @USE_JACK_TRUE@### %{_bindir}/gst-compprep > /dev/null 2> /dev/null
594
595 ### LADSPA ###
596 @USE_LADSPA_TRUE@%package -n gstreamer-ladspa
597 @USE_LADSPA_TRUE@Summary:       GStreamer wrapper for LADSPA plug-ins.
598 @USE_LADSPA_TRUE@Group:         Libraries/Multimedia
599 @USE_LADSPA_TRUE@Requires:      gstreamer-plugins = %{version}
600 @USE_LADSPA_TRUE@Requires:      ladspa
601 @USE_LADSPA_TRUE@BuildRequires: ladspa-devel
602 @USE_LADSPA_TRUE@
603 @USE_LADSPA_TRUE@%description -n gstreamer-ladspa
604 @USE_LADSPA_TRUE@Plug-in which wraps LADSPA plug-ins for use by GStreamer applications.
605 @USE_LADSPA_TRUE@We suggest you also get the cmt package of ladspa plug-ins
606 @USE_LADSPA_TRUE@and steve harris s swh-plugins package.
607 @USE_LADSPA_TRUE@
608 @USE_LADSPA_TRUE@%files -n gstreamer-ladspa
609 @USE_LADSPA_TRUE@%defattr(-, root, root)
610 @USE_LADSPA_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstladspa.so
611 @USE_LADSPA_TRUE@
612 @USE_LADSPA_TRUE@%post -n gstreamer-ladspa
613 @USE_LADSPA_TRUE@%{_bindir}/gst-register > /dev/null 2> /dev/null
614 @USE_LADSPA_TRUE@### %{_bindir}/gst-compprep > /dev/null 2> /dev/null
615 @USE_LADSPA_TRUE@
616 @USE_LADSPA_TRUE@%postun -n gstreamer-ladspa
617 @USE_LADSPA_TRUE@%{_bindir}/gst-register  > /dev/null 2> /dev/null
618 @USE_LADSPA_TRUE@### %{_bindir}/gst-compprep > /dev/null 2> /dev/null
619
620 ### LAME ###
621 @USE_LAME_TRUE@%package -n gstreamer-lame
622 @USE_LAME_TRUE@Summary:       GStreamer plug-in encoding mp3 songs using lame.
623 @USE_LAME_TRUE@Group:         Libraries/Multimedia
624 @USE_LAME_TRUE@Requires:      gstreamer-plugins = %{version}
625 @USE_LAME_TRUE@Requires:      lame >= 3.89
626 @USE_LAME_TRUE@BuildRequires: lame-devel >= 3.89
627 @USE_LAME_TRUE@
628 @USE_LAME_TRUE@%description -n gstreamer-lame
629 @USE_LAME_TRUE@Plug-in for encoding mp3 with lame under GStreamer.
630 @USE_LAME_TRUE@
631 @USE_LAME_TRUE@%files -n gstreamer-lame
632 @USE_LAME_TRUE@%defattr(-, root, root)
633 @USE_LAME_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstlame.so
634 @USE_LAME_TRUE@
635 @USE_LAME_TRUE@%post -n gstreamer-lame
636 @USE_LAME_TRUE@%{_bindir}/gst-register > /dev/null 2> /dev/null
637 @USE_LAME_TRUE@### %{_bindir}/gst-compprep > /dev/null 2> /dev/null
638 @USE_LAME_TRUE@
639 @USE_LAME_TRUE@%postun -n gstreamer-lame
640 @USE_LAME_TRUE@%{_bindir}/gst-register > /dev/null 2> /dev/null
641
642 ### LIBDV ###
643 @USE_LIBDV_TRUE@%package -n gstreamer-dv
644 @USE_LIBDV_TRUE@Summary:       GStreamer DV plug-in.
645 @USE_LIBDV_TRUE@Group:         Libraries/Multimedia
646 @USE_LIBDV_TRUE@Requires:      gstreamer-plugins = %{version}
647 @USE_LIBDV_TRUE@Requires:      libdv >= 0.9.5
648 @USE_LIBDV_TRUE@BuildRequires: libdv-devel >= 0.9.5
649 @USE_LIBDV_TRUE@
650 @USE_LIBDV_TRUE@%description -n gstreamer-dv
651 @USE_LIBDV_TRUE@Plug-in for digital video support using libdv.
652 @USE_LIBDV_TRUE@
653 @USE_LIBDV_TRUE@%files -n gstreamer-dv
654 @USE_LIBDV_TRUE@%defattr(-, root, root)
655 @USE_LIBDV_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstdvdec.so
656 @USE_LIBDV_TRUE@
657 @USE_LIBDV_TRUE@%post -n gstreamer-dv
658 @USE_LIBDV_TRUE@%{_bindir}/gst-register > /dev/null 2> /dev/null
659 @USE_LIBDV_TRUE@### %{_bindir}/gst-compprep > /dev/null 2> /dev/null
660 @USE_LIBDV_TRUE@
661 @USE_LIBDV_TRUE@%postun -n gstreamer-dv
662 @USE_LIBDV_TRUE@%{_bindir}/gst-register > /dev/null 2> /dev/null
663
664
665 ### LIBFAME ###
666 @USE_LIBFAME_TRUE@%package -n gstreamer-libfame
667 @USE_LIBFAME_TRUE@Summary:       GStreamer plug-in to encode MPEG1/MPEG4 video.
668 @USE_LIBFAME_TRUE@Group:         Libraries/Multimedia
669 @USE_LIBFAME_TRUE@Requires:      gstreamer-plugins = %{version}
670 @USE_LIBFAME_TRUE@Requires:      libfame >= 0.9.0 
671 @USE_LIBFAME_TRUE@BuildRequires: libfame-devel >= 0.9.0 
672 @USE_LIBFAME_TRUE@
673 @USE_LIBFAME_TRUE@%description -n gstreamer-libfame
674 @USE_LIBFAME_TRUE@Plug-in for encoding MPEG1/MPEG4 video using libfame.
675 @USE_LIBFAME_TRUE@
676 @USE_LIBFAME_TRUE@%files -n gstreamer-libfame
677 @USE_LIBFAME_TRUE@%defattr(-, root, root)
678 @USE_LIBFAME_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstlibfame.so
679 @USE_LIBFAME_TRUE@
680 @USE_LIBFAME_TRUE@%post -n gstreamer-libfame
681 @USE_LIBFAME_TRUE@%{_bindir}/gst-register > /dev/null 2> /dev/null
682 @USE_LIBFAME_TRUE@### %{_bindir}/gst-compprep > /dev/null 2> /dev/null
683 @USE_LIBFAME_TRUE@
684 @USE_LIBFAME_TRUE@%postun -n gstreamer-libfame
685 @USE_LIBFAME_TRUE@%{_bindir}/gst-register > /dev/null 2> /dev/null
686
687 ### MAD ###
688 @USE_MAD_TRUE@%package -n gstreamer-mad  
689 @USE_MAD_TRUE@Summary:       GStreamer plug-in using MAD for mp3 decoding.
690 @USE_MAD_TRUE@Group:         Libraries/Multimedia
691 @USE_MAD_TRUE@Requires:      gstreamer-plugins = %{version}
692 @USE_MAD_TRUE@Requires:      libmad >= 0.13.0
693 @USE_MAD_TRUE@BuildRequires: libmad-devel >= 0.13.0
694 @USE_MAD_TRUE@
695 @USE_MAD_TRUE@%description -n gstreamer-mad
696 @USE_MAD_TRUE@Plug-in for playback of mp3 songs using the very good MAD library.
697 @USE_MAD_TRUE@
698 @USE_MAD_TRUE@%files -n gstreamer-mad
699 @USE_MAD_TRUE@%defattr(-, root, root)  
700 @USE_MAD_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstmad.so
701 @USE_MAD_TRUE@
702 @USE_MAD_TRUE@%post -n gstreamer-mad
703 @USE_MAD_TRUE@%{_bindir}/gst-register > /dev/null 2> /dev/null
704 @USE_MAD_TRUE@
705 @USE_MAD_TRUE@%postun -n gstreamer-mad
706 @USE_MAD_TRUE@%{_bindir}/gst-register > /dev/null 2> /dev/null
707
708 ### MPEG2DEC ###
709 @USE_MPEG2DEC_TRUE@%package -n gstreamer-mpeg
710 @USE_MPEG2DEC_TRUE@Summary:GStreamer plug-ins for MPEG video playback and encoding.
711 @USE_MPEG2DEC_TRUE@Group:         Libraries/Multimedia
712 @USE_MPEG2DEC_TRUE@Requires:      gstreamer-plugins = %{version}
713 @USE_MPEG2DEC_TRUE@Requires:      mpeg2dec => 0.3.1
714 @USE_MPEG2DEC_TRUE@BuildRequires: mpeg2dec-devel => 0.3.1
715 @USE_MPEG2DEC_TRUE@Obsoletes:     gstreamer-mpeg1
716 @USE_MPEG2DEC_TRUE@Obsoletes:     gstreamer-mpeg2
717 @USE_MPEG2DEC_TRUE@Obsoletes:     gstreamer-mpeg2dec
718 @USE_MPEG2DEC_TRUE@
719 @USE_MPEG2DEC_TRUE@%description -n gstreamer-mpeg
720 @USE_MPEG2DEC_TRUE@Plug-ins for playing and encoding MPEG video.
721 @USE_MPEG2DEC_TRUE@
722 @USE_MPEG2DEC_TRUE@%files -n gstreamer-mpeg
723 @USE_MPEG2DEC_TRUE@%defattr(-, root, root)
724 @USE_MPEG2DEC_TRUE@/usr/lib/gstreamer-0.7/libgstmpeg2dec.so
725 @USE_MPEG2DEC_TRUE@%post -n  gstreamer-mpeg
726 @USE_MPEG2DEC_TRUE@%{_bindir}/gst-register > /dev/null 2> /dev/null
727 @USE_MPEG2DEC_TRUE@### %{_bindir}/gst-compprep > /dev/null 2> /dev/null
728 @USE_MPEG2DEC_TRUE@
729 @USE_MPEG2DEC_TRUE@%postun -n  gstreamer-mpeg
730 @USE_MPEG2DEC_TRUE@%{_bindir}/gst-register > /dev/null 2> /dev/null
731 @USE_MPEG2DEC_TRUE@### %{_bindir}/gst-compprep > /dev/null 2> /dev/null
732
733 ### SIDPLAY ###
734 @USE_SIDPLAY_TRUE@%package -n gstreamer-sid
735 @USE_SIDPLAY_TRUE@Summary:       GStreamer Sid C64 music plug-in.
736 @USE_SIDPLAY_TRUE@Group:         Libraries/Multimedia
737 @USE_SIDPLAY_TRUE@Requires:      gstreamer-plugins = %{version}
738 @USE_SIDPLAY_TRUE@Requires:      libsidplay => 1.36.0
739 @USE_SIDPLAY_TRUE@BuildRequires: libsidplay-devel => 1.36.0
740 @USE_SIDPLAY_TRUE@
741 @USE_SIDPLAY_TRUE@%description -n gstreamer-sid
742 @USE_SIDPLAY_TRUE@Plug-in for playback of C64 SID format music files.
743 @USE_SIDPLAY_TRUE@
744 @USE_SIDPLAY_TRUE@%files -n gstreamer-sid
745 @USE_SIDPLAY_TRUE@%defattr(-, root, root)
746 @USE_SIDPLAY_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstsid.so
747 @USE_SIDPLAY_TRUE@
748 @USE_SIDPLAY_TRUE@%post -n gstreamer-sid
749 @USE_SIDPLAY_TRUE@%{_bindir}/gst-register > /dev/null 2> /dev/null
750 @USE_SIDPLAY_TRUE@### %{_bindir}/gst-compprep > /dev/null 2> /dev/null
751 @USE_SIDPLAY_TRUE@
752 @USE_SIDPLAY_TRUE@%postun -n gstreamer-sid
753 @USE_SIDPLAY_TRUE@%{_bindir}/gst-register > /dev/null 2> /dev/null
754 @USE_SIDPLAY_TRUE@### %{_bindir}/gst-compprep > /dev/null 2> /dev/null
755
756 ### SHOUT ###
757 @USE_SHOUT_TRUE@%package -n gstreamer-icecast
758 @USE_SHOUT_TRUE@Summary:       GStreamer Icecast plug-in using libshout.
759 @USE_SHOUT_TRUE@Group:         Libraries/Multimedia
760 @USE_SHOUT_TRUE@Requires:      gstreamer-plugins = %{version}
761 @USE_SHOUT_TRUE@Requires:      libshout >= 1.0.5
762 @USE_SHOUT_TRUE@BuildRequires: libshout-devel >= 1.0.5
763 @USE_SHOUT_TRUE@
764 @USE_SHOUT_TRUE@%description -n gstreamer-icecast
765 @USE_SHOUT_TRUE@Plug-in for broadcasting audio to the Icecast server.
766 @USE_SHOUT_TRUE@
767 @USE_SHOUT_TRUE@%files -n gstreamer-icecast
768 @USE_SHOUT_TRUE@%defattr(-, root, root)
769 @USE_SHOUT_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstshout.so
770 @USE_SHOUT_TRUE@
771 @USE_SHOUT_TRUE@%post -n gstreamer-icecast
772 @USE_SHOUT_TRUE@%{_bindir}/gst-register > /dev/null 2> /dev/null
773 @USE_SHOUT_TRUE@### %{_bindir}/gst-compprep > /dev/null 2> /dev/null
774 @USE_SHOUT_TRUE@
775 @USE_SHOUT_TRUE@%postun -n gstreamer-icecast
776 @USE_SHOUT_TRUE@%{_bindir}/gst-register > /dev/null 2> /dev/null
777 @USE_SHOUT_TRUE@### %{_bindir}/gst-compprep > /dev/null 2> /dev/null
778
779 ### VIDEO 4 LINUX 2 ###
780 @USE_V4L2_TRUE@%package -n gstreamer-v4l2
781 @USE_V4L2_TRUE@Summary:       GStreamer Video for Linux 2 plug-in.
782 @USE_V4L2_TRUE@Group:         Libraries/Multimedia
783 @USE_V4L2_TRUE@Requires:      gstreamer-plugins = %{version}
784 @USE_V4L2_TRUE@BuildRequires: glibc-devel
785 @USE_V4L2_TRUE@
786 @USE_V4L2_TRUE@%description -n gstreamer-v4l2
787 @USE_V4L2_TRUE@Plug-in for accessing Video for Linux devices.
788 @USE_V4L2_TRUE@
789 @USE_V4L2_TRUE@%files -n gstreamer-v4l2
790 @USE_V4L2_TRUE@%defattr(-, root, root)
791 @USE_V4L2_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstv4l2element.so
792 @USE_V4L2_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstv4l2src.so
793 @USE_V4L2_TRUE@
794 @USE_V4L2_TRUE@%post -n gstreamer-v4l2
795 @USE_V4L2_TRUE@%{_bindir}/gst-register > /dev/null 2> /dev/null
796 @USE_V4L2_TRUE@### %{_bindir}/gst-compprep > /dev/null 2> /dev/null
797 @USE_V4L2_TRUE@
798 @USE_V4L2_TRUE@%postun -n gstreamer-v4l2
799 @USE_V4L2_TRUE@%{_bindir}/gst-register > /dev/null 2> /dev/null
800 @USE_V4L2_TRUE@### %{_bindir}/gst-compprep > /dev/null 2> /dev/null
801
802 ### asf ###
803 %package -n gstreamer-asf
804 Summary:        GStreamer plug-in for asf video format.
805 Group:          Libraries/Multimedia
806 Requires:       gstreamer-plugins = %{version}
807 Requires:       gstreamer-colorspace = %{version}
808 %description -n gstreamer-asf
809 Plug-in for playing ASF movies under GStreamer.
810                                                                                 
811 %files -n gstreamer-asf
812 %defattr(-, root, root)
813 %{_libdir}/gstreamer-%{majorminor}/libgstasf*
814                                                                                 
815 %post -n gstreamer-asf
816 %{_bindir}/gst-register > /dev/null 2> /dev/null
817 ### %{_bindir}/gst-compprep > /dev/null 2> /dev/null
818                                                                                 
819 %postun -n gstreamer-asf
820 %{_bindir}/gst-register > /dev/null 2> /dev/null
821 ### %{_bindir}/gst-compprep > /dev/null 2> /dev/null
822
823
824 %changelog
825 * Sat Jul 12 2003 Thomas Vander Stichele <thomas at apestaart dot org>
826 - move gst/ mpeg plugins to base package
827 - remove hermes conditional from snapshot
828 - remove one instance of resample plugin
829 - fix up silly versioned plugins efence and rmdemux
830
831 * Sat Jul 05 2003 Christian Schaller <Uraeus@gnome.org>
832 - Major overhaul of SPEC file to make it compatible with what Red Hat ships
833   as default
834 - Probably a little less sexy, but cross-distro SPEC files are a myth anyway
835   so making it convenient for RH users wins out
836 - Keeping conditionals even with new re-org so that developers building the
837   RPMS don't need everything installed
838 - Add bunch of obsoletes to ease migration from earlier official GStreamer RPMS
839 - Remove plugins that doesn't exist anymore
840
841 * Sun Mar 02 2003 Christian Schaller <Uraeus@gnome.org>
842 - Remove USE_RTP statement from RTP plugin
843 - Move RTP plugin to no-deps section
844
845 * Sat Mar 01 2003 Christian Schaller <Uraeus@gnome.org>
846 - Remove videosink from SPEC
847 * Thu Jan 23 2003 Thomas Vander Stichele <thomas at apestaart dot org>
848 - various fixes
849 - make video output packages provide gstreamer-videosink
850
851 * Thu Jan 23 2003 Thomas Vander Stichele <thomas at apestaart dot org>
852 - split out ffmpeg stuff to separate plugin
853
854 * Fri Dec 27 2002 Thomas Vander Stichele <thomas at apestaart dot org>
855 - add virtual provides for audio sources and sinks
856
857 * Sun Dec 15 2002 Christian Schaller <Uraeus@linuxrising.org>
858 - Update mpeg2dec REQ to be 0.3.1
859
860 * Tue Dec 10 2002 Thomas Vander Stichele <thomas at apestaart dot org>
861 - only install schema once
862 - move out devel lib stuff to -devel package
863
864 * Sun Dec 08 2002 Thomas Vander Stichele <thomas at apestaart dot org>
865 - fix location of libgstpng
866 - changes for parallel installability
867
868 * Thu Nov 28 2002 Christian Schaller <Uraeus@linuxrising.org>
869 - Put in libgstpng plugin
870 - rm the libgstmedia-info stuff until thomas think they are ready
871
872 * Fri Nov 01 2002 Thomas Vander Stichele <thomas at apestaart dot org>
873 - don't use compprep until ABI issues can be fixed
874
875 * Wed Oct 30 2002 Thomas Vander Stichele <thomas at apestaart dot org>
876 - added smpte plugin
877 - split out dvdnavread package
878 - fixed snapshot deps and added hermes conditionals
879
880 * Tue Oct 29 2002 Thomas Vander Stichele <thomas at apestaart dot org>
881 - added -play package, libs, and .pc files
882
883 * Thu Oct 24 2002 Christian Schaller <Uraeus@linuxrising.org>
884 - Added wavenc to audio formats package
885
886 * Sat Oct 20 2002 Christian Scchaller <Uraeus@linuxrising.org>
887 - Removed all .la files
888 - added separate non-openquicktime demuxer plugin
889 - added snapshot plugin
890 - added videotest plugin
891 - Split avi plugin out to avi and windec plugins since aviplugin do not depend on avifile
892 - Added cdplayer plugin
893
894 * Fri Sep 20 2002 Thomas Vander Stichele <thomas@apestaart.org>
895 - added gst-compprep calls
896
897 * Wed Sep 18 2002 Thomas Vander Stichele <thomas@apestaart.org>
898 - add gst-register calls everywhere again since auto-reregister doesn't work
899 - added gstreamer-audio-formats to mad's requires since it needs the typefind
900   to work properly
901
902 * Mon Sep 9 2002 Christian Schaller <Uraeus@linuxrising.org>
903 - Added v4l2 plugin
904 * Thu Aug 27 2002 Christian Schaller <Uraeus@linuxrising.org>
905 - Fixed USE_DV_TRUE to USE_LIBDV_TRUE
906 - Added Gconf and floatcast headers to gstreamer-plugins-devel package
907 - Added mixmatrix plugin to audio-effects package
908
909 * Thu Jul 11 2002 Thomas Vander Stichele <thomas@apestaart.org>
910 - fixed oss package to buildrequire instead of require glibc headers
911
912 * Mon Jul 08 2002 Thomas Vander Stichele <thomas@apestaart.org>
913 - fixed -devel package group
914
915 * Fri Jul 05 2002 Thomas Vander Stichele <thomas@apestaart.org>
916 - release 0.4.0 !
917 - added gstreamer-libs.pc
918 - removed all gst-register calls since this should be done automatically now
919
920 * Thu Jul 04 2002 Thomas Vander Stichele <thomas@apestaart.org>
921 - fix issue with SDL package
922 - make all packages STRICTLY require the right version to avoid
923   ABI issues
924 - make gst-plugins obsolete gst-plugin-libs
925 - also send output of gst-register to /dev/null to lower the noise
926
927 * Wed Jul 03 2002 Thomas Vander Stichele <thomas@apestaart.org>
928 - require glibc-devel instead of glibc-kernheaders since the latter is only
929   since 7.3 and glibc-devel pulls in the right package anyway
930
931 * Sun Jun 23 2002 Thomas Vander Stichele <thomas@apestaart.org>
932 - changed header location of plug-in libs
933
934 * Mon Jun 17 2002 Thomas Vander Stichele <thomas@apestaart.org>
935 - major cleanups
936 - adding gst-register on postun everywhere
937 - remove ldconfig since we don't actually install libs in system dirs
938 - removed misc package
939 - added video-effects
940 - dot every Summary
941 - uniformify all descriptions a little
942
943 * Thu Jun 06 2002 Thomas Vander Stichele <thomas@apestaart.org>
944 - various BuildRequires: additions
945
946 * Tue Jun 04 2002 Thomas Vander Stichele <thomas@apestaart.org>
947 - added USE_LIBADSPA_TRUE bits to ladspa package
948
949 * Mon Jun 03 2002 Thomas Vander Stichele <thomas@apestaart.org>
950 - Added libfame package
951
952 * Mon May 12 2002 Christian Fredrik Kalager Schaller <Uraeus@linuxrising.org>
953 - Added jack, dxr3, http packages
954 - Added visualisation plug-ins, effecttv and synaesthesia
955 - Created devel package
956 - Removed gstreamer-plugins-libs package (moved it into gstreamer-plugins)
957 - Replaced prefix/dirname with _macros
958
959 * Mon May 06 2002 Thomas Vander Stichele <thomas@apestaart.org>
960 - added gstreamer-GConf package
961
962 * Wed Mar 13 2002 Thomas Vander Stichele <thomas@apestaart.org>
963 - added more BuildRequires and Requires
964 - rearranged some plug-ins
965 - added changelog ;)