summaryrefslogtreecommitdiffstats
path: root/gst-plugins.spec.in
blob: 3197ae05dd3bf011ec131b75defd39204cbb3f77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
%define prefix  /usr
%define sysconfdir /etc
Docdir: %{prefix}/doc
Prefix: %prefix

Summary: 	GStreamer Streaming-media framework plugins
Name: 		gstreamer-plugins
Version: 	@VERSION@
Release: 	@GST_PLUGINS_RELEASE@

Copyright: 	LGPL
Group: 		Libraries/Multimedia
Source: 	gst-plugins-%{version}.tar.gz
BuildRoot: 	%{_tmppath}/%{name}-%{version}-root

%define         _glib2          @GLIB2_REQ@

Requires:       glib2 >= %_glib2
BuildRequires:  glib2-devel >= %_glib2
Requires: gstreamer >= %{version}
BuildRequires: nasm => 0.90
BuildRequires: gstreamer-devel >= %{version} 

%description
GStreamer is a streaming-media framework, based on graphs of filters which
operate on media data. Applications using this library can do anything
from real-time sound processing to playing videos, and just about anything
else media-related.  Its plugin-based architecture means that new data
types or processing capabilities can be added simply by installing new
plugins.

%files
%defattr(-, root, root)
%doc AUTHORS COPYING README  
%{_bindir}/gst-launch-ext
%{_mandir}/man1/gst-launch-ext.*

%prep
%setup -n gst-plugins-%{version}
%build
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; \
%{?__libtoolize:[ -f configure.in ] && %{__libtoolize} --copy --force} ; \
./configure \
  --prefix=%{_prefix} \
  --exec-prefix=%{_exec_prefix} \
  --bindir=%{_bindir} \
  --sbindir=%{_sbindir} \
  --sysconfdir=%{_sysconfdir} \
  --datadir=%{_datadir} \
  --includedir=%{_includedir} \
  --libdir=%{_libdir} \
  --libexecdir=%{_libexecdir} \
  --localstatedir=%{_localstatedir} \
  --sharedstatedir=%{_sharedstatedir} \
  --mandir=%{_mandir} \
  --infodir=%{_infodir} \
  --enable-DEBUG 

if [ "$SMP" != "" ]; then
  (make "MAKE=make -k -j $SMP"; exit 0)
  make 2>&1 | tee make.log
else
  make 2>&1 | tee make.log
fi

%makeinstall

%clean
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT

### A52DEC ###
@USE_A52DEC_TRUE@%package -n gstreamer-a52dec
@USE_A52DEC_TRUE@Summary: GStreamer VOB decoder plugin
@USE_A52DEC_TRUE@Group: Libraries/Multimedia
@USE_A52DEC_TRUE@Requires: gstreamer-plugins >= %{version}
@USE_A52DEC_TRUE@Requires: a52dec >= 0.7.3
@USE_A52DEC_TRUE@Requires: a52dec-devel >= 0.7.3
@USE_A52DEC_TRUE@
@USE_A52DEC_TRUE@%description -n gstreamer-a52dec
@USE_A52DEC_TRUE@Plugin for decoding of VOB files
@USE_A52DEC_TRUE@
@USE_A52DEC_TRUE@%files -n gstreamer-a52dec
@USE_A52DEC_TRUE@%defattr(-, root, root)
@USE_A52DEC_TRUE@%{prefix}/lib/gst/libgsta52dec*
@USE_A52DEC_TRUE@
@USE_A52DEC_TRUE@%post -n gstreamer-a52dec
@USE_A52DEC_TRUE@%{prefix}/bin/gst-register --gst-mask=0 2> /dev/null

### AALIB ###
@USE_AALIB_TRUE@%package -n gstreamer-aalib
@USE_AALIB_TRUE@Summary: Gstreamer plugin for Ascii-art output
@USE_AALIB_TRUE@Group: Libraries/Multimedia
@USE_AALIB_TRUE@Requires: aalib >= 1.3
@USE_AALIB_TRUE@BuildRequires: aalib-devel >= 1.3
@USE_AALIB_TRUE@Requires: gstreamer-plugins >= %{version}
@USE_AALIB_TRUE@
@USE_AALIB_TRUE@%description -n gstreamer-aalib
@USE_AALIB_TRUE@Plugin for viewing movies in Ascii-art using aalib library.
@USE_AALIB_TRUE@
@USE_AALIB_TRUE@%files -n gstreamer-aalib
@USE_AALIB_TRUE@%defattr(-, root, root)
@USE_AALIB_TRUE@%{prefix}/lib/gst/libgstaa*
@USE_AALIB_TRUE@
@USE_AALIB_TRUE@%post -n gstreamer-aalib
@USE_AALIB_TRUE@%{prefix}/bin/gst-register --gst-mask=0 2> /dev/null

### ALSA ###
@USE_ALSA_TRUE@%package -n gstreamer-alsa
@USE_ALSA_TRUE@Summary: GStreamer plugins for the ALSA sound architecture
@USE_ALSA_TRUE@Group: Libraries/Multimedia
@USE_ALSA_TRUE@Requires: gstreamer-plugins >= %{version}
@USE_ALSA_TRUE@
@USE_ALSA_TRUE@%description -n gstreamer-alsa
@USE_ALSA_TRUE@Input and output plugin for the ALSA soundcard driver architecture.
@USE_ALSA_TRUE@
@USE_ALSA_TRUE@%files -n gstreamer-alsa
@USE_ALSA_TRUE@%defattr(-, root, root)
@USE_ALSA_TRUE@%{prefix}/lib/gst/libgstalsa*
@USE_ALSA_TRUE@
@USE_ALSA_TRUE@%post -n gstreamer-alsa
@USE_ALSA_TRUE@%{prefix}/bin/gst-register --gst-mask=0 2> /dev/null

### ARTS ###
@USE_ARTS_TRUE@%package -n gstreamer-artsd
@USE_ARTS_TRUE@Summary: GStreamer artsd output plugin
@USE_ARTS_TRUE@Group: Libraries/Multimedia
@USE_ARTS_TRUE@Requires: gstreamer-plugins >= %{version}
@USE_ARTS_TRUE@
@USE_ARTS_TRUE@%description -n gstreamer-artsd
@USE_ARTS_TRUE@Plugin for outputing to artsd sound server
@USE_ARTS_TRUE@
@USE_ARTS_TRUE@%files -n gstreamer-artsd
@USE_ARTS_TRUE@%defattr(-, root, root)
@USE_ARTS_TRUE@%{prefix}/lib/gst/libartsd*
@USE_ARTS_TRUE@
@USE_ARTS_TRUE@%post -n gstreamer-artsd
@USE_ARTS_TRUE@%{prefix}/bin/gst-register --gst-mask=0 2> /dev/null

