- Updated GStreamer SPEC which sorts out plugins into separate plugins, needs more...
[platform/upstream/gstreamer.git] / gstreamer.spec.in
1 %define name    gstreamer
2 %define ver     @VERSION@
3 %define rel     1
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
17 %description
18 GStreamer is a streaming-media framework, based on graphs of filters which
19 operate on media data. Applications using this library can do anything
20 from real-time sound processing to playing videos, and just about anything
21 else media-related.  Its plugin-based architecture means that new data
22 types or processing capabilities can be added simply by installing new 
23 plugins.
24
25 %package devel
26 Summary: Libraries and include files for GStreamer streaming-media framework
27 Group: Development/Libraries
28 Requires: %{name}
29
30 %description devel
31 GStreamer is a streaming-media framework, based on graphs of filters which
32 operate on media data. Applications using this library can do anything
33 from real-time sound processing to playing videos, and just about anything
34 else media-related.  Its plugin-based architecture means that new data
35 types or processing capabilities can be added simply by installing new   
36 plugins.
37
38 This package contains the libraries and includes files necessary to develop
39 applications and plugins for GStreamer.
40
41
42 %package -n gstreamer-esd
43 Summary: Gstreamer plugin for ESD sound output
44 Group: Libraries/Multimedia
45 Requires: esound >= 0.2.8
46
47 %description -n gstreamer-esd
48 Output plugin for GStreamer for use with the esound package
49
50 %package -n gstreamer-gsm
51 Summary: Gstreamer plugin for GSM lossy audio format
52 Group: Libraries/Multimedia
53 Requires: gsm >= 1.0.10
54
55 %description -n gstreamer-gsm
56 Output plugin for GStreamer to convert to GSM lossy audio format.
57
58 %package -n gstreamer-cdparanoia
59 Summary: Gstreamer plugin for CD audio input using CDParanoia IV
60 Group: Libraries/Multimedia
61 Requires: cdparanoia >= alpha9.7
62
63 %description -n gstreamer-cdparanoia
64 Plugin for ripping audio tracks using cdparania under GStreamer
65
66 %package -n gstreamer-aalib
67 Summary: Gstreamer plugin for Ascii-art output
68 Group: Libraries/Multimedia
69 Requires: aalib >= 1.3
70
71 %description -n gstreamer-aalib
72 Plugin for viewing movies in Ascii-art using aalib library.
73
74 %package -n gstreamer-gnomevfs
75 Summary: Gstreamer plugins for GNOME VFS input and output
76 Group: Libraries/Multimedia
77 Requires: gnome-vfs > 1.0
78
79 %description -n gstreamer-gnomevfs
80 Plugins for reading and writing through GNOME VFS.
81
82 %package -n gstreamer-flx
83 Summary: Gstreamer plugin for FLI/FLX animation format
84 Group: Libraries/Multimedia
85
86 %description -n gstreamer-flx
87 Plugin for playing FLI/FLX animations under GStreamer
88
89 %package -n gstreamer-avi
90 Summary: Gstreamer plugin for AVI format movie playback
91 Group: Libraries/Multimedia
92
93 %description -n gstreamer-avi
94 Plugins for playback of AVI format media files.
95
96 %package -n gstreamer-vorbis
97 Summary: Gstreamer plugin for encoding and decoding Ogg Vorbis audio files
98 Group: Libraries/Multimedia
99 Requires: libogg >= 1.0beta4
100 Requires: libvorbis >= 1.0beta4
101
102 %description -n gstreamer-vorbis
103 Plugins for creating end playing Ogg Vorbis audio files.
104
105 %package -n gstreamer-sdl
106 Summary: Gstreamer plugin for outputing to SDL
107 Group: Libraries/Multimedia
108 Requires: SDL >= 1.1.7
109
110 %description -n gstreamer-sdl
111 Plugin for sending output to the Simple Direct Media architecture.
112 (http://www.libsdl.org). Usefull for fullscreen playback.
113
114 %package -n gstreamer-oss
115 Summary: Gstreamer plugins for input and output using OSS
116 Group: Libraries/Multimedia
117
118 %description -n gstreamer-oss
119 Plugins for output and input to the OpenSoundSytem audio
120 drivers found in the Linux kernels or comercially available 
121 from OpenSound.
122
123 %package -n gstreamer-ac3dec
124 Summary: Gstreamer plugin for VOB playback
125 Group: Libraries/Multimedia
126
127 %description -n gstreamer-ac3dec
128 Plugin for the free AC-3 stream decoder from Linuxvideo.
129 (http://linuxvideo.org/ac3dec/)
130
131 %changelog
132 * Sat Jun 02 2001 Christian Schaller <Uraeus@linuxrising.org>
133 - Split the plugins into separate RPMS
134
135 * Fri Jun 01 2001 Christian Schaller <Uraeus@linuxrising.org>
136 - Updated with change suggestions from Dennis Bjorklund
137 * Tue Jan 09 2001 Erik Walthinsen <omega@cse.ogi.edu>
138 - updated to build -devel package as well
139
140 * Sun Jan 30 2000 Erik Walthinsen <omega@cse.ogi.edu>
141 - first draft of spec file
142
143 %prep
144 %setup
145
146 %build
147 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix
148
149 if [ "$SMP" != "" ]; then
150   (make "MAKE=make -k -j $SMP"; exit 0)
151   make
152 else
153   make
154 fi
155
156 %install  
157 [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
158
159 make prefix=$RPM_BUILD_ROOT%{prefix} install
160
161 %clean
162 [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
163
164 %post
165 /sbin/ldconfig
166 %{prefix}/bin/gstreamer-register
167
168 %postun
169 /sbin/ldconfig
170   
171 %files
172 %defattr(-, root, root)
173 %doc AUTHORS COPYING README
174 %{prefix}/bin/gsteditor
175 %{prefix}/bin/gstmediaplay
176 %{prefix}/bin/gstreamer-complete
177 %{prefix}/bin/gstreamer-compprep
178 %{prefix}/bin/gstreamer-inspect
179 %{prefix}/bin/gstreamer-launch
180 %{prefix}/bin/gstreamer-register
181 %{prefix}/lib/lib*.so.*
182 %{prefix}/lib/gst/
183 %{prefix}/share/*
184 %{prefix}/man/man1/*
185
186 %files devel
187 %defattr(-, root, root)
188 %{prefix}/bin/gstreamer-config
189 %{prefix}/include/*
190 %{prefix}/lib/lib*.la
191 %{prefix}/lib/lib*.so
192 %{prefix}/lib/pkgconfig/*
193
194 %files -n gstreamer-esd
195 %defattr(-, root, root)
196 %{prefix}/lib/gst/libesd*
197
198 %files -n gstreamer-gsm
199 %defattr(-, root, root)
200 %{prefix}/lib/gst/libgstgsm*
201
202 %files -n gstreamer-cdparanoia
203 %defattr(-, root, root)
204 %{prefix}/lib/gst/libcdparanoia*
205
206 %files -n gstreamer-aalib
207 %defattr(-, root, root)
208 %{prefix}/lib/gst/libaa*
209
210 %files -n gstreamer-gnomevfs
211 %defattr(-, root, root)
212 %{prefix}/lib/gst/libgnomevfs*
213
214 %files -n gstreamer-flx
215 %defattr(-, root, root)
216 %{prefix}/lib/gst/libflx*
217
218 %files -n gstreamer-avi
219 %defattr(-, root, root)
220 %{prefix}/lib/gst/libavi*
221
222 %files -n gstreamer-vorbis
223 %defattr(-, root, root)
224 %{prefix}/lib/gst/libgstvorbis*
225
226 %files -n gstreamer-sdl
227 %defattr(-, root, root)
228 %{prefix}/lib/gst/libsdl*
229
230 %files -n gstreamer-oss
231 %defattr(-, root, root)
232 %{prefix}/lib/gst/libgstoss*
233
234 %files -n gstreamer-ac3dec
235 %defattr(-, root, root)
236 %{prefix}/lib/gst/libac3dec*