- Added ALSA plugin (commented out since I don't have alsa installed)
[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 # %package -n gstreamer-alsa
132 # Summary: Gstreamer plugins for the ALSA sound architecture
133 # Group: Libraries/Multimedia
134
135 # %description -n gstreamer-alsa
136 Input and output plugin for the ALSA soundcard driver architecture.
137
138 %changelog
139 * Sat Jun 02 2001 Christian Schaller <Uraeus@linuxrising.org>
140 - Split the plugins into separate RPMS
141
142 * Fri Jun 01 2001 Christian Schaller <Uraeus@linuxrising.org>
143 - Updated with change suggestions from Dennis Bjorklund
144 * Tue Jan 09 2001 Erik Walthinsen <omega@cse.ogi.edu>
145 - updated to build -devel package as well
146
147 * Sun Jan 30 2000 Erik Walthinsen <omega@cse.ogi.edu>
148 - first draft of spec file
149
150 %prep
151 %setup
152
153 %build
154 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix
155
156 if [ "$SMP" != "" ]; then
157   (make "MAKE=make -k -j $SMP"; exit 0)
158   make
159 else
160   make
161 fi
162
163 %install  
164 [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
165
166 make prefix=$RPM_BUILD_ROOT%{prefix} install
167
168 %clean
169 [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
170
171 %post
172 /sbin/ldconfig
173 %{prefix}/bin/gstreamer-register
174
175 %postun
176 /sbin/ldconfig
177   
178 %files
179 %defattr(-, root, root)
180 %doc AUTHORS COPYING README
181 %{prefix}/bin/gsteditor
182 %{prefix}/bin/gstmediaplay
183 %{prefix}/bin/gstreamer-complete
184 %{prefix}/bin/gstreamer-compprep
185 %{prefix}/bin/gstreamer-inspect
186 %{prefix}/bin/gstreamer-launch
187 %{prefix}/bin/gstreamer-register
188 %{prefix}/lib/lib*.so.*
189 %{prefix}/lib/gst/
190 %{prefix}/share/*
191 %{prefix}/man/man1/*
192
193 %files devel
194 %defattr(-, root, root)
195 %{prefix}/bin/gstreamer-config
196 %{prefix}/include/*
197 %{prefix}/lib/lib*.la
198 %{prefix}/lib/lib*.so
199 %{prefix}/lib/pkgconfig/*
200
201 %files -n gstreamer-esd
202 %defattr(-, root, root)
203 %{prefix}/lib/gst/libesd*
204
205 %files -n gstreamer-gsm
206 %defattr(-, root, root)
207 %{prefix}/lib/gst/libgstgsm*
208
209 %files -n gstreamer-cdparanoia
210 %defattr(-, root, root)
211 %{prefix}/lib/gst/libcdparanoia*
212
213 %files -n gstreamer-aalib
214 %defattr(-, root, root)
215 %{prefix}/lib/gst/libaa*
216
217 %files -n gstreamer-gnomevfs
218 %defattr(-, root, root)
219 %{prefix}/lib/gst/libgnomevfs*
220
221 %files -n gstreamer-flx
222 %defattr(-, root, root)
223 %{prefix}/lib/gst/libflx*
224
225 %files -n gstreamer-avi
226 %defattr(-, root, root)
227 %{prefix}/lib/gst/libavi*
228
229 %files -n gstreamer-vorbis
230 %defattr(-, root, root)
231 %{prefix}/lib/gst/libgstvorbis*
232
233 %files -n gstreamer-sdl
234 %defattr(-, root, root)
235 %{prefix}/lib/gst/libsdl*
236
237 %files -n gstreamer-oss
238 %defattr(-, root, root)
239 %{prefix}/lib/gst/libgstoss*
240
241 %files -n gstreamer-ac3dec
242 %defattr(-, root, root)
243 %{prefix}/lib/gst/libac3dec*
244
245 # %files -n gstreamer-alsa
246 # %defattr(-, root, root)
247 # %{prefix}/lib/gst/libalsa*