### AUDIOFILE ###
@USE_AUDIOFILE_TRUE@%package -n gstreamer-audiofile
@USE_AUDIOFILE_TRUE@Summary: GStreamer plugin audiofile support
@USE_AUDIOFILE_TRUE@Group: Libraries/Multimedia
@USE_AUDIOFILE_TRUE@Requires: gstreamer-plugins >= %{version}
@USE_AUDIOFILE_TRUE@Requires: audiofile >= 0.2.1
@USE_AUDIOFILE_TRUE@Requires: gstreamer-plugin-libs = %{version}
@USE_AUDIOFILE_TRUE@
@USE_AUDIOFILE_TRUE@%description -n gstreamer-audiofile
@USE_AUDIOFILE_TRUE@Plugin for supporting reading and writing all files audiofile support
@USE_AUDIOFILE_TRUE@
@USE_AUDIOFILE_TRUE@%files -n gstreamer-audiofile
@USE_AUDIOFILE_TRUE@%defattr(-, root, root)
@USE_AUDIOFILE_TRUE@%{prefix}/lib/gst/libafs*
@USE_AUDIOFILE_TRUE@
@USE_AUDIOFILE_TRUE@%post -n  gstreamer-audiofile
@USE_AUDIOFILE_TRUE@%{prefix}/bin/gst-register --gst-mask=0 2> /dev/null

### AVIFILE ###
@USE_AVIFILE_TRUE@%package -n gstreamer-avi
@USE_AVIFILE_TRUE@Summary: Gstreamer plugin for AVI format movie playback
@USE_AVIFILE_TRUE@Group: Libraries/Multimedia
@USE_AVIFILE_TRUE@Requires: gstreamer-plugins >= %{version}
@USE_AVIFILE_TRUE@Requires: gstreamer-plugin-libs = %{version}
@USE_AVIFILE_TRUE@Requires: avifile = 0.6.20011111DD
@USE_AVIFILE_TRUE@Requires: gstreamer-colorspace >= %{version}
@USE_AVIFILE_TRUE@
@USE_AVIFILE_TRUE@%description -n gstreamer-avi
@USE_AVIFILE_TRUE@Plugins for playback of AVI format media files.
@USE_AVIFILE_TRUE@
@USE_AVIFILE_TRUE@%files -n gstreamer-avi
@USE_AVIFILE_TRUE@%defattr(-, root, root)
@USE_AVIFILE_TRUE@%{prefix}/lib/gst/libgstavi*
@USE_AVIFILE_TRUE@%{prefix}/lib/gst/libgstwincodec*
@USE_AVIFILE_TRUE@
@USE_AVIFILE_TRUE@%post -n gstreamer-avi
@USE_AVIFILE_TRUE@%{prefix}/bin/gst-register --gst-mask=0 2> /dev/null

### CDPARANOIA ###
@USE_CDPARANOIA_TRUE@%package -n gstreamer-cdparanoia
@USE_CDPARANOIA_TRUE@Summary: Gstreamer plugin for CD audio input using CDParanoia IV
@USE_CDPARANOIA_TRUE@Group: Libraries/Multimedia
@USE_CDPARANOIA_TRUE@Requires: cdparanoia >= alpha9.7
@USE_CDPARANOIA_TRUE@Requires: gstreamer-plugins >= %{version}
@USE_CDPARANOIA_TRUE@BuildRequires: cdparanoia-devel >= alpha9.7
@USE_CDPARANOIA_TRUE@
@USE_CDPARANOIA_TRUE@%description -n gstreamer-cdparanoia
@USE_CDPARANOIA_TRUE@Plugin for ripping audio tracks using cdparanoia under GStreamer
@USE_CDPARANOIA_TRUE@
@USE_CDPARANOIA_TRUE@%files -n gstreamer-cdparanoia
@USE_CDPARANOIA_TRUE@%defattr(-, root, root)
@USE_CDPARANOIA_TRUE@%{prefix}/lib/gst/libgstcdparanoia*
@USE_CDPARANOIA_TRUE@
@USE_CDPARANOIA_TRUE@%post -n gstreamer-cdparanoia
@USE_CDPARANOIA_TRUE@%{prefix}/bin/gst-register --gst-mask=0 2> /dev/null

### DVDREAD ###
@USE_DVDREAD_TRUE@%package -n gstreamer-libdvd
@USE_DVDREAD_TRUE@Summary: GStreamer plugins for DVD playback
@USE_DVDREAD_TRUE@Group: Libraries/Multimedia
@USE_DVDREAD_TRUE@Requires: gstreamer-plugins >= %{version}
@USE_DVDREAD_TRUE@Requires: libdvdread >= 0.9.0
@USE_DVDREAD_TRUE@BuildRequires: libdvdread-devel >= 0.9.0
@USE_DVDREAD_TRUE@
@USE_DVDREAD_TRUE@%description -n gstreamer-libdvd
@USE_DVDREAD_TRUE@Input and output plugin for the ALSA soundcard driver architecture.
@USE_DVDREAD_TRUE@
@USE_DVDREAD_TRUE@%files -n gstreamer-libdvd
@USE_DVDREAD_TRUE@%defattr(-, root, root)
@USE_DVDREAD_TRUE@%{prefix}/lib/gst/libgstdvd*
@USE_DVDREAD_TRUE@
@USE_DVDREAD_TRUE@%post -n gstreamer-libdvd
@USE_DVDREAD_TRUE@%{prefix}/bin/gst-register --gst-mask=0 2> /dev/null

