1 %define gstreamer gstreamer
2 %define majorminor @GST_MAJORMINOR@
4 %define _glib2 @GLIB_REQ@
5 %define _libxml2 @LIBXML2_REQ@
9 Release: @PACKAGE_VERSION_RELEASE@
10 Summary: GStreamer streaming media framework runtime
12 Group: Applications/Multimedia
14 URL: http://gstreamer.freedesktop.org/
15 Source: http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-%{version}.tar.bz2
16 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
18 Requires: gstreamer-tools >= %{version}
19 # gst-feedback uses these
20 Requires: which, pkgconfig
22 BuildRequires: glib2-devel >= %{_glib2}
23 BuildRequires: libxml2-devel >= %{_libxml2}
27 BuildRequires: check-devel
28 BuildRequires: gtk-doc >= 1.3
29 BuildRequires: gettext
31 # because AM_PROG_LIBTOOL was used in configure.ac
32 BuildRequires: gcc-c++
34 ### documentation requirements
35 BuildRequires: python2
36 BuildRequires: openjade
37 BuildRequires: jadetex
38 BuildRequires: libxslt
39 BuildRequires: docbook-style-dsssl
40 BuildRequires: docbook-style-xsl
41 BuildRequires: docbook-utils
42 BuildRequires: transfig
44 BuildRequires: netpbm-progs
45 BuildRequires: tetex-dvips
46 BuildRequires: ghostscript
50 GStreamer is a streaming media framework, based on graphs of filters which
51 operate on media data. Applications using this library can do anything
52 from real-time sound processing to playing videos, and just about anything
53 else media-related. Its plugin-based architecture means that new data
54 types or processing capabilities can be added simply by installing new
58 Summary: Libraries/include files for GStreamer streaming media framework
59 Group: Development/Libraries
61 Requires: %{name} = %{version}-%{release}
62 Requires: glib2-devel >= %{_glib2}
63 Requires: libxml2-devel >= %{_libxml2}
67 GStreamer is a streaming media framework, based on graphs of filters which
68 operate on media data. Applications using this library can do anything
69 from real-time sound processing to playing videos, and just about anything
70 else media-related. Its plugin-based architecture means that new data
71 types or processing capabilities can be added simply by installing new
74 This package contains the libraries and includes files necessary to develop
75 applications and plugins for GStreamer, as well as general and API
78 %package -n gstreamer-tools
79 Summary: common tools and files for GStreamer streaming media framework
80 Group: Applications/Multimedia
82 %description -n gstreamer-tools
83 GStreamer is a streaming media framework, based on graphs of filters which
84 operate on media data. Applications using this library can do anything
85 from real-time sound processing to playing videos, and just about anything
86 else media-related. Its plugin-based architecture means that new data
87 types or processing capabilities can be added simply by installing new
90 This package contains wrapper scripts for the command-line tools that work
91 with different major/minor versions of GStreamer.
94 %setup -q -n gstreamer-%{version}
97 # 0.10.0: manuals do not build due to an openjade error; disable for now
99 --with-package-name='CVS gstreamer package' \
100 --with-package-origin='http://gstreamer.freedesktop.org' \
104 --enable-introspection=yes
106 #make %{?_smp_mflags}
107 # FIXME: docs building doesn't work with smp yet
111 rm -rf $RPM_BUILD_ROOT
113 # Install doc temporarily in order to be included later by rpm
114 make install DESTDIR=$RPM_BUILD_ROOT
116 %find_lang gstreamer-%{majorminor}
117 # Clean out files that should not be part of the rpm.
118 mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/cache/gstreamer-%{majorminor}
119 rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.la
120 rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.a
121 rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
122 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
123 # Create empty cache directory
124 mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/cache/gstreamer-%{majorminor}
127 rm -rf $RPM_BUILD_ROOT
129 %post -p /sbin/ldconfig
131 %postun -p /sbin/ldconfig
133 %files -f gstreamer-%{majorminor}.lang
134 %defattr(-, root, root, -)
135 %doc AUTHORS COPYING NEWS README RELEASE TODO
136 %{_libdir}/libgstreamer-%{majorminor}.so.*
137 %{_libdir}/libgstbase-%{majorminor}.so.*
138 %{_libdir}/libgstcontroller-%{majorminor}.so.*
139 %{_libdir}/libgstdataprotocol-%{majorminor}.so.*
140 %{_libdir}/libgstnet-%{majorminor}.so.*
142 %dir %{_libdir}/gstreamer-%{majorminor}
143 %{_libdir}/gstreamer-%{majorminor}/libgstcoreelements.so
144 %{_libdir}/gstreamer-%{majorminor}/libgstcoreindexers.so
146 %{_bindir}/gst-feedback-%{majorminor}
147 %{_bindir}/gst-inspect-%{majorminor}
148 %{_bindir}/gst-launch-%{majorminor}
149 %{_bindir}/gst-typefind-%{majorminor}
150 %{_bindir}/gst-xmlinspect-%{majorminor}
151 %{_bindir}/gst-xmllaunch-%{majorminor}
152 %{_libexecdir}/gstreamer-%{majorminor}/gst-plugin-scanner
153 %doc %{_mandir}/man1/gst-feedback-%{majorminor}.*
154 %doc %{_mandir}/man1/gst-inspect-%{majorminor}.*
155 %doc %{_mandir}/man1/gst-launch-%{majorminor}.*
156 %doc %{_mandir}/man1/gst-typefind-%{majorminor}.*
157 %doc %{_mandir}/man1/gst-xmlinspect-%{majorminor}.*
158 %doc %{_mandir}/man1/gst-xmllaunch-%{majorminor}.*
159 %doc %{_datadir}/doc/gstreamer-%{majorminor}/manual
160 %doc %{_datadir}/doc/gstreamer-%{majorminor}/pwg
161 %doc %{_datadir}/doc/gstreamer-%{majorminor}/faq/
162 %{_libdir}/girepository-1.0/Gst-0.10.typelib
163 %{_libdir}/girepository-1.0/GstBase-0.10.typelib
164 %{_libdir}/girepository-1.0/GstCheck-0.10.typelib
165 %{_libdir}/girepository-1.0/GstController-0.10.typelib
166 %{_libdir}/girepository-1.0/GstNet-0.10.typelib
167 %{_datadir}/gir-1.0/Gst-0.10.gir
168 %{_datadir}/gir-1.0/GstBase-0.10.gir
169 %{_datadir}/gir-1.0/GstCheck-0.10.gir
170 %{_datadir}/gir-1.0/GstController-0.10.gir
171 %{_datadir}/gir-1.0/GstNet-0.10.gir
173 %files -n gstreamer-tools
174 %defattr(-, root, root, -)
175 %{_bindir}/gst-feedback
176 %{_bindir}/gst-inspect
177 %{_bindir}/gst-launch
178 %{_bindir}/gst-typefind
179 %{_bindir}/gst-xmlinspect
180 %{_bindir}/gst-xmllaunch
183 %defattr(-, root, root, -)
184 %dir %{_includedir}/gstreamer-%{majorminor}
185 %dir %{_includedir}/gstreamer-%{majorminor}/gst
186 %{_includedir}/gstreamer-%{majorminor}/gst/*.h
188 %{_includedir}/gstreamer-%{majorminor}/gst/base
189 %{_includedir}/gstreamer-%{majorminor}/gst/check
190 %{_includedir}/gstreamer-%{majorminor}/gst/controller
191 %{_includedir}/gstreamer-%{majorminor}/gst/dataprotocol
192 %{_includedir}/gstreamer-%{majorminor}/gst/net
194 %{_libdir}/libgstreamer-%{majorminor}.so
195 %{_libdir}/libgstdataprotocol-%{majorminor}.so
196 %{_libdir}/libgstbase-%{majorminor}.so
197 %{_libdir}/libgstcheck-%{majorminor}.so*
198 %{_libdir}/libgstcontroller-%{majorminor}.so
199 %{_libdir}/libgstnet-%{majorminor}.so
201 %{_datadir}/aclocal/gst-element-check-%{majorminor}.m4
202 %{_libdir}/pkgconfig/gstreamer-%{majorminor}.pc
203 %{_libdir}/pkgconfig/gstreamer-base-%{majorminor}.pc
204 %{_libdir}/pkgconfig/gstreamer-controller-%{majorminor}.pc
205 %{_libdir}/pkgconfig/gstreamer-check-%{majorminor}.pc
206 %{_libdir}/pkgconfig/gstreamer-dataprotocol-%{majorminor}.pc
207 %{_libdir}/pkgconfig/gstreamer-net-%{majorminor}.pc
209 %doc %{_datadir}/gtk-doc/html/gstreamer-%{majorminor}/*
210 %doc %{_datadir}/gtk-doc/html/gstreamer-libs-%{majorminor}/*
211 %doc %{_datadir}/gtk-doc/html/gstreamer-plugins-%{majorminor}/*
214 * Thu Apr 3 2008 Christian Schaller <christian.schaller at collabora co uk>
215 - Update spec file to make inclusion of all docs explicit
217 * Tue Dec 11 2007 Christian Schaller <christian.schaller@collabora.co.uk>
218 - Import from Fedora package
220 * Fri Nov 16 2007 - Bastien Nocera <bnocera@redhat.com> - 0.10.15-1
223 * Mon Oct 1 2007 Matthias Clasen <mclasen@redhat.com> - 0.10.14-4
224 - Add missing Requires (#312671)
226 * Tue Aug 14 2007 Matthias Clasen <mclasen@redhat.com> - 0.10.14-3
227 - Require check-devel (#251956)
229 * Sat Aug 04 2007 - Bastien Nocera <bnocera@redhat.com> - 0.10.14-1
232 * Tue Jun 05 2007 - Bastien Nocera <bnocera@redhat.com> - 0.10.13-2
233 - Remove upstreamed docs patch
235 * Tue Jun 05 2007 - Bastien Nocera <bnocera@redhat.com> - 0.10.13-1
238 * Thu Mar 08 2007 - Bastien Nocera <bnocera@redhat.com> - 0.10.12-1
241 * Tue Feb 13 2007 - Bastien Nocera <bnocera@redhat.com> - 0.10.11-2
242 - Remove Requires on packages that BuildRequire us
244 * Tue Dec 12 2006 Matthias Clasen <mclasen@redhat.com> - 0.10.11-1
247 * Fri Oct 27 2006 Matthias Clasen <mclasen@redhat.com> - 0.10.10-2
249 - Attempt to fix multilib conflicts
251 * Mon Oct 23 2006 Matthias Clasen <mclasen@redhat.com> - 0.10.10-1
254 * Thu Jul 27 2006 Matthias Clasen <mclasen@redhat.com> - 0.10.9-2
255 - Disable gtk-doc to fix multilib conflicts
257 * Thu Jul 20 2006 John (J5) Palmieri <johnp@redhat.com> - 0.10.9-1
258 - Update to new upstream version
260 * Wed Jul 19 2006 Matthias Clasen <mclasen@redhat.com> - 0.10.8-4
261 - Re-add the gstreamer-plugins-good dependency
263 * Wed Jul 19 2006 Matthias Clasen <mclasen@redhat.com> - 0.10.8-3.2
264 - Temporarily break the dependency cycle with gsteamer-plugins-good
266 * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.10.8-3.1
269 * Wed Jun 28 2006 Karsten Hopp <karsten@redhat.de> 0.10.8-3
270 - remove RPATH pointing to RPM_BUILD_ROOT (#196870)
272 * Tue Jun 13 2006 Matthias Clasen <mclasen@redhat.com> - 0.10.8-2
275 * Tue Jun 13 2006 Matthias Clasen <mclasen@redhat.com> - 0.10.8-1
278 * Mon May 22 2006 Matthias Clasen <mclasen@redhat.com> - 0.10.6-1
281 * Tue Feb 14 2006 Rik van Riel <riel@redhat.com> - 0.10-3-3
282 - Obsolete gstreamer-plugins (#181296)
284 * Mon Feb 13 2006 Christopher Aillon <caillon@redhat.com> - 0.10.3-2
287 * Fri Feb 10 2006 Christopher Aillon <caillon@redhat.com> - 0.10.3-1
290 * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.10.2-1.1
291 - rebuilt for new gcc4.1 snapshot and glibc changes
293 * Wed Jan 18 2006 John (J5) Palmieri <johnp@redhat.com> - 0.10.2-1
296 * Fri Jan 06 2006 John (J5) Palmieri <johnp@redhat.com> - 0.10.1-1
297 - New upstream version
299 * Fri Dec 16 2005 Thomas Vander Stichele <thomas at apestaart dot org>
301 - rebuilt for Fedora Core Development
303 * Wed Dec 14 2005 Thomas Vander Stichele <thomas at apestaart dot org>
305 - rebuilt against newer GLib and friends
307 * Mon Dec 05 2005 Thomas Vander Stichele <thomas at apestaart dot org>
311 * Thu Dec 01 2005 Thomas Vander Stichele <thomas at apestaart dot org>
313 - new release, with 0.10 majorminor
314 - removed compprep and complete
316 - renamed libgstcorelements, libgstcoreindexers
319 * Sat Nov 12 2005 Thomas Vander Stichele <thomas at apestaart dot org>
323 * Mon Oct 24 2005 Thomas Vander Stichele <thomas at apestaart dot org>
327 * Mon Oct 03 2005 Thomas Vander Stichele <thomas at apestaart dot org>
331 * Thu Sep 08 2005 Thomas Vander Stichele <thomas at apestaart dot org>
336 * Thu Jun 09 2005 Thomas Vander Stichele <thomas at apestaart dot org>
338 - first development series release
340 * Tue May 03 2005 Thomas Vander Stichele <thomas at apestaart dot org>
343 - up glib2 to 2.4 because disting on 2.4 builds marshalling code needing 2.4
345 * Mon May 02 2005 Thomas Vander Stichele <thomas at apestaart dot org>
349 * Tue Feb 08 2005 Thomas Vander Stichele <thomas at apestaart dot org>
352 - switch back to the gst tag since fedora.us is gone
354 * Thu Feb 03 2005 Thomas Vander Stichele <thomas at apestaart dot org>
358 * Thu Dec 23 2004 Thomas Vander Stichele <thomas at apestaart dot org>
360 - new upstream release
362 * Fri Dec 17 2004 Thomas Vander Stichele <thomas at apestaart dot org>
365 - added fair gthread scheduler
367 * Wed Oct 06 2004 Thomas Vander Stichele <thomas at apestaart dot org>
369 - update for new GStreamer release
371 * Tue Oct 05 2004 Thomas Vander Stichele <thomas at apestaart dot org>
373 - update for new GStreamer release
375 * Sun Sep 26 2004 Thomas Vander Stichele <thomas at apestaart dot org>
377 - update for new GStreamer prerelease
379 * Sun Sep 12 2004 Thomas Vander Stichele <thomas at apestaart dot org>
381 - update for new GStreamer prerelease
383 * Mon Aug 16 2004 Thomas Vander Stichele <thomas at apestaart dot org>
385 - update for new GStreamer release
387 * Thu Aug 12 2004 Thomas Vander Stichele <thomas at apestaart dot org>
389 - update for new GStreamer prerelease
390 - set package name and origin
392 * Tue Jul 20 2004 Thomas Vander Stichele <thomas at apestaart dot org>
394 - update for new GStreamer release
395 - unbreak the postun script by not removing the cache dir
397 * Tue Jul 20 2004 Thomas Vander Stichele <thomas at apestaart dot org>
398 - 0.8.3.3-0.fdr.1: update for new GStreamer prerelease
400 * Fri Jul 16 2004 Thomas Vander Stichele <thomas at apestaart dot org>
401 - 0.8.3.2-0.fdr.1: update for new GStreamer prerelease
403 * Sat Jun 05 2004 Thomas Vander Stichele <thomas at apestaart dot org>
404 - 0.8.3-0.fdr.1: update for new GStreamer release
406 * Fri Jun 04 2004 Thomas Vander Stichele <thomas at apestaart dot org>
407 - 0.8.2-0.fdr.1: update for new GStreamer release
409 * Thu Apr 15 2004 Thomas Vander Stichele <thomas at apestaart dot org>
410 - 0.8.1-0.fdr.1: update for new GStreamer release
412 * Thu Apr 15 2004 Thomas Vander Stichele <thomas at apestaart dot org>
413 - add entry schedulers, clean up scheduler file section
415 * Tue Mar 16 2004 Thomas Vander Stichele <thomas at apestaart dot org>
416 - 0.8.0-0.fdr.1: update for new GStreamer release, renamed base to gstreamer
418 * Tue Mar 09 2004 Thomas Vander Stichele <thomas at apestaart dot org>
419 - 0.7.6-0.fdr.1: updated for new GStreamer release, with maj/min set to 0.8
421 * Mon Mar 08 2004 Thomas Vander Stichele <thomas at apestaart dot org>
422 - 0.7.5-0.fdr.3: fix postun script
424 * Fri Mar 05 2004 Thomas Vander Stichele <thomas at apestaart dot org>
425 - 0.7.5-0.fdr.2: new release
427 * Wed Feb 11 2004 Thomas Vander Stichele <thomas at apestaart dot org>
428 - 0.7.4-0.fdr.1: synchronize with Matthias's package
430 * Sat Feb 07 2004 Thomas Vander Stichele <thomas at apestaart dot org>
431 - make the package name gstreamer07 since this is an unstable release
433 * Wed Feb 04 2004 Thomas Vander Stichele <thomas at apestaart dot org>
434 - put versioned tools inside base package, and put unversioned tools in tools
436 * Mon Dec 01 2003 Thomas Vander Stichele <thomas at apestaart dot org>
437 - changed documentation buildrequires
439 * Sun Nov 09 2003 Christian Schaller <Uraeus@gnome.org>
440 - Fix spec to handle new bytestream library
442 * Sun Aug 17 2003 Christian Schaller <uraeus@gnome.org>
443 - Remove docs build from RPM as the build is broken
444 - Fix stuff since more files are versioned now
445 - Remove wingo schedulers
446 - Remove putbits stuff
448 * Sun May 18 2003 Thomas Vander Stichele <thomas at apestaart dot org>
449 - devhelp files are now generated by gtk-doc, changed accordingly
451 * Sun Mar 16 2003 Christian F.K. Schaller <Uraeus@gnome.org>
452 - Add gthread scheduler
454 * Sat Dec 07 2002 Thomas Vander Stichele <thomas at apestaart dot org>
455 - define majorminor and use it everywhere
456 - full parallel installability
458 * Tue Nov 05 2002 Christian Schaller <Uraeus@linuxrising.org>
459 - Add optwingo scheduler
460 * Sat Oct 12 2002 Christian Schaller <Uraeus@linuxrising.org>
461 - Updated to work better with default RH8 rpm
462 - Added missing unspeced files
463 - Removed .a and .la files from buildroot
465 * Sat Sep 21 2002 Thomas Vander Stichele <thomas@apestaart.org>
468 * Tue Sep 17 2002 Thomas Vander Stichele <thomas@apestaart.org>
469 - adding flex to buildrequires
471 * Fri Sep 13 2002 Christian F.K. Schaller <Uraeus@linuxrising.org>
472 - Fixed the schedulers after the renaming
473 * Sun Sep 08 2002 Thomas Vander Stichele <thomas@apestaart.org>
474 - added transfig to the BuildRequires:
476 * Sat Jun 22 2002 Thomas Vander Stichele <thomas@apestaart.org>
477 - moved header location
479 * Mon Jun 17 2002 Thomas Vander Stichele <thomas@apestaart.org>
483 * Fri Jun 07 2002 Thomas Vander Stichele <thomas@apestaart.org>
484 - added release of gstreamer to req of gstreamer-devel
485 - changed location of API docs to be in gtk-doc like other gtk-doc stuff
486 - reordered SPEC file
488 * Mon Apr 29 2002 Thomas Vander Stichele <thomas@apestaart.org>
489 - moved html docs to gtk-doc standard directory
491 * Tue Mar 5 2002 Thomas Vander Stichele <thomas@apestaart.org>
492 - move version defines of glib2 and libxml2 to configure.ac
493 - add BuildRequires for these two libs
495 * Sun Mar 3 2002 Thomas Vander Stichele <thomas@apestaart.org>
496 - put html docs in canonical place, avoiding %doc erasure
497 - added devhelp support, current install of it is hackish
499 * Sat Mar 2 2002 Christian Schaller <Uraeus@linuxrising.org>
500 - Added documentation to build
502 * Mon Feb 11 2002 Thomas Vander Stichele <thomas@apestaart.org>
503 - added libgstbasicscheduler
504 - renamed libgst to libgstreamer
506 * Fri Jan 04 2002 Christian Schaller <Uraeus@linuxrising.org>
507 - Added configdir parameter as it seems the configdir gets weird otherwise
509 * Thu Jan 03 2002 Thomas Vander Stichele <thomas@apestaart.org>
510 - split off gstreamer-editor from core
511 - removed gstreamer-gnome-apps
513 * Sat Dec 29 2001 Rodney Dawes <dobey@free.fr>
514 - Cleaned up the spec file for the gstreamer core/plug-ins split
517 * Sat Dec 15 2001 Christian Schaller <Uraeus@linuxrising.org>
518 - Split of more plugins from the core and put them into their own modules
519 - Includes colorspace, xfree and wav
520 - Improved package Require lines
521 - Added mp3encode (lame based) to the SPEC
523 * Wed Dec 12 2001 Christian Schaller <Uraeus@linuxrising.org>
524 - Thomas merged mpeg plugins into one
525 * Sat Dec 08 2001 Christian Schaller <Uraeus@linuxrising.org>
526 - More minor cleanups including some fixed descriptions from Andrew Mitchell
528 * Fri Dec 07 2001 Christian Schaller <Uraeus@linuxrising.org>
529 - Added logging to the make statement
531 * Wed Dec 05 2001 Christian Schaller <Uraeus@linuxrising.org>
532 - Updated in preparation for 0.3.0 release
534 * Fri Jun 29 2001 Christian Schaller <Uraeus@linuxrising.org>
535 - Updated for 0.2.1 release
536 - Split out the GUI packages into their own RPM
537 - added new plugins (FLAC, festival, quicktime etc.)
539 * Sat Jun 09 2001 Christian Schaller <Uraeus@linuxrising.org>
540 - Visualisation plugins bundled out togheter
541 - Moved files sections up close to their respective descriptions
543 * Sat Jun 02 2001 Christian Schaller <Uraeus@linuxrising.org>
544 - Split the package into separate RPMS,
545 putting most plugins out by themselves.
547 * Fri Jun 01 2001 Christian Schaller <Uraeus@linuxrising.org>
548 - Updated with change suggestions from Dennis Bjorklund
550 * Tue Jan 09 2001 Erik Walthinsen <omega@cse.ogi.edu>
551 - updated to build -devel package as well
553 * Sun Jan 30 2000 Erik Walthinsen <omega@cse.ogi.edu>
554 - first draft of spec file