debian/changelog
[ubuntu-omap:gst-plugins-good0-10.git] / gst-plugins-good.spec.in
1 %define majorminor  @GST_MAJORMINOR@
2 %define gstreamer   gstreamer
3
4 %define gst_minver   0.10.0
5
6 Name:           %{gstreamer}-plugins-good
7 Version:        @VERSION@
8 Release:        @PACKAGE_VERSION_RELEASE@.gst
9 Summary:        GStreamer plug-ins with good code and licensing
10
11 Group:          Applications/Multimedia
12 License:        LGPL
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)
17
18 Requires:         %{gstreamer} >= %{gst_minver}
19 BuildRequires:    %{gstreamer}-devel >= %{gst_minver}
20
21 BuildRequires:  gcc-c++
22
23 @USE_ESD_TRUE@BuildRequires: esound-devel >= 0.2.8
24 @USE_ESD_TRUE@Obsoletes:     gstreamer-esd
25 @USE_ESD_TRUE@
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_OSS_TRUE@BuildRequires: glibc-devel
35 @USE_SPEEX_TRUE@BuildRequires:  speex-devel
36 @USE_HAL_TRUE@BuildRequires: hal-devel
37 @USE_SHOUT2_TRUE@BuildRequires: libshout-devel >= 2.0
38 @USE_AALIB_TRUE@BuildRequires:  aalib-devel >= 1.3
39 @USE_AALIB_TRUE@Provides:       gstreamer-aasink = %{version}-%{release}
40 @USE_PULSE_TRUE@BuildRequires: pulseaudio-libs-devel
41 @USE_DV1394_TRUE@BuildRequires: libavc1394-devel
42 @USE_DV1394_TRUE@BuildRequires: libdc1394-devel
43 @USE_DV1394_TRUE@BuildRequires: libiec61883-devel  
44 @USE_DV1394_TRUE@BuildRequires: libraw1394-devel
45
46 %description
47 GStreamer is a streaming media framework, based on graphs of filters which
48 operate on media data. Applications using this library can do anything
49 from real-time sound processing to playing videos, and just about anything
50 else media-related.  Its plugin-based architecture means that new data
51 types or processing capabilities can be added simply by installing new
52 plug-ins.
53
54 %prep
55 %setup -q -n gst-plugins-good-%{version}
56 %build
57 %configure \
58   --enable-debug \
59   --enable-DEBUG 
60
61 make %{?_smp_mflags}
62                                                                                 
63 %install
64 rm -rf $RPM_BUILD_ROOT
65
66 export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
67 %makeinstall
68 unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
69                                                                                 
70 # Clean out files that should not be part of the rpm.
71 rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.la
72 rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.a
73 rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
74 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
75
76 %find_lang gst-plugins-good-%{majorminor}
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
81 %post
82 @USE_GCONF_TRUE@export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
83 @USE_GCONF_TRUE@gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gstreamer-%{majorminor}.schemas > /dev/null
84
85 %files -f gst-plugins-good-%{majorminor}.lang
86 %defattr(-, root, root)
87 %doc AUTHORS COPYING README REQUIREMENTS gst-plugins-good.doap
88 %{_datadir}/gstreamer-%{majorminor}/presets/GstIirEqualizer10Bands.prs
89 %{_datadir}/gstreamer-%{majorminor}/presets/GstIirEqualizer3Bands.prs
90
91 # non-core plugins without external dependencies
92 %{_libdir}/gstreamer-%{majorminor}/libgstalaw.so
93 %{_libdir}/gstreamer-%{majorminor}/libgstalpha.so
94 %{_libdir}/gstreamer-%{majorminor}/libgstautodetect.so
95 %{_libdir}/gstreamer-%{majorminor}/libgstavi.so
96 %{_libdir}/gstreamer-%{majorminor}/libgsteffectv.so
97 %{_libdir}/gstreamer-%{majorminor}/libgstgoom.so
98 %{_libdir}/gstreamer-%{majorminor}/libgstlevel.so
99 %{_libdir}/gstreamer-%{majorminor}/libgstefence.so
100 %{_libdir}/gstreamer-%{majorminor}/libgstmulaw.so
101 %{_libdir}/gstreamer-%{majorminor}/libgstisomp4.so
102 %{_libdir}/gstreamer-%{majorminor}/libgstrtp.so
103 %{_libdir}/gstreamer-%{majorminor}/libgstrtpmanager.so
104 %{_libdir}/gstreamer-%{majorminor}/libgstrtsp.so
105 %{_libdir}/gstreamer-%{majorminor}/libgstsmpte.so
106 %{_libdir}/gstreamer-%{majorminor}/libgstudp.so
107 %{_libdir}/gstreamer-%{majorminor}/libgstvideobox.so
108 %{_libdir}/gstreamer-%{majorminor}/libgstwavenc.so
109 %{_libdir}/gstreamer-%{majorminor}/libgstwavparse.so
110 %{_libdir}/gstreamer-%{majorminor}/libgstauparse.so
111 %{_libdir}/gstreamer-%{majorminor}/libgstdebug.so
112 %{_libdir}/gstreamer-%{majorminor}/libgstnavigationtest.so
113 %{_libdir}/gstreamer-%{majorminor}/libgstalphacolor.so
114 @USE_CAIRO_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstcairo.so
115 %{_libdir}/gstreamer-%{majorminor}/libgstflxdec.so
116 %{_libdir}/gstreamer-%{majorminor}/libgstmatroska.so
117 %{_libdir}/gstreamer-%{majorminor}/libgstvideomixer.so
118 %{_libdir}/gstreamer-%{majorminor}/libgstcutter.so
119 %{_libdir}/gstreamer-%{majorminor}/libgstmultipart.so
120 %{_libdir}/gstreamer-%{majorminor}/libgstid3demux.so
121 @USE_GDK_PIXBUF_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstgdkpixbuf.so
122 %{_libdir}/gstreamer-%{majorminor}/libgstapetag.so
123 %{_libdir}/gstreamer-%{majorminor}/libgstannodex.so
124 %{_libdir}/gstreamer-%{majorminor}/libgstvideocrop.so
125 %{_libdir}/gstreamer-%{majorminor}/libgsticydemux.so
126 %{_libdir}/gstreamer-%{majorminor}/libgsttaglib.so
127 %{_libdir}/gstreamer-%{majorminor}/libgstximagesrc.so
128 %{_libdir}/gstreamer-%{majorminor}/libgstaudiofx.so
129 %{_libdir}/gstreamer-%{majorminor}/libgstequalizer.so
130 %{_libdir}/gstreamer-%{majorminor}/libgstmultifile.so
131 %{_libdir}/gstreamer-%{majorminor}/libgstspectrum.so
132 %{_libdir}/gstreamer-%{majorminor}/libgstgoom2k1.so
133 %{_libdir}/gstreamer-%{majorminor}/libgstinterleave.so
134 %{_libdir}/gstreamer-%{majorminor}/libgstreplaygain.so
135 %{_libdir}/gstreamer-%{majorminor}/libgstdeinterlace.so
136 %{_libdir}/gstreamer-%{majorminor}/libgstflv.so
137 %{_libdir}/gstreamer-%{majorminor}/libgsty4menc.so
138 %{_libdir}/gstreamer-%{majorminor}/libgstoss4audio.so
139 %{_libdir}/gstreamer-%{majorminor}/libgstimagefreeze.so
140 %{_libdir}/gstreamer-%{majorminor}/libgstshapewipe.so
141 %{_libdir}/gstreamer-%{majorminor}/libgstvideofilter.so
142 %{_libdir}/gstreamer-%{majorminor}/libgstaudioparsers.so
143
144 # sys plugins
145 @USE_GST_V4L2_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstvideo4linux2.so
146
147 # gstreamer-plugins with external dependencies but in the main package
148 @USE_LIBCACA_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstcacasink.so
149 @USE_ESD_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstesd.so
150 @USE_FLAC_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstflac.so
151 @USE_JACK_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstjack.so
152 @USE_JPEG_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstjpeg.so
153 @USE_LIBPNG_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstpng.so
154 @USE_OSS_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstossaudio.so
155 @USE_SPEEX_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstspeex.so
156 @USE_GCONF_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstgconfelements.so
157 @USE_HAL_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgsthalelements.so
158 @USE_SHOUT2_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstshout2.so
159 @USE_AALIB_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstaasink.so
160 @USE_LIBDV_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstdv.so
161 @USE_DV1394_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgst1394.so
162 @USE_WAVPACK_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstwavpack.so
163 @USE_SOUP_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstsouphttpsrc.so
164 @USE_PULSE_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstpulse.so
165
166 # schema files
167 @USE_GCONF_TRUE@%{_sysconfdir}/gconf/schemas/gstreamer-%{majorminor}.schemas
168
169 %changelog
170 * Tue Jun 12 2007 Jan Schmidt <jan at fluendo dot com>
171 - wavpack and qtdemux have moved from bad
172
173 * Fri Sep 02 2005 Thomas Vander Stichele <thomas at apestaart dot org>
174 - clean up for splitup