1 %define majorminor @GST_MAJORMINOR@
2 %define gstreamer gstreamer
4 %define gst_minver 0.10.0
6 Name: %{gstreamer}-plugins-good
8 Release: @GST_PLUGINS_GOOD_VERSION_RELEASE@.gst
9 Summary: GStreamer plug-ins with good code and licensing
11 Group: Applications/Multimedia
13 URL: http://gstreamer.freedesktop.org/
14 Vendor: GStreamer Backpackers Team <package@gstreamer.freedesktop.org>
15 Source: http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-%{version}.tar.gz
16 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
18 Requires: %{gstreamer} >= %{gst_minver}
19 BuildRequires: %{gstreamer}-devel >= %{gst_minver}
21 BuildRequires: gcc-c++
23 @USE_ESD_TRUE@BuildRequires: esound-devel >= 0.2.8
24 @USE_ESD_TRUE@Obsoletes: gstreamer-esd
26 @USE_ESD_TRUE@Provides: gstreamer-audiosrc
27 @USE_ESD_TRUE@Provides: gstreamer-audiosink
28 @USE_FLAC_TRUE@BuildRequires: flac-devel >= 1.0.3
29 @USE_GCONF_TRUE@BuildRequires: GConf2-devel
30 @USE_JPEG_TRUE@BuildRequires: libjpeg-devel
31 @USE_LIBCACA_TRUE@BuildRequires: libcaca-devel
32 @USE_LIBDV_TRUE@BuildRequires: libdv-devel
33 @USE_LIBPNG_TRUE@BuildRequires: libpng-devel >= 1.2.0
34 # @USE_MIKMOD_TRUE@BuildRequires: mikmod
35 @USE_OSS_TRUE@BuildRequires: glibc-devel
36 # @USE_RAW1394_TRUE@BuildRequires: libraw1394-devel
37 # @USE_RAW1394_TRUE@BuildRequires: libavc1394-devel
38 @USE_SPEEX_TRUE@BuildRequires: speex-devel
39 @USE_HAL_TRUE@BuildRequires: hal-devel
40 @USE_SHOUT2_TRUE@BuildRequires: libshout-devel >= 2.0
41 @USE_LADSPA_TRUE@BuildRequires: ladspa-devel
42 @USE_AALIB_TRUE@BuildRequires: aalib-devel >= 1.3
43 @USE_AALIB_TRUE@Provides: gstreamer-aasink = %{version}-%{release}
46 GStreamer is a streaming media framework, based on graphs of filters which
47 operate on media data. Applications using this library can do anything
48 from real-time sound processing to playing videos, and just about anything
49 else media-related. Its plugin-based architecture means that new data
50 types or processing capabilities can be added simply by installing new
54 %setup -q -n gst-plugins-good-%{version}
63 rm -rf $RPM_BUILD_ROOT
65 export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
67 unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
69 # Clean out files that should not be part of the rpm.
70 rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.la
71 rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.a
72 rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
73 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
74 rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgstgdkpixbuf.so
76 %find_lang gst-plugins-good-%{majorminor}
79 rm -rf $RPM_BUILD_ROOT
81 %files -f gst-plugins-good-%{majorminor}.lang
82 %defattr(-, root, root)
83 %doc AUTHORS COPYING README REQUIREMENTS
85 # non-core plugins without external dependencies
86 %{_libdir}/gstreamer-%{majorminor}/libgstalaw.so
87 %{_libdir}/gstreamer-%{majorminor}/libgstalpha.so
88 %{_libdir}/gstreamer-%{majorminor}/libgstautodetect.so
89 %{_libdir}/gstreamer-%{majorminor}/libgstavi.so
90 %{_libdir}/gstreamer-%{majorminor}/libgsteffectv.so
91 %{_libdir}/gstreamer-%{majorminor}/libgstgoom.so
92 %{_libdir}/gstreamer-%{majorminor}/libgstlevel.so
93 %{_libdir}/gstreamer-%{majorminor}/libgstefence.so
94 %{_libdir}/gstreamer-%{majorminor}/libgstmulaw.so
95 %{_libdir}/gstreamer-%{majorminor}/libgstrtp.so
96 %{_libdir}/gstreamer-%{majorminor}/libgstrtsp.so
97 %{_libdir}/gstreamer-%{majorminor}/libgstsmpte.so
98 %{_libdir}/gstreamer-%{majorminor}/libgstudp.so
99 %{_libdir}/gstreamer-%{majorminor}/libgstvideobox.so
100 %{_libdir}/gstreamer-%{majorminor}/libgstvideoflip.so
101 %{_libdir}/gstreamer-%{majorminor}/libgstwavenc.so
102 %{_libdir}/gstreamer-%{majorminor}/libgstwavparse.so
103 %{_libdir}/gstreamer-%{majorminor}/libgstauparse.so
104 %{_libdir}/gstreamer-%{majorminor}/libgstdebug.so
105 %{_libdir}/gstreamer-%{majorminor}/libgstnavigationtest.so
106 %{_libdir}/gstreamer-%{majorminor}/libgstalphacolor.so
107 @USE_CAIRO_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstcairo.so
108 %{_libdir}/gstreamer-%{majorminor}/libgstflxdec.so
109 %{_libdir}/gstreamer-%{majorminor}/libgstmatroska.so
110 %{_libdir}/gstreamer-%{majorminor}/libgstvideomixer.so
111 %{_libdir}/gstreamer-%{majorminor}/libgstcutter.so
112 %{_libdir}/gstreamer-%{majorminor}/libgstmultipart.so
113 %{_libdir}/gstreamer-%{majorminor}/libgstid3demux.so
114 %{_libdir}/gstreamer-%{majorminor}/libgstcdio.so
115 %{_libdir}/gstreamer-%{majorminor}/libgstapetag.so
117 # gstreamer-plugins with external dependencies but in the main package
118 @USE_LIBCACA_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstcacasink.so
119 @USE_ESD_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstesd.so
120 @USE_FLAC_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstflac.so
121 @USE_JPEG_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstjpeg.so
122 # @USE_MIKMOD_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstmikmod.so
123 @USE_LIBPNG_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstpng.so
124 @USE_OSS_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstossaudio.so
125 ## @USE_RAW1394_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgst1394.so
126 @USE_SPEEX_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstspeex.so
127 @USE_GCONF_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstgconfelements.so
128 @USE_HAL_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgsthalelements.so
129 # @USE_LADSPA_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstladspa.so
130 @USE_SHOUT2_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstshout2.so
131 @USE_AALIB_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstaasink.so
132 @USE_LIBDV_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstdv.so
133 @USE_DV1394_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgst1394.so
137 @USE_GCONF_TRUE@%{_sysconfdir}/gconf/schemas/gstreamer-%{majorminor}.schemas
140 @USE_GCONF_TRUE@export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
141 @USE_GCONF_TRUE@gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gstreamer-%{majorminor}.schemas > /dev/null
146 * Fri Sep 02 2005 Thomas Vander Stichele <thomas at apestaart dot org>
147 - clean up for splitup