### ESD ###
@USE_ESD_TRUE@%package -n gstreamer-esd
@USE_ESD_TRUE@Summary: Gstreamer plugin for ESD sound output
@USE_ESD_TRUE@Group: Libraries/Multimedia
@USE_ESD_TRUE@Requires: esound >= 0.2.8
@USE_ESD_TRUE@Requires: gstreamer-plugins >= %{version}
@USE_ESD_TRUE@
@USE_ESD_TRUE@%description -n gstreamer-esd
@USE_ESD_TRUE@Output plugin for GStreamer for use with the esound package
@USE_ESD_TRUE@
@USE_ESD_TRUE@%files -n gstreamer-esd
@USE_ESD_TRUE@%defattr(-, root, root)
@USE_ESD_TRUE@%{prefix}/lib/gst/libesd*
@USE_ESD_TRUE@
@USE_ESD_TRUE@%post -n gstreamer-esd
@USE_ESD_TRUE@%{prefix}/bin/gst-register --gst-mask=0 2> /dev/null
@USE_ESD_TRUE@
@USE_ESD_TRUE@%postun -n gstreamer-esd
@USE_ESD_TRUE@%{prefix}/bin/gst-register --gst-mask=0 2> /dev/null
@USE_ESD_TRUE@/sbin/ldconfig

### FESTIVAL ###
@USE_FESTIVAL_TRUE@%package -n gstreamer-festival
@USE_FESTIVAL_TRUE@Summary: GStreamer plugin for text-to-speech support using Festival
@USE_FESTIVAL_TRUE@Group: Libraries/Multimedia
@USE_FESTIVAL_TRUE@Requires: gstreamer-plugins >= %{version}
@USE_FESTIVAL_TRUE@Requires: festival >= 1.4.1
@USE_FESTIVAL_TRUE@BuildRequires: festival-devel >= 1.4.1
@USE_FESTIVAL_TRUE@
@USE_FESTIVAL_TRUE@%description -n gstreamer-festival
@USE_FESTIVAL_TRUE@Element for text-to-speech using the festival server.
@USE_FESTIVAL_TRUE@
@USE_FESTIVAL_TRUE@%files -n gstreamer-festival
@USE_FESTIVAL_TRUE@%defattr(-, root, root)
@USE_FESTIVAL_TRUE@%{prefix}/lib/gst/libgstfestival*
@USE_FESTIVAL_TRUE@
@USE_FESTIVAL_TRUE@%post -n gstreamer-festival
@USE_FESTIVAL_TRUE@%{prefix}/bin/gst-register --gst-mask=0 2> /dev/null

### FLAC ###
@USE_FLAC_TRUE@%package -n gstreamer-flac
@USE_FLAC_TRUE@Summary: Gstreamer plugin for FLAC lossless audio format
@USE_FLAC_TRUE@Group: Libraries/Multimedia
@USE_FLAC_TRUE@Requires: gstreamer-plugins >= %{version}
@USE_FLAC_TRUE@Requires: flac >= 1.0.0
@USE_FLAC_TRUE@
@USE_FLAC_TRUE@%description -n gstreamer-flac
@USE_FLAC_TRUE@Plugin for the free FLAC lossless audio format.
@USE_FLAC_TRUE@
@USE_FLAC_TRUE@%files -n gstreamer-flac
@USE_FLAC_TRUE@%defattr(-, root, root)
@USE_FLAC_TRUE@%{prefix}/lib/gst/libgstflac*
@USE_FLAC_TRUE@
@USE_FLAC_TRUE@%post -n gstreamer-flac
@USE_FLAC_TRUE@%{prefix}/bin/gst-register --gst-mask=0 2> /dev/null

### GNOME VFS ###
@USE_GNOME_VFS_TRUE@%package -n gstreamer-gnomevfs
@USE_GNOME_VFS_TRUE@Summary: GStreamer plugins for GNOME VFS input and output
@USE_GNOME_VFS_TRUE@Group: Libraries/Multimedia
@USE_GNOME_VFS_TRUE@Requires: gnome-vfs2 > 1.9.4.00
@USE_GNOME_VFS_TRUE@Requires: gstreamer-plugins >= %{version}
@USE_GNOME_VFS_TRUE@BuildRequires: gnome-vfs2-devel > 1.9.4.00
@USE_GNOME_VFS_TRUE@
@USE_GNOME_VFS_TRUE@%description -n gstreamer-gnomevfs
@USE_GNOME_VFS_TRUE@Plugins for reading and writing through GNOME VFS.
@USE_GNOME_VFS_TRUE@
@USE_GNOME_VFS_TRUE@%files -n gstreamer-gnomevfs
@USE_GNOME_VFS_TRUE@%defattr(-, root, root)
@USE_GNOME_VFS_TRUE@%{prefix}/lib/gst/libgstgnomevfs*
@USE_GNOME_VFS_TRUE@
@USE_GNOME_VFS_TRUE@%post -n gstreamer-gnomevfs
@USE_GNOME_VFS_TRUE@%{prefix}/bin/gst-register --gst-mask=0 2> /dev/null

### GSM ###
@USE_GSM_TRUE@%package -n gstreamer-gsm
@USE_GSM_TRUE@Summary: GStreamer plugin for GSM lossy audio format
@USE_GSM_TRUE@Group: Libraries/Multimedia
@USE_GSM_TRUE@Requires: gsm >= 1.0.10
@USE_GSM_TRUE@Requires: gstreamer-plugins >= %{version}
@USE_GSM_TRUE@BuildRequires: gsm-devel >= 1.0.10
@USE_GSM_TRUE@
@USE_GSM_TRUE@%description -n gstreamer-gsm
@USE_GSM_TRUE@Output plugin for GStreamer to convert to GSM lossy audio format.
@USE_GSM_TRUE@
@USE_GSM_TRUE@%files -n gstreamer-gsm
@USE_GSM_TRUE@%defattr(-, root, root)
@USE_GSM_TRUE@%{prefix}/lib/gst/libgstgsm*
@USE_GSM_TRUE@
@USE_GSM_TRUE@%post -n gstreamer-gsm
@USE_GSM_TRUE@%{prefix}/bin/gst-register --gst-mask=0 2> /dev/null

