- More SPEC fixes, not perfect yet, but maybe it actually works now
[platform/upstream/gstreamer.git] / gstreamer.spec.in
1 %define name    gstreamer
2 %define ver     @VERSION@
3 %define rel     2
4 %define prefix  /usr
5
6 Summary: GStreamer Streaming-media framework runtime
7 Name: %name
8 Version: %ver
9 Release: %rel
10 Copyright: LGPL
11 Group: Libraries/Multimedia
12 Source: %{name}-%{ver}.tar.gz
13 BuildRoot: /var/tmp/%{name}-%{ver}-root
14 Docdir: %{prefix}/doc
15 Prefix: %prefix
16 Requires: libxml >= 1.8.0
17 Requires: gnome-libs >= 1.2.0
18
19 %description
20 GStreamer is a streaming-media framework, based on graphs of filters which
21 operate on media data. Applications using this library can do anything
22 from real-time sound processing to playing videos, and just about anything
23 else media-related.  Its plugin-based architecture means that new data
24 types or processing capabilities can be added simply by installing new 
25 plugins.
26
27 %package devel
28 Summary: Libraries and include files for GStreamer streaming-media framework
29 Group: Development/Libraries
30 Requires: %{name} = %{ver}
31
32 %description devel
33 GStreamer is a streaming-media framework, based on graphs of filters which
34 operate on media data. Applications using this library can do anything
35 from real-time sound processing to playing videos, and just about anything
36 else media-related.  Its plugin-based architecture means that new data
37 types or processing capabilities can be added simply by installing new   
38 plugins.
39
40 This package contains the libraries and includes files necessary to develop
41 applications and plugins for GStreamer.
42
43
44 %package -n gstreamer-esd
45 Summary: Gstreamer plugin for ESD sound output
46 Group: Libraries/Multimedia
47 Requires: esound >= 0.2.8
48 Requires: %{name} = %{ver}
49
50 %description -n gstreamer-esd
51 Output plugin for GStreamer for use with the esound package
52
53 %package -n gstreamer-gsm
54 Summary: Gstreamer plugin for GSM lossy audio format
55 Group: Libraries/Multimedia
56 Requires: gsm >= 1.0.10
57 Requires: %{name} = %{ver}
58
59 %description -n gstreamer-gsm
60 Output plugin for GStreamer to convert to GSM lossy audio format.
61
62 %package -n gstreamer-cdparanoia
63 Summary: Gstreamer plugin for CD audio input using CDParanoia IV
64 Group: Libraries/Multimedia
65 Requires: cdparanoia >= alpha9.7
66 Requires: %{name} = %{ver}
67
68 %description -n gstreamer-cdparanoia
69 Plugin for ripping audio tracks using cdparania under GStreamer
70
71 %package -n gstreamer-aalib
72 Summary: Gstreamer plugin for Ascii-art output
73 Group: Libraries/Multimedia
74 Requires: aalib >= 1.3
75 Requires: %{name} = %{ver}
76
77 %description -n gstreamer-aalib
78 Plugin for viewing movies in Ascii-art using aalib library.
79
80 %package -n gstreamer-gnomevfs
81 Summary: Gstreamer plugins for GNOME VFS input and output
82 Group: Libraries/Multimedia
83 Requires: gnome-vfs > 1.0
84 Requires: %{name} = %{ver}
85
86 %description -n gstreamer-gnomevfs
87 Plugins for reading and writing through GNOME VFS.
88
89 %package -n gstreamer-flx
90 Summary: Gstreamer plugin for FLI/FLX animation format
91 Group: Libraries/Multimedia
92 Requires: %{name} = %{ver}
93
94 %description -n gstreamer-flx
95 Plugin for playing FLI/FLX animations under GStreamer
96
97 %package -n gstreamer-avi
98 Summary: Gstreamer plugin for AVI format movie playback
99 Group: Libraries/Multimedia
100 Requires: %{name} = %{ver}
101
102 %description -n gstreamer-avi
103 Plugins for playback of AVI format media files.
104
105 %package -n gstreamer-vorbis
106 Summary: Gstreamer plugin for encoding and decoding Ogg Vorbis audio files
107 Group: Libraries/Multimedia
108 Requires: libogg >= 1.0beta4
109 Requires: libvorbis >= 1.0beta4
110 Requires: %{name} = %{ver}
111
112 %description -n gstreamer-vorbis
113 Plugins for creating end playing Ogg Vorbis audio files.
114
115 %package -n gstreamer-sdl
116 Summary: Gstreamer plugin for outputing to SDL
117 Group: Libraries/Multimedia
118 Requires: SDL >= 1.1.7
119 Requires: %{name} = %{ver}
120
121 %description -n gstreamer-sdl
122 Plugin for sending output to the Simple Direct Media architecture.
123 (http://www.libsdl.org). Usefull for fullscreen playback.
124
125 %package -n gstreamer-oss
126 Summary: Gstreamer plugins for input and output using OSS
127 Group: Libraries/Multimedia
128 Requires: %{name} = %{ver}
129
130 %description -n gstreamer-oss
131 Plugins for output and input to the OpenSoundSytem audio
132 drivers found in the Linux kernels or comercially available 
133 from OpenSound.
134
135 %package -n gstreamer-ac3dec
136 Summary: Gstreamer plugin for VOB playback
137 Group: Libraries/Multimedia
138 Requires: ac3dec >= 0.6.2
139 Requires: %{name} = %{ver}
140
141 %description -n gstreamer-ac3dec
142 Plugin for the free AC-3 stream decoder from Linuxvideo.
143 (http://linuxvideo.org/ac3dec/)
144
145 %package -n gstreamer-afs
146 Summary: Gstreamer plugin audiofile support
147 Group: Libraries/Multimedia
148 Requires: %{name} = %{ver}
149 Requires: audiofile >= 0.2.1
150
151 %description -n gstreamer-afs
152 Plugin for supporting reading and writing all files audiofile support
153
154 %package -n gstreamer-ladspa
155 Summary: Gstreamer wrapper for LADSPA plugins
156 Group: Libraries/Multimedia
157 Requires: %{name} = %{ver}
158
159 %description -n gstreamer-ladspa
160 Plugin which wraps LADSPA plugins for use by GStreamer applications.
161
162 %package -n gstreamer-mad
163 Summary: Gstreamer MAD mp3 decoder library
164 Group: Libraries/Multimedia
165 Requires: %{name} = %{ver}
166 Requires: mad >= 0.13.0
167
168 %description -n gstreamer-mad
169 Plugin for playback of mp3 songs using the very good MAD library
170
171 %package -n gstreamer-v4l
172 Summary: Gstreamer video for linux input plugin
173 Group: Libraries/Multimedia
174 Requires: %{name} = %{ver}
175
176 %description -n gstreamer-v4l
177 Plugin for inputing video for Linux streams.
178
179 %package -n gstreamer-synaesthesia
180 Summary: GStreamer Synaesthesia effect plugin
181 Group: Libraries/Multimedia
182 Requires: %{name} = %{ver}
183
184 %description -n gstreamer-synaesthesia
185 Plugin for the very nice synaesthesia visual effect.
186
187 %package -n gstreamer-vcd
188 Summary: Gstremar Video CD plugin 
189 Group: Libraries/Multimedia
190 Requires: %{name} = %{ver}
191
192 %description -n gstreamer-vcd
193 Video CD playback plugin
194
195 # %package -n gstreamer-alsa
196 # Summary: Gstreamer plugins for the ALSA sound architecture
197 # Group: Libraries/Multimedia
198
199 # %description -n gstreamer-alsa
200 # Input and output plugin for the ALSA soundcard driver architecture.
201
202 %changelog
203 * Sat Jun 02 2001 Christian Schaller <Uraeus@linuxrising.org>
204 - Split the following plugins into separate RPMS
205
206 * Fri Jun 01 2001 Christian Schaller <Uraeus@linuxrising.org>
207 - Updated with change suggestions from Dennis Bjorklund
208 * Tue Jan 09 2001 Erik Walthinsen <omega@cse.ogi.edu>
209 - updated to build -devel package as well
210
211 * Sun Jan 30 2000 Erik Walthinsen <omega@cse.ogi.edu>
212 - first draft of spec file
213
214 %prep
215 %setup
216
217 %build
218 FLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%{prefix}
219 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix}
220
221 if [ "$SMP" != "" ]; then
222   (make "MAKE=make -k -j $SMP"; exit 0)
223   make
224 else
225   make
226 fi
227
228 %install  
229 [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
230
231 make prefix=$RPM_BUILD_ROOT%{prefix} install
232
233 %clean
234 [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
235
236 %post
237 /sbin/ldconfig
238 %{prefix}/bin/gstreamer-register
239
240 %post -n gstreamer-esd
241 %{prefix}/bin/gstreamer-register
242
243 %postun
244 /sbin/ldconfig
245   
246 %files
247 %defattr(-, root, root)
248 %doc AUTHORS COPYING README
249 %{prefix}/bin/gsteditor
250 %{prefix}/bin/gstmediaplay
251 %{prefix}/bin/gstreamer-complete
252 %{prefix}/bin/gstreamer-compprep
253 %{prefix}/bin/gstreamer-config
254 %{prefix}/bin/gstreamer-inspect
255 %{prefix}/bin/gstreamer-launch
256 %{prefix}/bin/gstreamer-register
257 %{prefix}/lib/lib*.so*
258 %{prefix}/lib/gst/libadder*
259 %{prefix}/lib/gst/libalaw*
260 %{prefix}/lib/gst/libaudioscale*
261 %{prefix}/lib/gst/libgstautoplug*
262 %{prefix}/lib/gst/libcolorspace*
263 %{prefix}/lib/gst/libgstcolorspace*
264 %{prefix}/lib/gst/libgstelements*
265 %{prefix}/lib/gst/libgstgetbits*
266 %{prefix}/lib/gst/libgstidct*
267 %{prefix}/lib/gst/libgstriff*
268 %{prefix}/lib/gst/libgstjpeg*
269 %{prefix}/lib/gst/libintfloatconvert*
270 %{prefix}/lib/gst/liblevel*
271 %{prefix}/lib/gst/libmedian*
272 %{prefix}/lib/gst/libmono2stereo*
273 %{prefix}/lib/gst/libmulaw*
274 %{prefix}/lib/gst/libpassthrough*
275 %{prefix}/lib/gst/librtjpe*
276 %{prefix}/lib/gst/libsmooth*
277 %{prefix}/lib/gst/libstereo*
278 %{prefix}/lib/gst/libsystem_*
279 %{prefix}/lib/gst/libgstputbits*
280 %{prefix}/lib/gst/libvideoscale*
281 %{prefix}/lib/gst/libgstvideoscale*
282 %{prefix}/lib/gst/libvol*
283 %{prefix}/lib/gst/libvu*
284 %{prefix}/lib/gst/libxvideosink*
285 %{prefix}/lib/gst/libmp*
286 %{prefix}/share/gsteditor/*
287 %{prefix}/share/gstmediaplay/*
288 %{prefix}/man/man1/*
289
290 %files devel
291 %defattr(-, root, root)
292 %{prefix}/bin/gstreamer-config
293 %{prefix}/include/*
294 %{prefix}/lib/lib*.la
295 %{prefix}/lib/lib*.so
296 %{prefix}/lib/pkgconfig/*
297 %{prefix}/share/aclocal/*
298
299
300 %files -n gstreamer-esd
301 %defattr(-, root, root)
302 %{prefix}/lib/gst/libesd*
303
304 %files -n gstreamer-gsm
305 %defattr(-, root, root)
306 %{prefix}/lib/gst/libgstgsm*
307
308 %files -n gstreamer-cdparanoia
309 %defattr(-, root, root)
310 %{prefix}/lib/gst/libcdparanoia*
311
312 %files -n gstreamer-aalib
313 %defattr(-, root, root)
314 %{prefix}/lib/gst/libaa*
315
316 %files -n gstreamer-gnomevfs
317 %defattr(-, root, root)
318 %{prefix}/lib/gst/libgnomevfs*
319
320 %files -n gstreamer-flx
321 %defattr(-, root, root)
322 %{prefix}/lib/gst/libflx*
323
324 %files -n gstreamer-avi
325 %defattr(-, root, root)
326 %{prefix}/lib/gst/libavi*
327 %{prefix}/lib/gst/libwin*
328
329 %files -n gstreamer-vorbis
330 %defattr(-, root, root)
331 %{prefix}/lib/gst/libgstvorbis*
332
333 %files -n gstreamer-sdl
334 %defattr(-, root, root)
335 %{prefix}/lib/gst/libsdl*
336
337 %files -n gstreamer-oss
338 %defattr(-, root, root)
339 %{prefix}/lib/gst/libgstoss*
340
341 %files -n gstreamer-ac3dec
342 %defattr(-, root, root)
343 %{prefix}/lib/gst/libac3dec*
344
345 %files -n gstreamer-afs
346 %defattr(-, root, root)
347 %{prefix}/lib/gst/libafs*
348
349 %files -n gstreamer-ladspa
350 %defattr(-, root, root)
351 %{prefix}/lib/gst/libgstladspa*
352
353 %files -n gstreamer-v4l
354 %defattr(-, root, root)
355 %{prefix}/lib/gst/libv4l*
356
357 %files -n gstreamer-synaesthesia
358 %defattr(-, root, root)
359 %{prefix}/lib/gst/libsynaesthesia*
360
361 %files -n gstreamer-vcd
362 %defattr(-, root, root)
363 %{prefix}/lib/gst/libvcd*
364
365 # %files -n gstreamer-alsa
366 # %defattr(-, root, root)
367 # %{prefix}/lib/gst/libalsa*