1 Summary: GStreamer streaming media framework runtime
4 Release: @GST_VERSION_RELEASE@
7 Group: Libraries/Multimedia
8 Source: %{name}-%{version}.tar.gz
9 BuildRoot: %{_tmppath}/%{name}-%{version}-root
11 %define _glib2 @GLIB2_REQ@
12 %define _libxml2 @LIBXML2_REQ@
14 Requires: glib2 >= %_glib2
15 Requires: libxml2 >= %_libxml2
16 BuildRequires: glib2-devel >= %_glib2
17 BuildRequires: libxml2-devel >= %_libxml2
18 BuildRequires: nasm >= 0.90
20 BuildRequires: gtk-doc >= 0.7
22 BuildRequires: zlib-devel
24 ### documentation requirements
25 BuildRequires: openjade
26 BuildRequires: python2
27 BuildRequires: docbook-style-dsssl docbook-dtd31-sgml
30 GStreamer is a streaming-media framework, based on graphs of filters which
31 operate on media data. Applications using this library can do anything
32 from real-time sound processing to playing videos, and just about anything
33 else media-related. Its plugin-based architecture means that new data
34 types or processing capabilities can be added simply by installing new
38 %defattr(-, root, root)
39 %doc AUTHORS COPYING README TODO COPYING.LIB ABOUT-NLS REQUIREMENTS DOCBUILDING
40 %{_bindir}/gst-complete
41 %{_bindir}/gst-compprep
42 %{_bindir}/gst-inspect
44 %{_bindir}/gst-register
45 %{_libdir}/libgstreamer-%{version}.so.*
46 %{_libdir}/gst/libgstautoplugcache*.so*
47 %{_libdir}/gst/libgstautoplugger*.so*
48 %{_libdir}/gst/libgstbasicscheduler*.so*
49 %{_libdir}/gst/libgststandardscheduler*.so*
50 %{_libdir}/gst/libgstelements*.so*
51 %{_libdir}/gst/libgsttypes*.so*
52 %{_libdir}/gst/libgststaticautoplug*.so*
53 %{_libdir}/gst/libgstcontrol*.so*
54 %{_libdir}/gst/libgstbytestream*.so*
55 %{_libdir}/gst/libgstgetbits*.so*
56 %{_libdir}/gst/libgstputbits*.so*
57 %{_libdir}/gst/libgstspider*.so*
58 %{_mandir}/man1/gst-complete.*
59 %{_mandir}/man1/gst-compprep.*
60 %{_mandir}/man1/gst-inspect.*
61 %{_mandir}/man1/gst-launch.*
62 %{_mandir}/man1/gst-register.*
65 Summary: Libraries and include files for GStreamer streaming-media framework
66 Group: Development/Libraries
67 Requires: %{name} = %{version}
68 Requires: glib2-devel >= %_glib2
69 Requires: libxml2-devel >= %_libxml2
72 GStreamer is a streaming-media framework, based on graphs of filters which
73 operate on media data. Applications using this library can do anything
74 from real-time sound processing to playing videos, and just about anything
75 else media-related. Its plugin-based architecture means that new data
76 types or processing capabilities can be added simply by installing new
79 This package contains the libraries and includes files necessary to develop
80 applications and plugins for GStreamer.
83 %defattr(-, root, root)
85 %{_libdir}/libgstreamer.a
86 %{_libdir}/libgstreamer.la
87 %{_libdir}/libgstreamer.so
88 %{_libdir}/pkgconfig/*
89 %{_datadir}/gtk-doc/html/*
90 %{_datadir}/devhelp/specs/gstreamer.devhelp
91 %{_datadir}/devhelp/specs/gstreamer-libs.devhelp
95 * Mon Apr 29 2002 Thomas Vander Stichele <thomas@apestaart.org>
96 - moved html docs to gtk-doc standard directory
98 * Tue Mar 5 2002 Thomas Vander Stichele <thomas@apestaart.org>
99 - move version defines of glib2 and libxml2 to configure.ac
100 - add BuildRequires for these two libs
102 * Sun Mar 3 2002 Thomas Vander Stichele <thomas@apestaart.org>
103 - put html docs in canonical place, avoiding %doc erasure
104 - added devhelp support, current install of it is hackish
106 * Sat Mar 2 2002 Christian Schaller <Uraeus@linuxrising.org>
107 - Added documentation to build
109 * Mon Feb 11 2002 Thomas Vander Stichele <thomas@apestaart.org>
110 - added libgstbasicscheduler
111 - renamed libgst to libgstreamer
113 * Fri Jan 04 2002 Christian Schaller <Uraeus@linuxrising.org>
114 - Added configdir parameter as it seems the configdir gets weird otherwise
116 * Thu Jan 03 2002 Thomas Vander Stichele <thomas@apestaart.org>
117 - split off gstreamer-editor from core
118 - removed gstreamer-gnome-apps
120 * Sat Dec 29 2001 Rodney Dawes <dobey@free.fr>
121 - Cleaned up the spec file for the gstreamer core/plug-ins split
124 * Sat Dec 15 2001 Christian Schaller <Uraeus@linuxrising.org>
125 - Splitt of more plugins from the core and put them into their own modules
126 - Includes colorspace, xfree and wav
127 - Improved package Require lines
128 - Added mp3encode (lame based) to the SPEC
130 * Wed Dec 12 2001 Christian Schaller <Uraeus@linuxrising.org>
131 - Thomas merged mpeg plugins into one
132 * Sat Dec 08 2001 Christian Schaller <Uraeus@linuxrising.org>
133 - More minor cleanups including some fixed descriptions from Andrew Mitchell
135 * Fri Dec 07 2001 Christian Schaller <Uraeus@linuxrising.org>
136 - Added logging to the make statement
138 * Wed Dec 05 2001 Christian Schaller <Uraeus@linuxrising.org>
139 - Updated in preparation for 0.3.0 release
141 * Fri Jun 29 2001 Christian Schaller <Uraeus@linuxrising.org>
142 - Updated for 0.2.1 release
143 - Split out the GUI packages into their own RPM
144 - added new plugins (FLAC, festival, quicktime etc.)
146 * Sat Jun 09 2001 Christian Schaller <Uraeus@linuxrising.org>
147 - Visualisation plugins bundled out togheter
148 - Moved files sections up close to their respective descriptions
150 * Sat Jun 02 2001 Christian Schaller <Uraeus@linuxrising.org>
151 - Split the package into separate RPMS, plutting most plugins out by themselves.
153 * Fri Jun 01 2001 Christian Schaller <Uraeus@linuxrising.org>
154 - Updated with change suggestions from Dennis Bjorklund
156 * Tue Jan 09 2001 Erik Walthinsen <omega@cse.ogi.edu>
157 - updated to build -devel package as well
159 * Sun Jan 30 2000 Erik Walthinsen <omega@cse.ogi.edu>
160 - first draft of spec file
166 CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
167 CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
168 FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; \
169 %{?__libtoolize:[ -f configure.in ] && %{__libtoolize} --copy --force} ; \
171 --prefix=%{_prefix} \
172 --exec-prefix=%{_exec_prefix} \
173 --bindir=%{_bindir} \
174 --sbindir=%{_sbindir} \
175 --sysconfdir=%{_sysconfdir} \
176 --datadir=%{_datadir} \
177 --includedir=%{_includedir} \
178 --libdir=%{_libdir} \
179 --libexecdir=%{_libexecdir} \
180 --localstatedir=%{_localstatedir} \
181 --sharedstatedir=%{_sharedstatedir} \
182 --mandir=%{_mandir} \
183 --infodir=%{_infodir} \
185 --with-configdir=/etc/gstreamer \
186 --disable-tests --disable-examples --disable-debug-color \
188 if [ "$SMP" != "" ]; then
189 (make "MAKE=make -k -j $SMP"; exit 0)
195 [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
196 # adding devhelp stuff here for now, need to integrate better
197 # when devhelp allows it
198 mkdir -p $RPM_BUILD_ROOT/usr/share/devhelp/specs
199 cp $RPM_BUILD_DIR/%{name}-%{version}/docs/devhelp/*.devhelp $RPM_BUILD_ROOT/usr/share/devhelp/specs
204 [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
208 %{_prefix}/bin/gst-register --gst-mask=0
211 # adding devhelp links to work around different base not working
212 mkdir -p %{_datadir}/devhelp/books
213 ln -sf %{_datadir}/gtk-doc/html/gstreamer %{_datadir}/devhelp/books
214 ln -sf %{_datadir}/gtk-doc/html/gstreamer-libs %{_datadir}/devhelp/books