### HERMES ###
@USE_HERMES_TRUE@%package -n gstreamer-colorspace
@USE_HERMES_TRUE@Summary: Gstreamer colorspace conversion plugin
@USE_HERMES_TRUE@Group: Libraries/Multimedia
@USE_HERMES_TRUE@Requires: gstreamer-plugins >= %{version}
@USE_HERMES_TRUE@Requires: Hermes => 1.3.0
@USE_HERMES_TRUE@BuildRequires: Hermes-devel => 1.3.0
@USE_HERMES_TRUE@%description -n gstreamer-colorspace
@USE_HERMES_TRUE@Colorspace plugin based on Hermes library
@USE_HERMES_TRUE@
@USE_HERMES_TRUE@%files -n gstreamer-colorspace
@USE_HERMES_TRUE@%defattr(-, root, root)
@USE_HERMES_TRUE@%{prefix}/lib/gst/libgstcolorspace*
@USE_HERMES_TRUE@
@USE_HERMES_TRUE@%post -n gstreamer-colorspace
@USE_HERMES_TRUE@%{prefix}/bin/gst-register --gst-mask=0 2> /dev/null

### JPEG ###
@USE_JPEG_TRUE@%package -n gstreamer-jpeg
@USE_JPEG_TRUE@Summary: Gstreamer plugin for jpeg images
@USE_JPEG_TRUE@Group: Libraries/Multimedia
@USE_JPEG_TRUE@Requires: libjpeg
@USE_JPEG_TRUE@Requires: gstreamer-plugins >= %{version}
@USE_JPEG_TRUE@BuildRequires: libjpeg-devel
@USE_JPEG_TRUE@
@USE_JPEG_TRUE@%description -n gstreamer-jpeg
@USE_JPEG_TRUE@Output plugin for GStreamer using libjpeg
@USE_JPEG_TRUE@
@USE_JPEG_TRUE@%files -n gstreamer-jpeg
@USE_JPEG_TRUE@%defattr(-, root, root)
@USE_JPEG_TRUE@%{prefix}/lib/gst/libgstjpeg*
@USE_JPEG_TRUE@
@USE_JPEG_TRUE@%post -n gstreamer-jpeg
@USE_JPEG_TRUE@%{prefix}/bin/gst-register --gst-mask=0 2> /dev/null

### LAME ###
@USE_LAME_TRUE@%package -n gstreamer-lame
@USE_LAME_TRUE@Summary: GStreamer plugin encoding mp3 songs
@USE_LAME_TRUE@Group: Libraries/Multimedia
@USE_LAME_TRUE@Requires: gstreamer-plugins >= %{version}
@USE_LAME_TRUE@Requires: lame >= 3.89
@USE_LAME_TRUE@
@USE_LAME_TRUE@%description -n gstreamer-lame
@USE_LAME_TRUE@Plugin for encoding mp3 with lame
@USE_LAME_TRUE@
@USE_LAME_TRUE@%files -n gstreamer-lame
@USE_LAME_TRUE@%defattr(-, root, root)
@USE_LAME_TRUE@%{prefix}/lib/gst/libgstlame*
@USE_LAME_TRUE@
@USE_LAME_TRUE@%post -n gstreamer-lame
@USE_LAME_TRUE@%{prefix}/bin/gst-register --gst-mask=0 2> /dev/null

### MAD ###
@USE_MAD_TRUE@%package -n gstreamer-mad  
@USE_MAD_TRUE@Summary: Plugin using MAD for mp3 decoding
@USE_MAD_TRUE@Group: Libraries/Multimedia
@USE_MAD_TRUE@Requires: gstreamer-plugins >= %{version}
@USE_MAD_TRUE@Requires: gstreamer-plugin-libs = %{version}
@USE_MAD_TRUE@Requires: mad >= 0.13.0
@USE_MAD_TRUE@BuildRequires: mad-devel >= 0.13.0
@USE_MAD_TRUE@
@USE_MAD_TRUE@%description -n gstreamer-mad
@USE_MAD_TRUE@Plugin for playback of mp3 songs using the very good MAD library
@USE_MAD_TRUE@
@USE_MAD_TRUE@%files -n gstreamer-mad
@USE_MAD_TRUE@%defattr(-, root, root)  
@USE_MAD_TRUE@%{prefix}/lib/gst/libgstmad*
@USE_MAD_TRUE@
@USE_MAD_TRUE@%post -n gstreamer-mad
@USE_MAD_TRUE@%{prefix}/bin/gst-register --gst-mask=0 2> /dev/null
@USE_MAD_TRUE@
@USE_MAD_TRUE@%postun -n gstreamer-mad
@USE_MAD_TRUE@%{prefix}/bin/gst-register --gst-mask=0 2> /dev/null
@USE_MAD_TRUE@/sbin/ldconfig

### MIKMOD ###
@USE_MIKMOD_TRUE@%package -n gstreamer-mikmod
@USE_MIKMOD_TRUE@Summary: GStreamer Mikmod plugin
@USE_MIKMOD_TRUE@Group: Libraries/Multimedia
@USE_MIKMOD_TRUE@Requires: gstreamer-plugins >= %{version}
@USE_MIKMOD_TRUE@
@USE_MIKMOD_TRUE@%description -n gstreamer-mikmod
@USE_MIKMOD_TRUE@Plugin for playback of module files supported by mikmod under GStreamer
@USE_MIKMOD_TRUE@
@USE_MIKMOD_TRUE@%files -n gstreamer-mikmod
@USE_MIKMOD_TRUE@%defattr(-, root, root)
@USE_MIKMOD_TRUE@%{prefix}/lib/gst/libgstmikmod*
@USE_MIKMOD_TRUE@
@USE_MIKMOD_TRUE@%post -n gstreamer-mikmod
@USE_MIKMOD_TRUE@%{prefix}/bin/gst-register --gst-mask=0 2> /dev/null

### MJPEGTOOLS ###
@USE_MJPEGTOOLS_TRUE@%package -n gstreamer-jpegmmx
@USE_MJPEGTOOLS_TRUE@Summary: Gstreamer mjpegtools
@USE_MJPEGTOOLS_TRUE@Group: Libraries/Multimedia
@USE_MJPEGTOOLS_TRUE@Requires: gstreamer-plugins >= %{version}
@USE_MJPEGTOOLS_TRUE@Requires: mjpegtools >= %{version}
@USE_MJPEGTOOLS_TRUE@BuildRequires: mjpegtools-devel >= %{version}
@USE_MJPEGTOOLS_TRUE@
@USE_MJPEGTOOLS_TRUE@%description -n gstreamer-jpegmmx
@USE_MJPEGTOOLS_TRUE@Mgpegtools based encoding and decoding plugin
@USE_MJPEGTOOLS_TRUE@
@USE_MJPEGTOOLS_TRUE@%files -n gstreamer-jpegmmx
@USE_MJPEGTOOLS_TRUE@%defattr(-, root, root)
@USE_MJPEGTOOLS_TRUE@%{prefix}/lib/gst/libgstjpegmmx*
@USE_MJPEGTOOLS_TRUE@
@USE_MJPEGTOOLS_TRUE@%post -n gstreamer-jpegmmx
@USE_MJPEGTOOLS_TRUE@%{prefix}/bin/gst-register --gst-mask=0 2> /dev/null

