1 %define majorminor @GST_MAJORMINOR@
2 %define gstreamer gstreamer
6 Release: @GST_VERSION_RELEASE@
7 Summary: GStreamer streaming media framework runtime
9 Group: Applications/Multimedia
11 URL: http://gstreamer.freedesktop.org/
12 Vendor: GStreamer Backpackers Team <package@gstreamer.freedesktop.org>
13 Source: http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-%{version}.tar.gz
14 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
16 %define _glib2 @GLIB2_REQ@
17 %define _libxml2 @LIBXML2_REQ@
19 Requires: glib2 >= %_glib2
20 Requires: libxml2 >= %_libxml2
23 # Provides: gstreamer =%{version}-%{release}
25 BuildRequires: glib2-devel >= %_glib2
26 BuildRequires: libxml2-devel >= %_libxml2
31 BuildRequires: gtk-doc >= 1.1
33 BuildRequires: gettext
34 BuildRequires: zlib-devel
35 BuildRequires: popt > 1.6
36 Requires(pre): /sbin/ldconfig
37 Requires(post): /sbin/ldconfig
39 ### documentation requirements
40 BuildRequires: python2
41 BuildRequires: openjade
42 BuildRequires: jadetex
43 BuildRequires: libxslt
44 BuildRequires: docbook-style-dsssl
45 BuildRequires: docbook-style-xsl
46 BuildRequires: docbook-utils
47 BuildRequires: transfig
49 BuildRequires: netpbm-progs
50 BuildRequires: ghostscript
53 GStreamer is a streaming media framework, based on graphs of filters which
54 operate on media data. Applications using this library can do anything
55 from real-time sound processing to playing videos, and just about anything
56 else media-related. Its plugin-based architecture means that new data
57 types or processing capabilities can be added simply by installing new
61 Summary: Libraries/include files for GStreamer streaming media framework
62 Group: Development/Libraries
64 Requires: %{name} = %{version}-%{release}
65 Requires: glib2-devel >= %_glib2
66 Requires: libxml2-devel >= %_libxml2
69 GStreamer is a streaming-media framework, based on graphs of filters which
70 operate on media data. Applications using this library can do anything
71 from real-time sound processing to playing videos, and just about anything
72 else media-related. Its plugin-based architecture means that new data
73 types or processing capabilities can be added simply by installing new
76 This package contains the libraries and includes files necessary to develop
77 applications and plugins for GStreamer.
79 %package -n %{gstreamer}-tools
80 Summary: tools for GStreamer streaming media framework
81 Group: Applications/Multimedia
83 %description -n %{gstreamer}-tools
84 GStreamer is a streaming-media framework, based on graphs of filters which
85 operate on media data. Applications using this library can do anything
86 from real-time sound processing to playing videos, and just about anything
87 else media-related. Its plugin-based architecture means that new data
88 types or processing capabilities can be added simply by installing new
91 This package contains wrapper scripts for the command-line tools that work
92 with different major/minor versions of GStreamer.
95 %setup -q -n gstreamer-%{version}
99 --with-cachedir=%{_localstatedir}/cache/gstreamer-%{majorminor} \
100 --disable-tests --disable-examples \
106 rm -rf $RPM_BUILD_ROOT
108 # Install doc temporarily in order to be included later by rpm
109 %makeinstall docdir="`pwd`/installed-doc"
111 %find_lang gstreamer-%{majorminor}
112 # Clean out files that should not be part of the rpm.
113 rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.la
114 rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.a
115 rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
116 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
118 # Create empty cache directory
119 mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/cache/gstreamer-%{majorminor}
122 rm -rf $RPM_BUILD_ROOT
127 %postun -p /sbin/ldconfig
129 %files -f gstreamer-%{majorminor}.lang
130 %defattr(-, root, root, -)
131 # %doc AUTHORS COPYING ABOUT-NLS README RELEASE MAINTAINERS ChangeLog CHANGES-0.9 DOCBUILDING INSTALL
132 %{_libdir}/libgstreamer-%{majorminor}.so.*
133 %{_libdir}/libgstbase-%{majorminor}.so.*
134 %{_libdir}/libgstcontroller-%{majorminor}.so.*
135 %{_libdir}/libgstdataprotocol-%{majorminor}.so.*
136 %{_libdir}/libgstnet-%{majorminor}.so.*
137 %{_libdir}/libgstcheck-%{majorminor}.so.*
138 %dir %{_libdir}/gstreamer-%{majorminor}
139 %{_libdir}/gstreamer-%{majorminor}/libgstcoreelements.so
140 %{_libdir}/gstreamer-%{majorminor}/libgstcoreindexers.so
142 %{_bindir}/gst-feedback-%{majorminor}
143 %{_bindir}/gst-inspect-%{majorminor}
144 %{_bindir}/gst-launch-%{majorminor}
145 %{_bindir}/gst-md5sum-%{majorminor}
146 %{_bindir}/gst-typefind-%{majorminor}
147 %{_bindir}/gst-xmlinspect-%{majorminor}
148 %{_bindir}/gst-xmllaunch-%{majorminor}
149 %{_mandir}/man1/gst-feedback-%{majorminor}.*
150 %{_mandir}/man1/gst-inspect-%{majorminor}.*
151 %{_mandir}/man1/gst-launch-%{majorminor}.*
152 %{_mandir}/man1/gst-md5sum-%{majorminor}.*
153 %{_mandir}/man1/gst-typefind-%{majorminor}.*
154 %{_mandir}/man1/gst-xmlinspect-%{majorminor}.*
155 %{_mandir}/man1/gst-xmllaunch-%{majorminor}.*
157 %dir %{_localstatedir}/cache/gstreamer-%{majorminor}
159 %files -n %{gstreamer}-tools
160 %defattr(-, root, root, -)
161 %{_bindir}/gst-feedback
162 %{_bindir}/gst-inspect
163 %{_bindir}/gst-launch
164 %{_bindir}/gst-md5sum
165 %{_bindir}/gst-typefind
166 %{_bindir}/gst-xmlinspect
167 %{_bindir}/gst-xmllaunch
170 %defattr(-, root, root, -)
171 # %doc installed-doc/faq installed-doc/pwg installed-doc/manual
172 %dir %{_includedir}/gstreamer-%{majorminor}
173 %dir %{_includedir}/gstreamer-%{majorminor}/gst
174 %{_includedir}/gstreamer-%{majorminor}/gst/*.h
175 %{_includedir}/gstreamer-%{majorminor}/gst/controller/gstcontroller.h
176 %{_includedir}/gstreamer-%{majorminor}/gst/net/gstnet.h
177 %{_includedir}/gstreamer-%{majorminor}/gst/net/gstnetclientclock.h
178 %{_includedir}/gstreamer-%{majorminor}/gst/net/gstnettimepacket.h
179 %{_includedir}/gstreamer-%{majorminor}/gst/net/gstnettimeprovider.h
180 %{_includedir}/gstreamer-%{majorminor}/gst/base
181 %{_includedir}/gstreamer-%{majorminor}/gst/dataprotocol
182 %{_includedir}/gstreamer-%{majorminor}/gst/check/gstcheck.h
183 %{_libdir}/libgstreamer-%{majorminor}.so
184 %{_libdir}/libgstdataprotocol-%{majorminor}.so
185 %{_libdir}/libgstbase-%{majorminor}.so
186 %{_libdir}/libgstcontroller-%{majorminor}.so
187 %{_libdir}/libgstnet-%{majorminor}.so
188 %{_libdir}/libgstcheck-%{majorminor}.so
190 %{_datadir}/aclocal/gst-element-check-%{majorminor}.m4
191 %{_libdir}/pkgconfig/gstreamer-%{majorminor}.pc
192 %{_libdir}/pkgconfig/gstreamer-base-%{majorminor}.pc
193 %{_libdir}/pkgconfig/gstreamer-dataprotocol-%{majorminor}.pc
194 %{_libdir}/pkgconfig/gstreamer-controller-%{majorminor}.pc
195 %{_libdir}/pkgconfig/gstreamer-net-%{majorminor}.pc
196 %{_libdir}/pkgconfig/gstreamer-check-%{majorminor}.pc
198 %doc %{_datadir}/gtk-doc/html/gstreamer-%{majorminor}
199 %doc %{_datadir}/gtk-doc/html/gstreamer-libs-%{majorminor}
200 %doc %{_datadir}/gtk-doc/html/gstreamer-plugins-%{majorminor}
203 * Fri Sep 02 2005 Thomas Vander Stichele <thomas at apestaart dot org>
206 * Thu Jun 09 2005 Thomas Vander Stichele <thomas at apestaart dot org>
207 - clean up spec for 0.9 builds
209 * Thu Feb 12 2004 Thomas Vander Stichele <thomas at apestaart dot org>
210 - sync with 0.7.4 fedora spec
212 * Thu Feb 05 2004 Thomas Vander Stichele <thomas at apestaart dot org>
213 - bump gtk-doc required version to 1.0 for the new options used
215 * Wed Feb 04 2004 Thomas Vander Stichele <thomas at apestaart dot org>
216 - add -common package containing frontend wrapper binaries
218 * Mon Dec 01 2003 Thomas Vander Stichele <thomas at apestaart dot org>
219 - changed documentation buildrequires
221 * Sun Nov 09 2003 Christian Schaller <Uraeus@gnome.org>
222 - Fix spec to handle new bytestream library
224 * Sun Aug 17 2003 Christian Schaller <uraeus@gnome.org>
225 - Remove docs build from RPM as the build is broken
226 - Fix stuff since more files are versioned now
227 - Remove wingo schedulers
228 - Remove putbits stuff
230 * Sun May 18 2003 Thomas Vander Stichele <thomas at apestaart dot org>
231 - devhelp files are now generated by gtk-doc, changed accordingly
233 * Sun Mar 16 2003 Christian F.K. Schaller <Uraeus@gnome.org>
234 - Add gthread scheduler
236 * Sat Dec 07 2002 Thomas Vander Stichele <thomas at apestaart dot org>
237 - define majorminor and use it everywhere
238 - full parallel installability
240 * Tue Nov 05 2002 Christian Schaller <Uraeus@linuxrising.org>
241 - Add optwingo scheduler
242 * Sat Oct 12 2002 Christian Schaller <Uraeus@linuxrising.org>
243 - Updated to work better with default RH8 rpm
244 - Added missing unspeced files
245 - Removed .a and .la files from buildroot
247 * Sat Sep 21 2002 Thomas Vander Stichele <thomas@apestaart.org>
250 * Tue Sep 17 2002 Thomas Vander Stichele <thomas@apestaart.org>
251 - adding flex to buildrequires
253 * Fri Sep 13 2002 Christian F.K. Schaller <Uraeus@linuxrising.org>
254 - Fixed the schedulers after the renaming
255 * Sun Sep 08 2002 Thomas Vander Stichele <thomas@apestaart.org>
256 - added transfig to the BuildRequires:
258 * Sat Jun 22 2002 Thomas Vander Stichele <thomas@apestaart.org>
259 - moved header location
261 * Mon Jun 17 2002 Thomas Vander Stichele <thomas@apestaart.org>
265 * Fri Jun 07 2002 Thomas Vander Stichele <thomas@apestaart.org>
266 - added release of gstreamer to req of gstreamer-devel
267 - changed location of API docs to be in gtk-doc like other gtk-doc stuff
268 - reordered SPEC file
270 * Mon Apr 29 2002 Thomas Vander Stichele <thomas@apestaart.org>
271 - moved html docs to gtk-doc standard directory
273 * Tue Mar 5 2002 Thomas Vander Stichele <thomas@apestaart.org>
274 - move version defines of glib2 and libxml2 to configure.ac
275 - add BuildRequires for these two libs
277 * Sun Mar 3 2002 Thomas Vander Stichele <thomas@apestaart.org>
278 - put html docs in canonical place, avoiding %doc erasure
279 - added devhelp support, current install of it is hackish
281 * Sat Mar 2 2002 Christian Schaller <Uraeus@linuxrising.org>
282 - Added documentation to build
284 * Mon Feb 11 2002 Thomas Vander Stichele <thomas@apestaart.org>
285 - added libgstbasicscheduler
286 - renamed libgst to libgstreamer
288 * Fri Jan 04 2002 Christian Schaller <Uraeus@linuxrising.org>
289 - Added configdir parameter as it seems the configdir gets weird otherwise
291 * Thu Jan 03 2002 Thomas Vander Stichele <thomas@apestaart.org>
292 - split off gstreamer-editor from core
293 - removed gstreamer-gnome-apps
295 * Sat Dec 29 2001 Rodney Dawes <dobey@free.fr>
296 - Cleaned up the spec file for the gstreamer core/plug-ins split
299 * Sat Dec 15 2001 Christian Schaller <Uraeus@linuxrising.org>
300 - Split of more plugins from the core and put them into their own modules
301 - Includes colorspace, xfree and wav
302 - Improved package Require lines
303 - Added mp3encode (lame based) to the SPEC
305 * Wed Dec 12 2001 Christian Schaller <Uraeus@linuxrising.org>
306 - Thomas merged mpeg plugins into one
307 * Sat Dec 08 2001 Christian Schaller <Uraeus@linuxrising.org>
308 - More minor cleanups including some fixed descriptions from Andrew Mitchell
310 * Fri Dec 07 2001 Christian Schaller <Uraeus@linuxrising.org>
311 - Added logging to the make statement
313 * Wed Dec 05 2001 Christian Schaller <Uraeus@linuxrising.org>
314 - Updated in preparation for 0.3.0 release
316 * Fri Jun 29 2001 Christian Schaller <Uraeus@linuxrising.org>
317 - Updated for 0.2.1 release
318 - Split out the GUI packages into their own RPM
319 - added new plugins (FLAC, festival, quicktime etc.)
321 * Sat Jun 09 2001 Christian Schaller <Uraeus@linuxrising.org>
322 - Visualisation plugins bundled out togheter
323 - Moved files sections up close to their respective descriptions
325 * Sat Jun 02 2001 Christian Schaller <Uraeus@linuxrising.org>
326 - Split the package into separate RPMS,
327 putting most plugins out by themselves.
329 * Fri Jun 01 2001 Christian Schaller <Uraeus@linuxrising.org>
330 - Updated with change suggestions from Dennis Bjorklund
332 * Tue Jan 09 2001 Erik Walthinsen <omega@cse.ogi.edu>
333 - updated to build -devel package as well
335 * Sun Jan 30 2000 Erik Walthinsen <omega@cse.ogi.edu>
336 - first draft of spec file