]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/gstreamer0-10.git/blob - gstreamer.spec.in
gst/: fix a bunch of unchecked return values
[glsdk/gstreamer0-10.git] / gstreamer.spec.in
1 %define         majorminor      @GST_MAJORMINOR@
2 %define         gstreamer       gstreamer09
4 Name:           %{gstreamer}
5 Version:        @VERSION@
6 Release:        @GST_VERSION_RELEASE@
7 Summary:        GStreamer streaming media framework runtime.
9 Group:          Applications/Multimedia
10 License:        LGPL
11 URL:            http://gstreamer.freedesktop.org/
12 Vendor:         GStreamer Backpackers Team <package@gstreamer.net>
13 Source:         http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-%{version}.tar.gz
14 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
16 %define         majorminor      @GST_MAJORMINOR@
17 %define         _glib2          @GLIB2_REQ@
18 %define         _libxml2        @LIBXML2_REQ@
20 Requires:       glib2 >= %_glib2
21 Requires:       libxml2 >= %_libxml2
22 Requires:       popt > 1.6
24 # Provides:     gstreamer =%{version}-%{release}
26 BuildRequires:  glib2-devel >= %_glib2
27 BuildRequires:  libxml2-devel >= %_libxml2
28 BuildRequires:  bison
29 BuildRequires:  flex
30 BuildRequires:  m4
31 BuildRequires:  check
32 BuildRequires:  gtk-doc >= 1.1
33 BuildRequires:  gcc
34 BuildRequires:  gettext
35 BuildRequires:  zlib-devel
36 BuildRequires:  popt > 1.6
37 Requires(pre):  /sbin/ldconfig
38 Requires(post): /sbin/ldconfig
40 ### documentation requirements
41 BuildRequires:  python2
42 BuildRequires:  openjade
43 BuildRequires:  jadetex
44 BuildRequires:  libxslt
45 BuildRequires:  docbook-style-dsssl
46 BuildRequires:  docbook-style-xsl
47 BuildRequires:  docbook-utils
48 BuildRequires:  transfig
49 BuildRequires:  xfig
50 BuildRequires:  netpbm-progs
51 BuildRequires:  ghostscript
53 %description
54 GStreamer is a streaming-media framework, based on graphs of filters which
55 operate on media data. Applications using this library can do anything
56 from real-time sound processing to playing videos, and just about anything
57 else media-related.  Its plugin-based architecture means that new data
58 types or processing capabilities can be added simply by installing new 
59 plugins.
61 %package devel
62 Summary:        Libraries/include files for GStreamer streaming media framework
63 Group:          Development/Libraries
65 Requires:       %{name} = %{version}-%{release}
66 Requires:       glib2-devel >= %_glib2
67 Requires:       libxml2-devel >= %_libxml2
69 %description devel
70 GStreamer is a streaming-media framework, based on graphs of filters which
71 operate on media data. Applications using this library can do anything
72 from real-time sound processing to playing videos, and just about anything
73 else media-related.  Its plugin-based architecture means that new data
74 types or processing capabilities can be added simply by installing new   
75 plugins.
77 This package contains the libraries and includes files necessary to develop
78 applications and plugins for GStreamer.
80 %package -n gstreamer-tools
81 Summary:        tools for GStreamer streaming media framework
82 Group:          Applications/Multimedia
84 %description -n gstreamer-tools
85 GStreamer is a streaming-media framework, based on graphs of filters which
86 operate on media data. Applications using this library can do anything
87 from real-time sound processing to playing videos, and just about anything
88 else media-related.  Its plugin-based architecture means that new data
89 types or processing capabilities can be added simply by installing new   
90 plugins.
92 This package contains wrapper scripts for the command-line tools that work
93 with different major/minor versions of GStreamer.
94                                                                                 
95 %prep
96 %setup -q -n gstreamer-%{version}
98 %build
99 %configure \
100   --enable-debug \
101   --with-cachedir=%{_localstatedir}/cache/gstreamer-%{majorminor} \
102   --disable-tests --disable-examples
103                                                                                 
104 make
106 %install  
107 rm -rf $RPM_BUILD_ROOT
109 # Install doc temporarily in order to be included later by rpm
110 %makeinstall docdir="`pwd`/installed-doc"
112 %find_lang gstreamer-%{majorminor}
113 # Clean out files that should not be part of the rpm.
114 rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.la
115 rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.a
116 rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
117 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
119 # Create empty cache directory
120 mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/cache/gstreamer-%{majorminor}
121                                                                                 
122 %clean
123 rm -rf $RPM_BUILD_ROOT
125 %post
126 /sbin/ldconfig
127 %{_bindir}/gst-register-%{majorminor} > /dev/null 2>&1 || true
129 %postun -p /sbin/ldconfig
131 %files -f gstreamer-%{majorminor}.lang
132 %defattr(-, root, root, -)
133 %doc AUTHORS COPYING NEWS README TODO RELEASE
134 %doc ABOUT-NLS REQUIREMENTS DOCBUILDING
135 %{_libdir}/libgstreamer-%{majorminor}.so.*
136 %{_libdir}/libgstbase-%{majorminor}.so.*
137 %{_libdir}/libgstcontroller-%{majorminor}.so.*
138 %{_libdir}/libgstdataprotocol-%{majorminor}.so.*
140 %dir %{_libdir}/gstreamer-%{majorminor}
141 %{_libdir}/gstreamer-%{majorminor}/libgstelements.so
142 %{_libdir}/gstreamer-%{majorminor}/libgstgetbits.so
143 %{_libdir}/gstreamer-%{majorminor}/libgstindexers.so
145 %{_bindir}/gst-complete-%{majorminor}
146 %{_bindir}/gst-compprep-%{majorminor}
147 %{_bindir}/gst-feedback-%{majorminor}
148 %{_bindir}/gst-inspect-%{majorminor}
149 %{_bindir}/gst-launch-%{majorminor}
150 %{_bindir}/gst-md5sum-%{majorminor}
151 %{_bindir}/gst-register-%{majorminor}
152 %{_bindir}/gst-typefind-%{majorminor}
153 %{_bindir}/gst-xmlinspect-%{majorminor}
154 %{_bindir}/gst-xmllaunch-%{majorminor}
155 %{_mandir}/man1/gst-complete-%{majorminor}.*
156 %{_mandir}/man1/gst-compprep-%{majorminor}.*
157 %{_mandir}/man1/gst-feedback-%{majorminor}.*
158 %{_mandir}/man1/gst-inspect-%{majorminor}.*
159 %{_mandir}/man1/gst-launch-%{majorminor}.*
160 %{_mandir}/man1/gst-md5sum-%{majorminor}.*
161 %{_mandir}/man1/gst-register-%{majorminor}.*
162 %{_mandir}/man1/gst-typefind-%{majorminor}.*
163 %{_mandir}/man1/gst-xmlinspect-%{majorminor}.*
164 %{_mandir}/man1/gst-xmllaunch-%{majorminor}.*
166 %dir %{_localstatedir}/cache/gstreamer-%{majorminor}
168 %files -n gstreamer-tools
169 %defattr(-, root, root, -)
170 %{_bindir}/gst-complete
171 %{_bindir}/gst-compprep
172 %{_bindir}/gst-feedback
173 %{_bindir}/gst-inspect
174 %{_bindir}/gst-launch
175 %{_bindir}/gst-md5sum
176 %{_bindir}/gst-register
177 %{_bindir}/gst-typefind
178 %{_bindir}/gst-xmlinspect
179 %{_bindir}/gst-xmllaunch
181 %files devel
182 %defattr(-, root, root, -)
183 %doc installed-doc/*
184 %dir %{_includedir}/gstreamer-%{majorminor}
185 %dir %{_includedir}/gstreamer-%{majorminor}/gst
186 %{_includedir}/gstreamer-%{majorminor}/gst/*.h
187 %{_includedir}/gstreamer-%{majorminor}/gst/controller/gst-controller.h
189 %{_includedir}/gstreamer-%{majorminor}/gst/base
190 %{_includedir}/gstreamer-%{majorminor}/gst/check
191 %{_includedir}/gstreamer-%{majorminor}/gst/dataprotocol
192 %{_includedir}/gstreamer-%{majorminor}/gst/getbits
194 %{_libdir}/libgstdataprotocol-%{majorminor}.so
195 %{_libdir}/libgstreamer-%{majorminor}.so
196 %{_libdir}/libgstbase-%{majorminor}.so
197 %{_libdir}/libgstcontroller-%{majorminor}.so
199 %{_libdir}/libgstcheck-%{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-dataprotocol-%{majorminor}.pc
205 %{_libdir}/pkgconfig/gstreamer-controller-%{majorminor}.pc
206 %{_libdir}/pkgconfig/gstreamer-check-%{majorminor}.pc
208 %doc %{_datadir}/gtk-doc/html/gstreamer-%{majorminor}
209 %doc %{_datadir}/gtk-doc/html/gstreamer-libs-%{majorminor}
210                                                                                 
211 %changelog
212 * Thu Jun 09 2005 Thomas Vander Stichele <thomas at apestaart dot org>
213 - clean up spec for 0.9 builds
215 * Thu Feb 12 2004 Thomas Vander Stichele <thomas at apestaart dot org>
216 - sync with 0.7.4 fedora spec
218 * Thu Feb 05 2004 Thomas Vander Stichele <thomas at apestaart dot org>
219 - bump gtk-doc required version to 1.0 for the new options used
221 * Wed Feb 04 2004 Thomas Vander Stichele <thomas at apestaart dot org>
222 - add -common package containing frontend wrapper binaries
224 * Mon Dec 01 2003 Thomas Vander Stichele <thomas at apestaart dot org>
225 - changed documentation buildrequires
227 * Sun Nov 09 2003 Christian Schaller <Uraeus@gnome.org>
228 - Fix spec to handle new bytestream library 
230 * Sun Aug 17 2003 Christian Schaller <uraeus@gnome.org>
231 - Remove docs build from RPM as the build is broken
232 - Fix stuff since more files are versioned now
233 - Remove wingo schedulers
234 - Remove putbits stuff
236 * Sun May 18 2003 Thomas Vander Stichele <thomas at apestaart dot org>
237 - devhelp files are now generated by gtk-doc, changed accordingly
239 * Sun Mar 16 2003 Christian F.K. Schaller <Uraeus@gnome.org>
240 - Add gthread scheduler
242 * Sat Dec 07 2002 Thomas Vander Stichele <thomas at apestaart dot org>
243 - define majorminor and use it everywhere
244 - full parallel installability
246 * Tue Nov 05 2002 Christian Schaller <Uraeus@linuxrising.org>
247 - Add optwingo scheduler
248 * Sat Oct 12 2002 Christian Schaller <Uraeus@linuxrising.org>
249 - Updated to work better with default RH8 rpm
250 - Added missing unspeced files
251 - Removed .a and .la files from buildroot
253 * Sat Sep 21 2002 Thomas Vander Stichele <thomas@apestaart.org>
254 - added gst-md5sum
256 * Tue Sep 17 2002 Thomas Vander Stichele <thomas@apestaart.org>
257 - adding flex to buildrequires
259 * Fri Sep 13 2002 Christian F.K. Schaller <Uraeus@linuxrising.org>
260 - Fixed the schedulers after the renaming
261 * Sun Sep 08 2002 Thomas Vander Stichele <thomas@apestaart.org>
262 - added transfig to the BuildRequires:
264 * Sat Jun 22 2002 Thomas Vander Stichele <thomas@apestaart.org>
265 - moved header location
267 * Mon Jun 17 2002 Thomas Vander Stichele <thomas@apestaart.org>
268 - added popt
269 - removed .la
271 * Fri Jun 07 2002 Thomas Vander Stichele <thomas@apestaart.org>
272 - added release of gstreamer to req of gstreamer-devel
273 - changed location of API docs to be in gtk-doc like other gtk-doc stuff
274 - reordered SPEC file
276 * Mon Apr 29 2002 Thomas Vander Stichele <thomas@apestaart.org>
277 - moved html docs to gtk-doc standard directory
279 * Tue Mar 5 2002 Thomas Vander Stichele <thomas@apestaart.org>
280 - move version defines of glib2 and libxml2 to configure.ac
281 - add BuildRequires for these two libs
283 * Sun Mar 3 2002 Thomas Vander Stichele <thomas@apestaart.org>
284 - put html docs in canonical place, avoiding %doc erasure
285 - added devhelp support, current install of it is hackish
287 * Sat Mar 2 2002 Christian Schaller <Uraeus@linuxrising.org>
288 - Added documentation to build
290 * Mon Feb 11 2002 Thomas Vander Stichele <thomas@apestaart.org>
291 - added libgstbasicscheduler
292 - renamed libgst to libgstreamer
294 * Fri Jan 04 2002 Christian Schaller <Uraeus@linuxrising.org>
295 - Added configdir parameter as it seems the configdir gets weird otherwise
297 * Thu Jan 03 2002 Thomas Vander Stichele <thomas@apestaart.org>
298 - split off gstreamer-editor from core
299 - removed gstreamer-gnome-apps
301 * Sat Dec 29 2001 Rodney Dawes <dobey@free.fr>
302 - Cleaned up the spec file for the gstreamer core/plug-ins split
303 - Improve spec file
305 * Sat Dec 15 2001 Christian Schaller <Uraeus@linuxrising.org>
306 - Split of more plugins from the core and put them into their own modules
307 - Includes colorspace, xfree and wav
308 - Improved package Require lines
309 - Added mp3encode (lame based) to the SPEC
311 * Wed Dec 12 2001 Christian Schaller <Uraeus@linuxrising.org>
312 - Thomas merged mpeg plugins into one
313 * Sat Dec 08 2001 Christian Schaller <Uraeus@linuxrising.org>
314 - More minor cleanups including some fixed descriptions from Andrew Mitchell
316 * Fri Dec 07 2001 Christian Schaller <Uraeus@linuxrising.org>
317 - Added logging to the make statement
319 * Wed Dec 05 2001 Christian Schaller <Uraeus@linuxrising.org>
320 - Updated in preparation for 0.3.0 release
322 * Fri Jun 29 2001 Christian Schaller <Uraeus@linuxrising.org>
323 - Updated for 0.2.1 release
324 - Split out the GUI packages into their own RPM
325 - added new plugins (FLAC, festival, quicktime etc.)
327 * Sat Jun 09 2001 Christian Schaller <Uraeus@linuxrising.org>
328 - Visualisation plugins bundled out togheter
329 - Moved files sections up close to their respective descriptions
331 * Sat Jun 02 2001 Christian Schaller <Uraeus@linuxrising.org>
332 - Split the package into separate RPMS, 
333   putting most plugins out by themselves.
335 * Fri Jun 01 2001 Christian Schaller <Uraeus@linuxrising.org>
336 - Updated with change suggestions from Dennis Bjorklund
338 * Tue Jan 09 2001 Erik Walthinsen <omega@cse.ogi.edu>
339 - updated to build -devel package as well
341 * Sun Jan 30 2000 Erik Walthinsen <omega@cse.ogi.edu>
342 - first draft of spec file