### MPEG2DEC ###
@USE_MPEG2DEC_TRUE@%package -n gstreamer-mpeg
@USE_MPEG2DEC_TRUE@Summary: GStreamer plugins for MPEG video playback and encoding
@USE_MPEG2DEC_TRUE@Group: Libraries/Multimedia
@USE_MPEG2DEC_TRUE@Requires: gstreamer-plugins >= %{version}
@USE_MPEG2DEC_TRUE@Requires: mpeg2dec => 0.2.0
@USE_MPEG2DEC_TRUE@Requires: gstreamer-plugin-libs => %{version}
@USE_MPEG2DEC_TRUE@Obsoletes: gstreamer-mpeg1
@USE_MPEG2DEC_TRUE@Obsoletes: gstreamer-mpeg2
@USE_MPEG2DEC_TRUE@
@USE_MPEG2DEC_TRUE@%description -n gstreamer-mpeg
@USE_MPEG2DEC_TRUE@Plugins for playing and encoding MPEG video
@USE_MPEG2DEC_TRUE@
@USE_MPEG2DEC_TRUE@%files -n gstreamer-mpeg
@USE_MPEG2DEC_TRUE@%defattr(-, root, root)
@USE_MPEG2DEC_TRUE@%{prefix}/lib/gst/libgstmpeg1types*
@USE_MPEG2DEC_TRUE@%{prefix}/lib/gst/libgstmpeg1encoder*
@USE_MPEG2DEC_TRUE@%{prefix}/lib/gst/libgstmpegaudio*
@USE_MPEG2DEC_TRUE@%{prefix}/lib/gst/libgstmp1*
@USE_MPEG2DEC_TRUE@%{prefix}/lib/gst/libgstmpegstream*
# @USE_MPEG2DEC_TRUE@%{prefix}/lib/gst/libgstmpeg2play*
@USE_MPEG2DEC_TRUE@%{prefix}/lib/gst/libgstmpeg2enc*
@USE_MPEG2DEC_TRUE@%{prefix}/lib/gst/libgstmpeg2subt*
@USE_MPEG2DEC_TRUE@%{prefix}/lib/gst/libgstmpeg2types*
# @USE_MPEG2DEC_TRUE@%{prefix}/lib/gst/libgstmp2videoparse*
@USE_MPEG2DEC_TRUE@
@USE_MPEG2DEC_TRUE@%post -n  gstreamer-mpeg
@USE_MPEG2DEC_TRUE@%{prefix}/bin/gst-register --gst-mask=0 2> /dev/null

@USE_MPEG2DEC_TRUE@%package -n gstreamer-mpeg2dec
@USE_MPEG2DEC_TRUE@Summary: GStreamer plugins for MPEG level 2 playback
@USE_MPEG2DEC_TRUE@Group: Libraries/Multimedia
@USE_MPEG2DEC_TRUE@Requires: gstreamer-plugins >= %{version}
@USE_MPEG2DEC_TRUE@Requires: mpeg2dec >= 0.2.0
@USE_MPEG2DEC_TRUE@
@USE_MPEG2DEC_TRUE@%description -n gstreamer-mpeg2dec
@USE_MPEG2DEC_TRUE@Plugins for playing MPEG level 2 encoded movies
@USE_MPEG2DEC_TRUE@
@USE_MPEG2DEC_TRUE@%files -n gstreamer-mpeg2dec
@USE_MPEG2DEC_TRUE@%defattr(-, root, root)
@USE_MPEG2DEC_TRUE@%{prefix}/lib/gst/libgstmpeg2dec*
@USE_MPEG2DEC_TRUE@
@USE_MPEG2DEC_TRUE@%post -n  gstreamer-mpeg2dec
@USE_MPEG2DEC_TRUE@%{prefix}/bin/gst-register --gst-mask=0 2> /dev/null

