summaryrefslogtreecommitdiff
path: root/gst-plugins.spec.in
blob: 4cad0140b3d69476794e8f7a1f38705831fc4692 (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
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
Name: 		gstreamer-plugins
Version: 	@VERSION@
Release: 	@GST_PLUGINS_RELEASE@
Summary: 	GStreamer Streaming-media framework plug-ins.

%define 	prefix  /usr
%define 	sysconfdir /etc
Docdir: 	%{prefix}/share/doc
Prefix: 	%prefix

Group: 		Libraries/Multimedia
License: 	LGPL
URL:		http://gstreamer.net/
Vendor:         GStreamer Backpackers Team <package@gstreamer.net>
Source:         http://gstreamer.net/releases/%{version}/src/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} 
Obsoletes:	gstreamer-plugin-libs

%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
plug-ins.

%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 \
  --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

%install
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
make prefix=%{?buildroot:%{buildroot}}%{_prefix} \
     exec_prefix=%{?buildroot:%{buildroot}}%{_exec_prefix} \
     bindir=%{?buildroot:%{buildroot}}%{_bindir} \
     sbindir=%{?buildroot:%{buildroot}}%{_sbindir} \
     sysconfdir=%{?buildroot:%{buildroot}}%{_sysconfdir} \
     datadir=%{?buildroot:%{buildroot}}%{_datadir} \
     includedir=%{?buildroot:%{buildroot}}%{_includedir} \
     libdir=%{?buildroot:%{buildroot}}%{_libdir} \
     libexecdir=%{?buildroot:%{buildroot}}%{_libexecdir} \
     localstatedir=%{?buildroot:%{buildroot}}%{_localstatedir} \
     sharedstatedir=%{?buildroot:%{buildroot}}%{_sharedstatedir} \
     mandir=%{?buildroot:%{buildroot}}%{_mandir} \
     infodir=%{?buildroot:%{buildroot}}%{_infodir} \
  install
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL

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

%files
%defattr(-, root, root)
%doc AUTHORS COPYING README RELEASE
%{_bindir}/gst-launch-ext
%{_bindir}/gst-visualise
%{_mandir}/man1/gst-launch-ext.*
%{_mandir}/man1/gst-visualise.1.*
%{_libdir}/gst/libgstaudioscale.so
%{_libdir}/gst/libgstaudio.so
%{_libdir}/gst/libgstidct.so
%{_libdir}/gst/libgstresample.so
%{_libdir}/gst/libgstriff.so

%package -n gstreamer-plugins-devel
Summary: 	GStreamer Plugin Library Headers.
Group: 		Libraries/Multimedia
Requires: 	gstreamer-plugins = %{version}

%description -n gstreamer-plugins-devel
GStreamer support libraries header files.

%files -n gstreamer-plugins-devel
%defattr(-, root, root)
%{_includedir}/gst-plugins-%{version}/gst/audio/audio.h
%{_includedir}/gst-plugins-%{version}/gst/idct/idct.h
%{_includedir}/gst-plugins-%{version}/gst/resample/resample.h
%{_includedir}/gst-plugins-%{version}/gst/riff/riff.h
%{_libdir}/pkgconfig/gstreamer-libs.pc

# Here are all the packages depending on external libs #

### A52DEC ###
@USE_A52DEC_TRUE@%package -n gstreamer-a52dec
@USE_A52DEC_TRUE@Summary:       GStreamer VOB decoder plug-in.
@USE_A52DEC_TRUE@Group:         Libraries/Multimedia
@USE_A52DEC_TRUE@Requires:      gstreamer-plugins = %{version}
@USE_A52DEC_TRUE@Requires:      a52dec >= 0.7.3
@USE_A52DEC_TRUE@BuildRequires: a52dec-devel >= 0.7.3
@USE_A52DEC_TRUE@
@USE_A52DEC_TRUE@%description -n gstreamer-a52dec
@USE_A52DEC_TRUE@Plug-in for decoding of VOB files.
@USE_A52DEC_TRUE@
@USE_A52DEC_TRUE@%files -n gstreamer-a52dec
@USE_A52DEC_TRUE@%defattr(-, root, root)
@USE_A52DEC_TRUE@%{_libdir}/gst/libgsta52dec.so
@USE_A52DEC_TRUE@%{_libdir}/gst/libgstac3parse.so

### AALIB ###
@USE_AALIB_TRUE@%package -n gstreamer-aalib
@USE_AALIB_TRUE@Summary:       GStreamer plug-in for Ascii-art output.
@USE_AALIB_TRUE@Group:         Libraries/Multimedia
@USE_AALIB_TRUE@Requires:      gstreamer-plugins = %{version}
@USE_AALIB_TRUE@Requires:      aalib >= 1.3
@USE_AALIB_TRUE@BuildRequires: aalib-devel >= 1.3
@USE_AALIB_TRUE@
@USE_AALIB_TRUE@%description -n gstreamer-aalib
@USE_AALIB_TRUE@Plug-in for viewing video 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@%{_libdir}/gst/libgstaasink.so

### ALSA ###
@USE_ALSA_TRUE@%package -n gstreamer-alsa
@USE_ALSA_TRUE@Summary:  GStreamer plug-ins for the ALSA sound system.
@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 plug-in for the ALSA soundcard driver system. 
@USE_ALSA_TRUE@This plug-in depends on Alsa 0.9.x or higher.
@USE_ALSA_TRUE@
@USE_ALSA_TRUE@%files -n gstreamer-alsa
@USE_ALSA_TRUE@%defattr(-, root, root)
@USE_ALSA_TRUE@%{_libdir}/gst/libgstalsa.so
@USE_ALSA_TRUE@%{_mandir}/man1/gstalsa*

### ARTS WRAPPER ###
@USE_ARTS_TRUE@%package -n gstreamer-arts
@USE_ARTS_TRUE@Summary:       GStreamer arts wrapper plug-in.
@USE_ARTS_TRUE@Group:         Libraries/Multimedia
@USE_ARTS_TRUE@Requires:      gstreamer-plugins = %{version}
@USE_ARTS_TRUE@Requires:      kdelibs-sound >= 2
@USE_ARTS_TRUE@BuildRequires: kdelibs-sound-devel >= 2
@USE_ARTS_TRUE@BuildRequires: gcc-c++
@USE_ARTS_TRUE@
@USE_ARTS_TRUE@%description -n gstreamer-arts
@USE_ARTS_TRUE@This plug-in wraps arts plug-ins.
@USE_ARTS_TRUE@
@USE_ARTS_TRUE@%files -n gstreamer-arts
@USE_ARTS_TRUE@%defattr(-, root, root)
@USE_ARTS_TRUE@%{_libdir}/gst/libgstarts.so

### ARTSD SOUND SERVER ###
@USE_ARTSC_TRUE@%package -n gstreamer-artsd
@USE_ARTSC_TRUE@Summary:  GStreamer artsd output plug-in.
@USE_ARTSC_TRUE@Group:    Libraries/Multimedia
@USE_ARTSC_TRUE@Requires: gstreamer-plugins = %{version}
@USE_ARTSC_TRUE@
@USE_ARTSC_TRUE@%description -n gstreamer-artsd
@USE_ARTSC_TRUE@Plug-in for outputting to artsd sound server.
@USE_ARTSC_TRUE@
@USE_ARTSC_TRUE@%files -n gstreamer-artsd
@USE_ARTSC_TRUE@%defattr(-, root, root)
@USE_ARTSC_TRUE@%{_libdir}/gst/libgstartsdsink.so

### AUDIOFILE ###
@USE_AUDIOFILE_TRUE@%package -n gstreamer-audiofile
@USE_AUDIOFILE_TRUE@Summary:       GStreamer plug-in for 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@BuildRequires: audiofile-devel >= 0.2.1
@USE_AUDIOFILE_TRUE@
@USE_AUDIOFILE_TRUE@%description -n gstreamer-audiofile
@USE_AUDIOFILE_TRUE@Plug-in for supporting reading and writing of all files supported by audiofile.
@USE_AUDIOFILE_TRUE@
@USE_AUDIOFILE_TRUE@%files -n gstreamer-audiofile
@USE_AUDIOFILE_TRUE@%defattr(-, root, root)
@USE_AUDIOFILE_TRUE@%{_libdir}/gst/libgstaudiofile.so

### AVIFILE ###
@USE_AVIFILE_TRUE@%package -n gstreamer-avi
@USE_AVIFILE_TRUE@Summary:       GStreamer plug-in for AVI movie playback.
@USE_AVIFILE_TRUE@Group:         Libraries/Multimedia
@USE_AVIFILE_TRUE@Requires:      gstreamer-plugins = %{version}
@USE_AVIFILE_TRUE@Requires:      gstreamer-colorspace = %{version}
@USE_AVIFILE_TRUE@Requires:      avifile
@USE_AVIFILE_TRUE@BuildRequires: avifile-devel
@USE_AVIFILE_TRUE@
@USE_AVIFILE_TRUE@%description -n gstreamer-avi
@USE_AVIFILE_TRUE@Plug-ins 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@%{_libdir}/gst/libgstavidemux.so
@USE_AVIFILE_TRUE@%{_libdir}/gst/libgstavimux.so
@USE_AVIFILE_TRUE@%{_libdir}/gst/libgstwincodec.so

### CDPARANOIA ###
@USE_CDPARANOIA_TRUE@%package -n gstreamer-cdparanoia
@USE_CDPARANOIA_TRUE@Summary:       GStreamer plug-in for CD audio input using CDParanoia IV.
@USE_CDPARANOIA_TRUE@Group:         Libraries/Multimedia
@USE_CDPARANOIA_TRUE@Requires:      gstreamer-plugins = %{version}
@USE_CDPARANOIA_TRUE@Requires:      cdparanoia-libs >= alpha9.7
@USE_CDPARANOIA_TRUE@BuildRequires: cdparanoia-devel >= alpha9.7
@USE_CDPARANOIA_TRUE@
@USE_CDPARANOIA_TRUE@%description -n gstreamer-cdparanoia
@USE_CDPARANOIA_TRUE@Plug-in 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@%{_libdir}/gst/libgstcdparanoia.so

### DVDREAD ###
@USE_DVDREAD_TRUE@%package -n gstreamer-libdvdread
@USE_DVDREAD_TRUE@Summary:       GStreamer plug-in for DVD playback using libdvdread.
@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@Obsoletes:     gstreamer-libdvd
@USE_DVDREAD_TRUE@
@USE_DVDREAD_TRUE@%description -n gstreamer-libdvdread
@USE_DVDREAD_TRUE@Plug-in for reading DVDs using libdvdread under GStreamer.
@USE_DVDREAD_TRUE@
@USE_DVDREAD_TRUE@%files -n gstreamer-libdvdread
@USE_DVDREAD_TRUE@%defattr(-, root, root)
@USE_DVDREAD_TRUE@%{_libdir}/gst/libgstdvdreadsrc.so

## DXR3 ###
@USE_DXR3_TRUE@%package -n gstreamer-dxr3
@USE_DXR3_TRUE@Summary:       GStreamer plug-in for playback using dxr3 card.
@USE_DXR3_TRUE@Group:         Libraries/Multimedia
@USE_DXR3_TRUE@Requires:      gstreamer-plugins = %{version}
@USE_DXR3_TRUE@Requires:      em8300 => 0.12.0
@USE_DXR3_TRUE@BuildRequires: em8300-devel => 0.12.0
@USE_DXR3_TRUE@
@USE_DXR3_TRUE@%description -n gstreamer-dxr3
@USE_DXR3_TRUE@Plug-in supporting DVD playback using cards
@USE_DXR3_TRUE@with the dxr3 chipset like Hollywood Plus
@USE_DXR3_TRUE@and Creative Labs DVD cards.
@USE_DXR3_TRUE@
@USE_DXR3_TRUE@%files -n gstreamer-dxr3
@USE_DXR3_TRUE@%defattr(-, root, root)
@USE_DXR3_TRUE@%{_libdir}/gst/libgstdxr3.so

### ESD ###
@USE_ESD_TRUE@%package -n gstreamer-esound
@USE_ESD_TRUE@Summary:       GStreamer plug-in for ESD sound output.
@USE_ESD_TRUE@Group:         Libraries/Multimedia
@USE_ESD_TRUE@Requires:      gstreamer-plugins = %{version}
@USE_ESD_TRUE@Requires:      esound >= 0.2.8
@USE_ESD_TRUE@BuildRequires: esound-devel >= 0.2.8
@USE_ESD_TRUE@Obsoletes:     gstreamer-esd
@USE_ESD_TRUE@
@USE_ESD_TRUE@%description -n gstreamer-esound
@USE_ESD_TRUE@Output and monitoring plug-ins for GStreamer using ESound.
@USE_ESD_TRUE@
@USE_ESD_TRUE@%files -n gstreamer-esound
@USE_ESD_TRUE@%defattr(-, root, root)
@USE_ESD_TRUE@%{_libdir}/gst/libgstesdmon.so
@USE_ESD_TRUE@%{_libdir}/gst/libgstesdsink.so

### FLAC ###
@USE_FLAC_TRUE@%package -n gstreamer-flac
@USE_FLAC_TRUE@Summary:       GStreamer plug-in for FLAC lossless audio.
@USE_FLAC_TRUE@Group:         Libraries/Multimedia
@USE_FLAC_TRUE@Requires:      gstreamer-plugins = %{version}
@USE_FLAC_TRUE@Requires:      flac >= 1.0.0
@USE_FLAC_TRUE@BuildRequires: flac-devel >= 1.0.0
@USE_FLAC_TRUE@
@USE_FLAC_TRUE@%description -n gstreamer-flac
@USE_FLAC_TRUE@Plug-in 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@%{_libdir}/gst/libgstflac.so

### GNOME VFS 2 ###
@USE_GNOME_VFS_TRUE@%package -n gstreamer-gnomevfs
@USE_GNOME_VFS_TRUE@Summary:       GStreamer plug-ins for Gnome-VFS input and output.
@USE_GNOME_VFS_TRUE@Group:         Libraries/Multimedia
@USE_GNOME_VFS_TRUE@Requires:      gstreamer-plugins = %{version}
@USE_GNOME_VFS_TRUE@Requires:      gnome-vfs2 > 1.9.4.00
@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@Plug-ins 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@%{_libdir}/gst/libgstgnomevfssrc.so
@USE_GNOME_VFS_TRUE@%{_libdir}/gst/libgstgnomevfssink.so

### GSM ###
@USE_GSM_TRUE@%package -n gstreamer-gsm
@USE_GSM_TRUE@Summary:       GStreamer plug-in for GSM lossy audio format.
@USE_GSM_TRUE@Group:         Libraries/Multimedia
@USE_GSM_TRUE@Requires:      gstreamer-plugins = %{version}
@USE_GSM_TRUE@Requires:      gsm >= 1.0.10
@USE_GSM_TRUE@BuildRequires: gsm-devel >= 1.0.10
@USE_GSM_TRUE@
@USE_GSM_TRUE@%description -n gstreamer-gsm
@USE_GSM_TRUE@Output plug-in 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@%{_libdir}/gst/libgstgsm.so

### HERMES ###
@USE_HERMES_TRUE@%package -n gstreamer-colorspace
@USE_HERMES_TRUE@Summary:       GStreamer colorspace conversion plug-in.
@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 plug-in based on Hermes library.
@USE_HERMES_TRUE@
@USE_HERMES_TRUE@%files -n gstreamer-colorspace
@USE_HERMES_TRUE@%defattr(-, root, root)
@USE_HERMES_TRUE@%{_libdir}/gst/libgstcolorspace.so

### HTTP ###
@USE_HTTP_TRUE@%package -n gstreamer-httpsrc
@USE_HTTP_TRUE@Summary:       GStreamer plug-in for http using libghttp.
@USE_HTTP_TRUE@Group:         Libraries/Multimedia
@USE_HTTP_TRUE@Requires:      gstreamer-plugins = %{version}
@USE_HTTP_TRUE@Requires:      libghttp => 1.0.9
@USE_HTTP_TRUE@BuildRequires: libghttp-devel => 1.0.9
@USE_HTTP_TRUE@
@USE_HTTP_TRUE@%description -n gstreamer-httpsrc
@USE_HTTP_TRUE@Plug-in supporting the http protocol based 
@USE_HTTP_TRUE@on the libghttp library.
@USE_HTTP_TRUE@
@USE_HTTP_TRUE@%files -n gstreamer-httpsrc
@USE_HTTP_TRUE@%defattr(-, root, root)
@USE_HTTP_TRUE@%{_libdir}/gst/libgsthttpsrc.so

#### JACK AUDIO CONNECTION KIT ###
@USE_JACK_TRUE@%package -n gstreamer-jack
@USE_JACK_TRUE@Summary:  GStreamer plug-in for the Jack Sound Server.
@USE_JACK_TRUE@Group:    Libraries/Multimedia
@USE_JACK_TRUE@Requires: gstreamer-plugins = %{version}
@USE_JACK_TRUE@Requires: jack-audio-connection-kit => 0.28.0
@USE_JACK_TRUE@
@USE_JACK_TRUE@%description -n gstreamer-jack
@USE_JACK_TRUE@Plug-in for the JACK professional sound server.
@USE_JACK_TRUE@
@USE_JACK_TRUE@%files -n gstreamer-jack
@USE_JACK_TRUE@%defattr(-, root, root)
@USE_JACK_TRUE@%{_libdir}/gst/libgstjack.so

### JPEG ###
@USE_JPEG_TRUE@%package -n gstreamer-jpeg
@USE_JPEG_TRUE@Summary:       GStreamer plug-in for JPEG images.
@USE_JPEG_TRUE@Group:         Libraries/Multimedia
@USE_JPEG_TRUE@Requires:      gstreamer-plugins = %{version}
@USE_JPEG_TRUE@Requires:      libjpeg
@USE_JPEG_TRUE@BuildRequires: libjpeg-devel
@USE_JPEG_TRUE@
@USE_JPEG_TRUE@%description -n gstreamer-jpeg
@USE_JPEG_TRUE@Output plug-in for GStreamer using libjpeg.
@USE_JPEG_TRUE@
@USE_JPEG_TRUE@%files -n gstreamer-jpeg
@USE_JPEG_TRUE@%defattr(-, root, root)
@USE_JPEG_TRUE@%{_libdir}/gst/libgstjpeg.so

### LADSPA ###
@USE_LADSPA_TRUE@%package -n gstreamer-ladspa
@USE_LADSPA_TRUE@Summary:       GStreamer wrapper for LADSPA plug-ins.
@USE_LADSPA_TRUE@Group:         Libraries/Multimedia
@USE_LADSPA_TRUE@Requires:      gstreamer-plugins = %{version}
@USE_LADSPA_TRUE@Requires:      ladspa
@USE_LADSPA_TRUE@BuildRequires: ladspa-devel
@USE_LADSPA_TRUE@
@USE_LADSPA_TRUE@%description -n gstreamer-ladspa
@USE_LADSPA_TRUE@Plug-in which wraps LADSPA plug-ins for use by GStreamer applications.
@USE_LADSPA_TRUE@We suggest you also get the cmt package of ladspa plug-ins
@USE_LADSPA_TRUE@and steve harris's swh-plugins package.
@USE_LADSPA_TRUE@
@USE_LADSPA_TRUE@%files -n gstreamer-ladspa
@USE_LADSPA_TRUE@%defattr(-, root, root)
@USE_LADSPA_TRUE@%{_libdir}/gst/libgstladspa.so

### LAME ###
@USE_LAME_TRUE@%package -n gstreamer-lame
@USE_LAME_TRUE@Summary:       GStreamer plug-in encoding mp3 songs using lame.
@USE_LAME_TRUE@Group:         Libraries/Multimedia
@USE_LAME_TRUE@Requires:      gstreamer-plugins = %{version}
@USE_LAME_TRUE@Requires:      lame >= 3.89
@USE_LAME_TRUE@BuildRequires: lame-devel >= 3.89
@USE_LAME_TRUE@
@USE_LAME_TRUE@%description -n gstreamer-lame
@USE_LAME_TRUE@Plug-in for encoding mp3 with lame under GStreamer.
@USE_LAME_TRUE@
@USE_LAME_TRUE@%files -n gstreamer-lame
@USE_LAME_TRUE@%defattr(-, root, root)
@USE_LAME_TRUE@%{_libdir}/gst/libgstlame.so

### LIBDV ###
@USE_DV_TRUE@%package -n gstreamer-dv
@USE_DV_TRUE@Summary:       GStreamer DV plug-in.
@USE_DV_TRUE@Group:         Libraries/Multimedia
@USE_DV_TRUE@Requires:      gstreamer-plugins = %{version}
@USE_DV_TRUE@Requires:      libdv >= 0.9.5
@USE_DV_TRUE@BuildRequires: libdv-devel >= 0.9.5
@USE_DV_TRUE@
@USE_DV_TRUE@%description -n gstreamer-dv
@USE_DV_TRUE@Plug-in for digital video support using libdv.
@USE_DV_TRUE@
@USE_DV_TRUE@%files -n gstreamer-dv
@USE_DV_TRUE@%defattr(-, root, root)
@USE_DV_TRUE@%{_libdir}/gst/libgstdvdec.so

### LIBFAME ###
@USE_LIBFAME_TRUE@%package -n gstreamer-libfame
@USE_LIBFAME_TRUE@Summary:       GStreamer plug-in to encode MPEG1/MPEG4 video.
@USE_LIBFAME_TRUE@Group:         Libraries/Multimedia
@USE_LIBFAME_TRUE@Requires:      gstreamer-plugins = %{version}
@USE_LIBFAME_TRUE@Requires:      libfame >= 0.9.0 
@USE_LIBFAME_TRUE@BuildRequires: libfame-devel >= 0.9.0 
@USE_LIBFAME_TRUE@
@USE_LIBFAME_TRUE@%description -n gstreamer-libfame
@USE_LIBFAME_TRUE@Plug-in for encoding MPEG1/MPEG4 video using libfame.
@USE_LIBFAME_TRUE@
@USE_LIBFAME_TRUE@%files -n gstreamer-libfame
@USE_LIBFAME_TRUE@%defattr(-, root, root)
@USE_LIBFAME_TRUE@%{_libdir}/gst/libgstlibfame.so

### MAD ###
@USE_MAD_TRUE@%package -n gstreamer-mad  
@USE_MAD_TRUE@Summary:       GStreamer plug-in using MAD for mp3 decoding.
@USE_MAD_TRUE@Group:         Libraries/Multimedia
@USE_MAD_TRUE@Requires:      gstreamer-plugins = %{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@Plug-in 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@%{_libdir}/gst/libgstmad.so

### MIKMOD ###
@USE_MIKMOD_TRUE@%package -n gstreamer-mikmod
@USE_MIKMOD_TRUE@Summary:       GStreamer Mikmod plug-in.
@USE_MIKMOD_TRUE@Group:         Libraries/Multimedia
@USE_MIKMOD_TRUE@Requires:      gstreamer-plugins = %{version}
@USE_MIKMOD_TRUE@Requires:      mikmod
@USE_MIKMOD_TRUE@BuildRequires: mikmod
@USE_MIKMOD_TRUE@
@USE_MIKMOD_TRUE@%description -n gstreamer-mikmod
@USE_MIKMOD_TRUE@Plug-in 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@%{_libdir}/gst/libgstmikmod.so

### MJPEGTOOLS ###
@USE_MJPEGTOOLS_TRUE@%package -n gstreamer-jpegmmx
@USE_MJPEGTOOLS_TRUE@Summary:       GStreamer mjpegtools plug-in for mmx jpeg.
@USE_MJPEGTOOLS_TRUE@Group:         Libraries/Multimedia
@USE_MJPEGTOOLS_TRUE@Requires:      gstreamer-plugins = %{version}
@USE_MJPEGTOOLS_TRUE@Requires:      mjpegtools
@USE_MJPEGTOOLS_TRUE@BuildRequires: mjpegtools-devel
@USE_MJPEGTOOLS_TRUE@
@USE_MJPEGTOOLS_TRUE@%description -n gstreamer-jpegmmx
@USE_MJPEGTOOLS_TRUE@mjpegtools-based encoding and decoding plug-in.
@USE_MJPEGTOOLS_TRUE@
@USE_MJPEGTOOLS_TRUE@%files -n gstreamer-jpegmmx
@USE_MJPEGTOOLS_TRUE@%defattr(-, root, root)
@USE_MJPEGTOOLS_TRUE@%{_libdir}/gst/libgstjpegmmxenc.so
@USE_MJPEGTOOLS_TRUE@%{_libdir}/gst/libgstjpegmmxdec.so

### MPEG2DEC ###
@USE_MPEG2DEC_TRUE@%package -n gstreamer-mpeg
@USE_MPEG2DEC_TRUE@Summary:GStreamer plug-ins 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.1
@USE_MPEG2DEC_TRUE@BuildRequires: mpeg2dec-devel => 0.2.1
@USE_MPEG2DEC_TRUE@Obsoletes:     gstreamer-mpeg1
@USE_MPEG2DEC_TRUE@Obsoletes:     gstreamer-mpeg2
@USE_MPEG2DEC_TRUE@Obsoletes:     gstreamer-mpeg2dec
@USE_MPEG2DEC_TRUE@
@USE_MPEG2DEC_TRUE@%description -n gstreamer-mpeg
@USE_MPEG2DEC_TRUE@Plug-ins 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@%{_libdir}/gst/libgstmpeg1types.so
@USE_MPEG2DEC_TRUE@%{_libdir}/gst/libgstmpeg1encoder.so
@USE_MPEG2DEC_TRUE@%{_libdir}/gst/libgstmpeg1systemencode.so
@USE_MPEG2DEC_TRUE@%{_libdir}/gst/libgstmpegaudio.so
@USE_MPEG2DEC_TRUE@%{_libdir}/gst/libgstmpegaudioparse.so
@USE_MPEG2DEC_TRUE@%{_libdir}/gst/libgstmp1videoparse.so
@USE_MPEG2DEC_TRUE@%{_libdir}/gst/libgstmpegstream.so
@USE_MPEG2DEC_TRUE@%{_libdir}/gst/libgstmpeg2enc.so
@USE_MPEG2DEC_TRUE@%{_libdir}/gst/libgstmpeg2dec.so
@USE_MPEG2DEC_TRUE@%{_libdir}/gst/libgstmpeg2subt.so
@USE_MPEG2DEC_TRUE@%{_libdir}/gst/libgstmpeg2types.so

### OPENQUICKTIME ###
@USE_OPENQUICKTIME_TRUE@%package -n gstreamer-openquicktime
@USE_OPENQUICKTIME_TRUE@Summary:       GStreamer OpenQuicktime video Plug-in.
@USE_OPENQUICKTIME_TRUE@Group:         Libraries/Multimedia
@USE_OPENQUICKTIME_TRUE@Requires:      gstreamer-plugins = %{version}
@USE_OPENQUICKTIME_TRUE@Requires:      openquicktime => 1.0
@USE_OPENQUICKTIME_TRUE@BuildRequires: openquicktime-devel => 1.0
@USE_OPENQUICKTIME_TRUE@
@USE_OPENQUICKTIME_TRUE@%description -n gstreamer-openquicktime
@USE_OPENQUICKTIME_TRUE@Plug-in 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@%{_libdir}/gst/libgstopenquicktimedemux.so
@USE_OPENQUICKTIME_TRUE@%{_libdir}/gst/libgstopenquicktimetypes.so
@USE_OPENQUICKTIME_TRUE@%{_libdir}/gst/libgstopenquicktimedecoder.so

### OSS ###
@USE_OSS_TRUE@%package -n gstreamer-oss
@USE_OSS_TRUE@Summary:  GStreamer plug-ins for input and output using OSS.
@USE_OSS_TRUE@Group:    Libraries/Multimedia
@USE_OSS_TRUE@Requires: gstreamer-plugins = %{version}
@USE_OSS_TRUE@Requires: glibc-devel
@USE_OSS_TRUE@
@USE_OSS_TRUE@%description -n gstreamer-oss 
@USE_OSS_TRUE@Plug-ins 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@%{_libdir}/gst/libgstossaudio.so
# @USE_OSS_TRUE@%{_libdir}/gst/libgstosshelper*

### RAW1394 ###
@USE_RAW1394_TRUE@%package -n gstreamer-raw1394
@USE_RAW1394_TRUE@Summary:       GStreamer raw1394 Firewire plug-in.
@USE_RAW1394_TRUE@Group:         Libraries/Multimedia
@USE_RAW1394_TRUE@Requires:      gstreamer-plugins = %{version}
@USE_RAW1394_TRUE@Requires:      libraw1394
@USE_RAW1394_TRUE@BuildRequires: libraw1394-devel
@USE_RAW1394_TRUE@
@USE_RAW1394_TRUE@%description -n gstreamer-raw1394
@USE_RAW1394_TRUE@Plug-in for digital video support using raw1394.
@USE_RAW1394_TRUE@
@USE_RAW1394_TRUE@%files -n gstreamer-raw1394
@USE_RAW1394_TRUE@%defattr(-, root, root)
@USE_RAW1394_TRUE@%{_libdir}/gst/libgst1394.so

### RTP ###
@USE_RTP_TRUE@%package -n gstreamer-rtp
@USE_RTP_TRUE@Summary:  GStreamer RTP plug-in.
@USE_RTP_TRUE@Group:    Libraries/Multimedia
@USE_RTP_TRUE@Requires: gstreamer-plugins = %{version}
@USE_RTP_TRUE@Requires: librtp >= 0.1
@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@%{_libdir}/gst/libgstrtp.so

### SIDPLAY ###
@USE_SIDPLAY_TRUE@%package -n gstreamer-sid
@USE_SIDPLAY_TRUE@Summary:       GStreamer Sid C64 music plug-in.
@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@
@USE_SIDPLAY_TRUE@%description -n gstreamer-sid
@USE_SIDPLAY_TRUE@Plug-in 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@%{_libdir}/gst/libgstsid.so

### SDL ###
@USE_SDL_TRUE@%package -n gstreamer-SDL
@USE_SDL_TRUE@Summary:       GStreamer plug-in for outputting video to SDL.
@USE_SDL_TRUE@Group:         Libraries/Multimedia
@USE_SDL_TRUE@Requires:      gstreamer-plugins = %{version}
@USE_SDL_TRUE@Requires:      SDL >= 1.2.0
@USE_SDL_TRUE@BuildRequires: SDL-devel >= 1.2.0
@USE_SDL_TRUE@#SDL-devel should require XFree86-devel because it links to it
@USE_SDL_TRUE@#only it doesn't seem to do that currently
@USE_SDL_TRUE@BuildRequires: 	XFree86-devel
@USE_SDL_TRUE@#it used to be called gstreamer-sdl
@USE_SDL_TRUE@Obsoletes: 	gstreamer-sdl
@USE_SDL_TRUE@
@USE_SDL_TRUE@%description -n gstreamer-SDL
@USE_SDL_TRUE@Plug-in for sending video output to the Simple Direct Media architecture.
@USE_SDL_TRUE@(http://www.libsdl.org). Useful for full-screen playback.
@USE_SDL_TRUE@
@USE_SDL_TRUE@%files -n gstreamer-SDL
@USE_SDL_TRUE@%defattr(-, root, root)
@USE_SDL_TRUE@%{_libdir}/gst/libgstsdlvideosink.so

### SHOUT ###
@USE_SHOUT_TRUE@%package -n gstreamer-icecast
@USE_SHOUT_TRUE@Summary:       GStreamer Icecast plug-in using libshout.
@USE_SHOUT_TRUE@Group:         Libraries/Multimedia
@USE_SHOUT_TRUE@Requires:      gstreamer-plugins = %{version}
@USE_SHOUT_TRUE@Requires:      libshout >= 1.0.5
@USE_SHOUT_TRUE@BuildRequires: libshout-devel >= 1.0.5
@USE_SHOUT_TRUE@
@USE_SHOUT_TRUE@%description -n gstreamer-icecast
@USE_SHOUT_TRUE@Plug-in for broadcasting audio to the Icecast server.
@USE_SHOUT_TRUE@
@USE_SHOUT_TRUE@%files -n gstreamer-icecast
@USE_SHOUT_TRUE@%defattr(-, root, root)
@USE_SHOUT_TRUE@%{_libdir}/gst/libgstshout.so

### VORBIS ###
@USE_VORBIS_TRUE@%package -n gstreamer-vorbis
@USE_VORBIS_TRUE@Summary:       GStreamer plug-in for encoding and decoding Ogg Vorbis audio files.
@USE_VORBIS_TRUE@Group:         Libraries/Multimedia
@USE_VORBIS_TRUE@Requires:      gstreamer-plugins = %{version}
@USE_VORBIS_TRUE@Requires:      libogg >= 1.0beta4
@USE_VORBIS_TRUE@Requires:      libvorbis >= 1.0beta4
@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@Plug-ins 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@%{_libdir}/gst/libgstvorbis.so

### VIDEO 4 LINUX ###
@USE_V4L_TRUE@%package -n gstreamer-v4l
@USE_V4L_TRUE@Summary:       GStreamer Video for Linux plug-in.
@USE_V4L_TRUE@Group:         Libraries/Multimedia
@USE_V4L_TRUE@Requires:      gstreamer-plugins = %{version}
@USE_V4L_TRUE@BuildRequires: glibc-devel
@USE_V4L_TRUE@
@USE_V4L_TRUE@%description -n gstreamer-v4l
@USE_V4L_TRUE@Plug-in for accessing Video for Linux devices.
@USE_V4L_TRUE@
@USE_V4L_TRUE@%files -n gstreamer-v4l
@USE_V4L_TRUE@%defattr(-, root, root)
@USE_V4L_TRUE@%{_libdir}/gst/libgstv4lelement.so
@USE_V4L_TRUE@%{_libdir}/gst/libgstv4lsrc.so
@USE_V4L_TRUE@%{_libdir}/gst/libgstv4lmjpegsrc.so
@USE_V4L_TRUE@%{_libdir}/gst/libgstv4lmjpegsink.so

### XVIDEO ###
@USE_XVIDEO_TRUE@%package -n gstreamer-xvideosink
@USE_XVIDEO_TRUE@Summary: GStreamer XFree output plug-in
@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@%{_libdir}/gst/libgstxvideosink.so

@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:      XFree86
@USE_XVIDEO_TRUE@BuildRequires: XFree86-devel
@USE_XVIDEO_TRUE@
@USE_XVIDEO_TRUE@%description -n gstreamer-videosink
@USE_XVIDEO_TRUE@Plug-in for X playback.
@USE_XVIDEO_TRUE@
@USE_XVIDEO_TRUE@%files -n gstreamer-videosink
@USE_XVIDEO_TRUE@%defattr(-, root, root)
@USE_XVIDEO_TRUE@%{_libdir}/gst/libgstvideosink.so

### packages without external dependencies ###

### audio-effects ###
%package -n gstreamer-audio-effects
Summary: 	GStreamer audio effects plug-in.
Group: 		Libraries/Multimedia
Requires: 	gstreamer-plugins = %{version}
Obsoletes:	gstreamer-misc

%description -n gstreamer-audio-effects
Plug-in with various audio effects including resampling, 
sine wave generation, silence generation, channel mixing, stream mixing,
integer to float conversion, LAW conversion and level detection plug-ins.

%files -n gstreamer-audio-effects
%defattr(-, root, root)
%{_libdir}/gst/libgstresample.so
%{_libdir}/gst/libgstsinesrc.so
%{_libdir}/gst/libgstsilence.so
%{_libdir}/gst/libgststereo.so
%{_libdir}/gst/libgststereo2mono.so
%{_libdir}/gst/libgstvolume.so
%{_libdir}/gst/libgstvolenv.so
%{_libdir}/gst/libgstplayondemand.so
%{_libdir}/gst/libgstspeed.so
%{_libdir}/gst/libgststereosplit.so
%{_libdir}/gst/libgstadder.so
%{_libdir}/gst/libgstalaw.so
%{_libdir}/gst/libgstintfloat.so
%{_libdir}/gst/libgstlevel.so
%{_libdir}/gst/libgstmono2stereo.so
%{_libdir}/gst/libgstmulaw.so
%{_libdir}/gst/libgstpassthrough.so
# %{_libdir}/gst/libgstfloatcast.so
%{_libdir}/gst/libgstcutter.so
%{_libdir}/gst/libgstfilter.so

### audio-formats ###
%package -n gstreamer-audio-formats
Summary: 	GStreamer audio format plug-ins.
Group: 		Libraries/Multimedia
Requires: 	gstreamer-plugins = %{version}
BuildRequires: 	gcc-c++

%description -n gstreamer-audio-formats
Plug-in for playback of wav, au and mod audio files as well as mp3 type.

%files -n gstreamer-audio-formats
%defattr(-, root, root)
%{_libdir}/gst/libgstwavparse.so
%{_libdir}/gst/libgstauparse.so
%{_libdir}/gst/libgstmp3types.so
%{_libdir}/gst/libgstmodplug.so

### festival ###
%package -n gstreamer-festival
Summary: 	GStreamer plug-in for text-to-speech support using a festival server.
Group: 		Libraries/Multimedia
Requires: 	gstreamer-plugins = %{version}

%description -n gstreamer-festival
Plug-in for text-to-speech using the festival server.

%files -n gstreamer-festival
%defattr(-, root, root)
%{_libdir}/gst/libgstfestival.so

### flx ###
%package -n gstreamer-flx
Summary: 	GStreamer plug-in for FLI/FLX animation format.
Group: 		Libraries/Multimedia
Requires: 	gstreamer-plugins = %{version}
Requires: 	gstreamer-colorspace = %{version}
%description -n gstreamer-flx
Plug-in for playing FLI/FLX animations under GStreamer.

%files -n gstreamer-flx
%defattr(-, root, root)
%{_libdir}/gst/libgstflxdec.so

### qcam ###
%package -n gstreamer-qcam
Summary: 	GStreamer QuickCam plug-in.
Group: 		Libraries/Multimedia
Requires: 	gstreamer-plugins = %{version}

%description -n gstreamer-qcam
Plug-in for accessing a Quickcam video source.

%files -n gstreamer-qcam
%defattr(-, root, root)
%{_libdir}/gst/libgstqcam.so

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

%description -n gstreamer-udp
Plug-ins for UDP transport under GStreamer.

%files -n gstreamer-udp
%defattr(-, root, root)
%{_libdir}/gst/libgstudp.so

### vcd ###
%package -n gstreamer-vcd
Summary: 	GStreamer Video CD plug-in.
Group: 		Libraries/Multimedia
Requires: 	gstreamer-plugins = %{version}

%description -n gstreamer-vcd
Video CD parsing and playback plug-in for GStreamer.

%files -n gstreamer-vcd
%defattr(-, root, root)
%{_libdir}/gst/libgstvcdsrc.so
%{_libdir}/gst/libgstcdxaparse.so

### video-effects ###
%package -n gstreamer-video-effects
Summary: 	GStreamer video effects plug-in.
Group: 		Libraries/Multimedia
Requires: 	gstreamer-plugins = %{version}
Obsoletes:	gstreamer-deinterlace
Obsoletes:	gstreamer-misc

%description -n gstreamer-video-effects
Plug-in with various video effects including deinterlacing and effecTV
plug-ins.

%files -n gstreamer-video-effects
%defattr(-, root, root)
%{_libdir}/gst/libgsteffectv.so
%{_libdir}/gst/libgstdeinterlace.so
%{_libdir}/gst/libgstmedian.so
%{_libdir}/gst/libgstrtjpeg.so

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

%description -n gstreamer-visualisation
Various plug-ins for visual effects to use with audio.
This includes smoothwave, spectrum, goom, chart, monoscope, synaesthesia
and vumeter.

%files -n gstreamer-visualisation
%defattr(-, root, root)
%{_libdir}/gst/libgstsmooth.so
%{_libdir}/gst/libgstspectrum.so
%{_libdir}/gst/libgstvumeter.so
%{_libdir}/gst/libgstgoom.so
%{_libdir}/gst/libgstchart.so
%{_libdir}/gst/libgstmonoscope.so
%{_libdir}/gst/libgstsynaesthesia.so

### yuv4mjpeg ###
%package -n gstreamer-yuv4mjpeg
Summary: 	GStreamer plug-in for YUV to MJPEG conversion.
Group: 		Libraries/Multimedia
Requires: 	gstreamer-plugins = %{version}
Obsoletes: 	gstreamer-lavencode

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

%files -n gstreamer-yuv4mjpeg
%defattr(-, root, root)
%{_libdir}/gst/libgsty4menc.so

# package supporting GConf
@USE_GCONF_TRUE@%package -n gstreamer-GConf
@USE_GCONF_TRUE@Summary: 	GStreamer GConf schemas.
@USE_GCONF_TRUE@Group: 		Libraries/Multimedia
@USE_GCONF_TRUE@Requires: 	gstreamer-plugins = %{version}
@USE_GCONF_TRUE@Requires: 	GConf2
@USE_GCONF_TRUE@BuildRequires: 	GConf2-devel

@USE_GCONF_TRUE@%description -n gstreamer-GConf
@USE_GCONF_TRUE@Installation of GStreamer GConf schemas.
@USE_GCONF_TRUE@These set usable defaults used by all GStreamer-enabled Gnome applications.

@USE_GCONF_TRUE@%files -n gstreamer-GConf
@USE_GCONF_TRUE@%defattr(-, root, root)
@USE_GCONF_TRUE@%{_sysconfdir}/gconf/schemas/gstreamer.schemas

@USE_GCONF_TRUE@%post -n gstreamer-GConf
@USE_GCONF_TRUE@export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
@USE_GCONF_TRUE@gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gstreamer.schemas > /dev/null

%changelog
* Fri Jul 05 2002 Thomas Vander Stichele <thomas@apestaart.org>
- release 0.4.0 !
- added gstreamer-libs.pc
- removed all gst-register calls since this should be done automatically now

* Thu Jul 04 2002 Thomas Vander Stichele <thomas@apestaart.org>
- fix issue with SDL package
- make all packages STRICTLY require the right version to avoid
  ABI issues
- make gst-plugins obsolete gst-plugin-libs
- also send output of gst-register to /dev/null to lower the noise

* Wed Jul 03 2002 Thomas Vander Stichele <thomas@apestaart.org>
- require glibc-devel instead of glibc-kernheaders since the latter is only
  since 7.3 and glibc-devel pulls in the right package anyway

* Sun Jun 23 2002 Thomas Vander Stichele <thomas@apestaart.org>
- changed header location of plug-in libs

* Mon Jun 17 2002 Thomas Vander Stichele <thomas@apestaart.org>
- major cleanups
- adding gst-register on postun everywhere
- remove ldconfig since we don't actually install libs in system dirs
- removed misc package
- added video-effects
- dot every Summary
- uniformify all descriptions a little

* Thu Jun 06 2002 Thomas Vander Stichele <thomas@apestaart.org>
- various BuildRequires: additions

* Tue Jun 04 2002 Thomas Vander Stichele <thomas@apestaart.org>
- added USE_LIBADSPA_TRUE bits to ladspa package

* Mon Jun 03 2002 Thomas Vander Stichele <thomas@apestaart.org>
- Added libfame package

* Mon May 12 2002 Christian Fredrik Kalager Schaller <Uraeus@linuxrising.org>
- Added jack, dxr3, http packages
- Added visualisation plug-ins, effecttv and synaesthesia
- Created devel package
- Removed gstreamer-plugins-libs package (moved it into gstreamer-plugins)
- Replaced prefix/dirname with _macros

* Mon May 06 2002 Thomas Vander Stichele <thomas@apestaart.org>
- added gstreamer-GConf package

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