### OPENQUICKTIME ###
@USE_OPENQUICKTIME_TRUE@%package -n gstreamer-openquicktime
@USE_OPENQUICKTIME_TRUE@Summary: GStreamer OpenQuicktime video Plugin
@USE_OPENQUICKTIME_TRUE@Group: Libraries/Multimedia
@USE_OPENQUICKTIME_TRUE@Requires: gstreamer-plugins >= %{version}
@USE_OPENQUICKTIME_TRUE@Requires: openquicktime => 0.9
@USE_OPENQUICKTIME_TRUE@
@USE_OPENQUICKTIME_TRUE@%description -n gstreamer-openquicktime
@USE_OPENQUICKTIME_TRUE@Plugin which uses the OpenQuicktime library
@USE_OPENQUICKTIME_TRUE@from 3ivx to play Quicktime movies.
@USE_OPENQUICKTIME_TRUE@(http://openquicktime.sourceforge.net/)
@USE_OPENQUICKTIME_TRUE@
@USE_OPENQUICKTIME_TRUE@%files -n gstreamer-openquicktime
@USE_OPENQUICKTIME_TRUE@%defattr(-, root, root)
@USE_OPENQUICKTIME_TRUE@%{prefix}/lib/gst/libgstopenquicktime*
@USE_OPENQUICKTIME_TRUE@
@USE_OPENQUICKTIME_TRUE@%post -n gstreamer-openquicktime
@USE_OPENQUICKTIME_TRUE@%{prefix}/bin/gst-register --gst-mask=0 2> /dev/null

### OSS ###
@USE_OSS_TRUE@%package -n gstreamer-oss
@USE_OSS_TRUE@Summary: Gstreamer plugins for input and output using OSS
@USE_OSS_TRUE@Group: Libraries/Multimedia
@USE_OSS_TRUE@Requires: gstreamer-plugins >= %{version}
@USE_OSS_TRUE@
@USE_OSS_TRUE@%description -n gstreamer-oss 
@USE_OSS_TRUE@Plugins for output and input to the OpenSoundSytem audio
@USE_OSS_TRUE@drivers found in the Linux kernels or commercially available
@USE_OSS_TRUE@from OpenSound.
@USE_OSS_TRUE@
@USE_OSS_TRUE@%files -n gstreamer-oss
@USE_OSS_TRUE@%defattr(-, root, root)
@USE_OSS_TRUE@%{prefix}/lib/gst/libgstoss*
@USE_OSS_TRUE@
@USE_OSS_TRUE@%post -n gstreamer-oss
@USE_OSS_TRUE@%{prefix}/bin/gst-register --gst-mask=0 2> /dev/null
@USE_OSS_TRUE@
@USE_OSS_TRUE@%postun -n gstreamer-oss
@USE_OSS_TRUE@%{prefix}/bin/gst-register --gst-mask=0 2> /dev/null
@USE_OSS_TRUE@/sbin/ldconfig

### RAW1394 ###
@USE_RAW1394_TRUE@%package -n gstreamer-dv
@USE_RAW1394_TRUE@Summary: GStreamer dv plugin
@USE_RAW1394_TRUE@Group: Libraries/Multimedia
@USE_RAW1394_TRUE@Requires: gstreamer-plugins >= %{version}
@USE_RAW1394_TRUE@
@USE_RAW1394_TRUE@%description -n gstreamer-dv
@USE_RAW1394_TRUE@Plugin for digital video support
@USE_RAW1394_TRUE@
@USE_RAW1394_TRUE@%files -n gstreamer-dv
@USE_RAW1394_TRUE@%defattr(-, root, root)
@USE_RAW1394_TRUE@%{prefix}/lib/gst/gstdv*
@USE_RAW1394_TRUE@
@USE_RAW1394_TRUE@%post -n gstreamer-dv
@USE_RAW1394_TRUE@%{prefix}/bin/gst-register --gst-mask=0 2> /dev/null

### RTP ###
@USE_RTP_TRUE@%package -n gstreamer-rtp
@USE_RTP_TRUE@Summary: GStreamer RTP plugin
@USE_RTP_TRUE@Group: Libraries/Multimedia
@USE_RTP_TRUE@Requires: gstreamer-plugins >= %{version}
@USE_RTP_TRUE@Requires: librtp >= 0.99
@USE_RTP_TRUE@
@USE_RTP_TRUE@%description -n gstreamer-rtp
@USE_RTP_TRUE@Library for transfering data with the RTP protocol
@USE_RTP_TRUE@
@USE_RTP_TRUE@%files -n gstreamer-rtp
@USE_RTP_TRUE@%defattr(-, root, root)
@USE_RTP_TRUE@%{prefix}/lib/gst/libgstrtp*
@USE_RTP_TRUE@
@USE_RTP_TRUE@%post -n gstreamer-rtp
@USE_RTP_TRUE@%{prefix}/bin/gst-register --gst-mask=0 2> /dev/null

### SIDPLAY ###
@USE_SIDPLAY_TRUE@%package -n gstreamer-sid
@USE_SIDPLAY_TRUE@Summary: GStreamer Sid C64 music plugin
@USE_SIDPLAY_TRUE@Group: Libraries/Multimedia
@USE_SIDPLAY_TRUE@Requires: gstreamer-plugins >= %{version}
@USE_SIDPLAY_TRUE@Requires: libsidplay => 1.36.0
@USE_SIDPLAY_TRUE@BuildRequires: libsidplay-devel => 1.36.0
@USE_SIDPLAY_TRUE@%description -n gstreamer-sid
@USE_SIDPLAY_TRUE@Plugin for playback of C64 SID format music files
@USE_SIDPLAY_TRUE@
@USE_SIDPLAY_TRUE@%files -n gstreamer-sid
@USE_SIDPLAY_TRUE@%defattr(-, root, root)
@USE_SIDPLAY_TRUE@%{prefix}/lib/gst/libgstsid*
@USE_SIDPLAY_TRUE@
@USE_SIDPLAY_TRUE@%post -n gstreamer-sid
@USE_SIDPLAY_TRUE@%{prefix}/bin/gst-register --gst-mask=0 2> /dev/null

### SDL ###
@USE_SDL_TRUE@%package -n gstreamer-sdl
@USE_SDL_TRUE@Summary: Gstreamer plugin for outputing to SDL
@USE_SDL_TRUE@Group: Libraries/Multimedia
@USE_SDL_TRUE@Requires: SDL >= 1.2.0
@USE_SDL_TRUE@Requires: gstreamer-plugins >= %{version}
@USE_SDL_TRUE@BuildRequires: SDL-devel >= 1.2.0
@USE_SDL_TRUE@
@USE_SDL_TRUE@%description -n gstreamer-sdl
@USE_SDL_TRUE@Plugin for sending output to the Simple Direct Media architecture.
@USE_SDL_TRUE@(http://www.libsdl.org). Usefull for fullscreen playback.
@USE_SDL_TRUE@
@USE_SDL_TRUE@%files -n gstreamer-sdl
@USE_SDL_TRUE@%defattr(-, root, root)
@USE_SDL_TRUE@%{prefix}/lib/gst/libsdl*
@USE_SDL_TRUE@
@USE_SDL_TRUE@%post -n gstreamer-sdl
@USE_SDL_TRUE@%{prefix}/bin/gst-register --gst-mask=0 2> /dev/null

### SHOUT ###
@USE_SHOUT_TRUE@%package -n gstreamer-icecast
@USE_SHOUT_TRUE@Summary: GStreamer Icecast broadcasting plugin
@USE_SHOUT_TRUE@Group: Libraries/Multimedia
@USE_SHOUT_TRUE@Requires: gstreamer-plugins >= %{version}
@USE_SHOUT_TRUE@Requires: gstreamer-plugin-libs = %{version}
@USE_SHOUT_TRUE@Requires: libshout >= 1.0.5
@USE_SHOUT_TRUE@BuildRequires: libshout-devel >= 1.0.5
@USE_SHOUT_TRUE@%description -n gstreamer-icecast
@USE_SHOUT_TRUE@Plugin for broadcasting audio with the Icecast server
@USE_SHOUT_TRUE@
@USE_SHOUT_TRUE@%files -n gstreamer-icecast
@USE_SHOUT_TRUE@%defattr(-, root, root)
@USE_SHOUT_TRUE@%{prefix}/lib/gst/libgstshout*
@USE_SHOUT_TRUE@
@USE_SHOUT_TRUE@%post -n gstreamer-icecast
@USE_SHOUT_TRUE@%{prefix}/bin/gst-register --gst-mask=0 2> /dev/null

### VORBIS ###
@USE_VORBIS_TRUE@%package -n gstreamer-vorbis
@USE_VORBIS_TRUE@Summary: Gstreamer plugin for encoding and decoding Ogg Vorbis audio files
@USE_VORBIS_TRUE@Group: Libraries/Multimedia
@USE_VORBIS_TRUE@Requires: libogg >= 1.0beta4
@USE_VORBIS_TRUE@Requires: libvorbis >= 1.0beta4
@USE_VORBIS_TRUE@Requires: gstreamer-plugins >= %{version}
@USE_VORBIS_TRUE@BuildRequires: libogg-devel >= 1.0beta4
@USE_VORBIS_TRUE@BuildRequires: libvorbis-devel >= 1.0beta4
@USE_VORBIS_TRUE@
@USE_VORBIS_TRUE@%description -n gstreamer-vorbis
@USE_VORBIS_TRUE@Plugins for creating and playing Ogg Vorbis audio files.
@USE_VORBIS_TRUE@
@USE_VORBIS_TRUE@%files -n gstreamer-vorbis  
@USE_VORBIS_TRUE@%defattr(-, root, root)
@USE_VORBIS_TRUE@%{prefix}/lib/gst/libgstvorbis*
@USE_VORBIS_TRUE@
@USE_VORBIS_TRUE@%post -n gstreamer-vorbis
@USE_VORBIS_TRUE@%{prefix}/bin/gst-register --gst-mask=0 2> /dev/null
@USE_VORBIS_TRUE@
@USE_VORBIS_TRUE@%postun -n gstreamer-vorbis
@USE_VORBIS_TRUE@%{prefix}/bin/gst-register --gst-mask=0 2> /dev/null
@USE_VORBIS_TRUE@/sbin/ldconfig

### VIDEO 4 LINUX ###
@USE_V4L_TRUE@%package -n gstreamer-v4l
@USE_V4L_TRUE@Summary: GStreamer video for linux input plugin
@USE_V4L_TRUE@Group: Libraries/Multimedia
@USE_V4L_TRUE@Requires: gstreamer-plugins >= %{version}
@USE_V4L_TRUE@
@USE_V4L_TRUE@%description -n gstreamer-v4l
@USE_V4L_TRUE@Plugin for accessing video for Linux streams.
@USE_V4L_TRUE@
@USE_V4L_TRUE@%files -n gstreamer-v4l
@USE_V4L_TRUE@%defattr(-, root, root)
@USE_V4L_TRUE@%{prefix}/lib/gst/libgstv4l*
@USE_V4L_TRUE@
@USE_V4L_TRUE@%post -n gstreamer-v4l
@USE_V4L_TRUE@%{prefix}/bin/gst-register --gst-mask=0 2> /dev/null

### XVIDEO ###
# @USE_XVIDEO_TRUE@%package -n gstreamer-xvideosink
# @USE_XVIDEO_TRUE@Summary: Gstreamer XFree output plugin
# @USE_XVIDEO_TRUE@Group: Libraries/Multimedia
# @USE_XVIDEO_TRUE@Requires: gstreamer-plugins >= %{version}
# @USE_XVIDEO_TRUE@Requires: Hermes => 1.3.0
# @USE_XVIDEO_TRUE@%description -n gstreamer-xvideosink
# @USE_XVIDEO_TRUE@Xfree86 video sink
# @USE_XVIDEO_TRUE@
# @USE_XVIDEO_TRUE@%files -n gstreamer-xvideosink
# @USE_XVIDEO_TRUE@%defattr(-, root, root)
# @USE_XVIDEO_TRUE@%{prefix}/lib/gst/libgstxvideosink*
# @USE_XVIDEO_TRUE@
# @USE_XVIDEO_TRUE@%post -n gstreamer-xvideosink
# @USE_XVIDEO_TRUE@%{prefix}/bin/gst-register --gst-mask=0 2> /dev/null

@USE_XVIDEO_TRUE@%package -n gstreamer-videosink
@USE_XVIDEO_TRUE@Summary: GStreamer Video Sink
@USE_XVIDEO_TRUE@Group: Libraries/Multimedia
@USE_XVIDEO_TRUE@Requires: gstreamer-plugins >= %{version}
@USE_XVIDEO_TRUE@Requires: gstreamer-plugin-libs = %{version}
@USE_XVIDEO_TRUE@
@USE_XVIDEO_TRUE@%description -n gstreamer-videosink
@USE_XVIDEO_TRUE@Plugin for X playback
@USE_XVIDEO_TRUE@
@USE_XVIDEO_TRUE@%files -n gstreamer-videosink
@USE_XVIDEO_TRUE@%defattr(-, root, root)
@USE_XVIDEO_TRUE@%{prefix}/lib/gst/libgstvideosink*
@USE_XVIDEO_TRUE@
@USE_XVIDEO_TRUE@%post -n gstreamer-videosink
@USE_XVIDEO_TRUE@%{prefix}/bin/gst-register --gst-mask=0 2> /dev/null

%package -n gstreamer-audio-effects
Summary: GStreamer audio effects plugin
Group: Libraries/Multimedia
Requires: gstreamer-plugins >= %{version}

%description -n gstreamer-audio-effects
Plugin with various audio effects including resampling, 
sine waves generation, silence generation plugin

%files -n gstreamer-audio-effects
%defattr(-, root, root)
%{prefix}/lib/gst/libgstresample*
%{prefix}/lib/gst/libgstsine*
%{prefix}/lib/gst/libgstsilence*
%{prefix}/lib/gst/libgststereo*
%{prefix}/lib/gst/libgstvol*
%{prefix}/lib/gst/libgstplayondemand*
%{prefix}/lib/gst/libgstspeed*

%post -n gstreamer-audio-effects
%{prefix}/bin/gst-register --gst-mask=0 2> /dev/null

%package -n gstreamer-lavencode
Summary: GStreamer YUV to LAV converter
Group: Libraries/Multimedia
Requires: gstreamer-plugins >= %{version}

%description -n gstreamer-lavencode
It takes YUV video frames and adds a header in front of it so it can be processed with the lavtools from mjpeg

%files -n gstreamer-lavencode
%defattr(-, root, root)
%{prefix}/lib/gst/libgsty4m*

%post -n gstreamer-lavencode
%{prefix}/bin/gst-register --gst-mask=0 2> /dev/null

%package -n gstreamer-qcam
Summary: GStreamer QuickCam plugin
Group: Libraries/Multimedia
Requires: gstreamer-plugins >= %{version}

%description -n gstreamer-qcam
Plugin for accessing a Quickcam source

%files -n gstreamer-qcam
%defattr(-, root, root)
%{prefix}/lib/gst/libgstqcam*

%post -n gstreamer-qcam
%{prefix}/bin/gst-register --gst-mask=0 2> /dev/null

%package -n gstreamer-vcd
Summary: GStreamer Video CD plugin
Group: Libraries/Multimedia
Requires: gstreamer-plugins >= %{version}

%description -n gstreamer-vcd
Video CD parsing and playback

%files -n gstreamer-vcd
%defattr(-, root, root)
%{prefix}/lib/gst/libgstvcd*
%{prefix}/lib/gst/libgstcdxa*

%package -n gstreamer-ladspa
Summary: Gstreamer wrapper for LADSPA plugins
Group: Libraries/Multimedia
Requires: gstreamer-plugins >= %{version}

%files -n gstreamer-ladspa
%defattr(-, root, root)
%{prefix}/lib/gst/libgstladspa*

%description -n gstreamer-ladspa
Plugin which wraps LADSPA plugins for use by GStreamer applications.

%post -n gstreamer-ladspa
%{prefix}/bin/gst-register --gst-mask=0 2> /dev/null

%package -n gstreamer-udp
Summary: GStreamer plugins for UDP tranport
Group: Libraries/Multimedia
Requires: gstreamer-plugins >= %{version}

%description -n gstreamer-udp
Plugins for UDP transport

%files -n gstreamer-udp
%defattr(-, root, root)
%{prefix}/lib/gst/libgstudp*

%post -n gstreamer-udp
%{prefix}/bin/gst-register --gst-mask=0 2> /dev/null

%package -n gstreamer-flx
Summary: GStreamer plugin for FLI/FLX animation format
Group: Libraries/Multimedia
Requires: gstreamer-plugins >= %{version}
Requires: gstreamer-plugin-libs = %{version}
Requires: gstreamer-colorspace >= %{version}
%description -n gstreamer-flx
Plugin for playing FLI/FLX animations under GStreamer

%files -n gstreamer-flx
%defattr(-, root, root)
%{prefix}/lib/gst/libgstflx*

%post -n gstreamer-flx
%{prefix}/bin/gst-register --gst-mask=0 2> /dev/null

%package -n gstreamer-deinterlace
Summary: GStreamer Video deinterlacer
Group: Libraries/Multimedia
Requires: gstreamer-plugins >= %{version}

%description -n gstreamer-deinterlace
Video deinterlace plugin

%files -n gstreamer-deinterlace
%defattr(-, root, root)
%{prefix}/lib/gst/libgstdeinterlace*

%post -n gstreamer-deinterlace
%{prefix}/bin/gst-register --gst-mask=0 2> /dev/null

%package -n gstreamer-visualisation
Summary: GStreamer visualisations plugins
Group: Libraries/Multimedia
Requires: gstreamer-plugins >= %{version}

%description -n gstreamer-visualisation
Various plugins for visual effects to use with audio. Included are Smoothwave, Spectrum, Goom, Chart and vumeter

%files -n gstreamer-visualisation
%defattr(-, root, root)
%{prefix}/lib/gst/libgstsmooth*
%{prefix}/lib/gst/libgstspectrum*
%{prefix}/lib/gst/libgstvu*
%{prefix}/lib/gst/libgstgoom*
%{prefix}/lib/gst/libchart*
%{prefix}/lib/gst/libgstmonoscope*

%post -n gstreamer-visualisation
%{prefix}/bin/gst-register --gst-mask=0 2> /dev/null

%package -n gstreamer-plugin-libs
Summary: GStreamer support libraries
Group: Libraries/Multimedia
Requires: gstreamer-plugins >= %{version}

%description -n gstreamer-plugin-libs
GStreamer support libraries

%files -n gstreamer-plugin-libs
%defattr(-, root, root)
%{prefix}/lib/gst/libgstaudio*
%{prefix}/lib/gst/libgstidct*
%{prefix}/lib/gst/libgstriff*
%{prefix}/lib/gst/libgstresample*

%package -n gstreamer-misc
Summary: GStreamer plugins for various effects
Group: Libraries/Multimedia
Requires: gstreamer-plugins >= %{version}

%description -n gstreamer-misc
Plugins for various codecs, effects 
and so on.

%files -n gstreamer-misc
%defattr(-, root, root)
%{prefix}/lib/gst/libgstadder*
%{prefix}/lib/gst/libgstalaw*
%{prefix}/lib/gst/libgstintfloat*
%{prefix}/lib/gst/libgstlevel*
%{prefix}/lib/gst/libgstmedian*
%{prefix}/lib/gst/libgstmono2stereo*
%{prefix}/lib/gst/libgstmulaw*
%{prefix}/lib/gst/libgstpassthrough*
%{prefix}/lib/gst/libgstrtjpe*

%post -n gstreamer-misc
%{prefix}/bin/gst-register --gst-mask=0 2> /dev/null

%package -n gstreamer-audio-formats
Summary: GStreamer audio format plugin
Group: Libraries/Multimedia
Requires: gstreamer-plugins >= %{version}
Requires: gstreamer-plugin-libs = %{version}

%description -n gstreamer-audio-formats
Plugin for playback of wav, au and mp3 audio files

%files -n gstreamer-audio-formats
%defattr(-, root, root)
%{prefix}/lib/gst/libgstwavparse*
%{prefix}/lib/gst/libgstauparse*
%{prefix}/lib/gst/libgstmp3types*
%{prefix}/lib/gst/libgstmodplug*

%post -n gstreamer-audio-formats
%{prefix}/bin/gst-register --gst-mask=0 2> /dev/null

%changelog
* Wed Mar 13 2002 Thomas Vander Stichele <thomas@apestaart.org>
- added more BuildRequires and Requires
- rearranged some plugins
- added changelog ;)