]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/gstreamer0-10.git/blob - gstreamer.spec.in
libs/gst/dataprotocol/: It's about time we bump the version number.
[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.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
21 Requires:       popt > 1.6
23 # Provides:     gstreamer =%{version}-%{release}
25 BuildRequires:  glib2-devel >= %_glib2
26 BuildRequires:  libxml2-devel >= %_libxml2
27 BuildRequires:  bison
28 BuildRequires:  flex
29 BuildRequires:  m4
30 BuildRequires:  check
31 BuildRequires:  gtk-doc >= 1.1
32 BuildRequires:  gcc
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
48 BuildRequires:  xfig
49 BuildRequires:  netpbm-progs
50 BuildRequires:  ghostscript
52 %description
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 
58 plugins.
60 %package devel
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
68 %description devel
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   
74 plugins.
76 This package contains the libraries and includes files necessary to develop
77 applications and plugins for GStreamer.
79 %package -n gstreamer09-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   
89 plugins.
91 This package contains wrapper scripts for the command-line tools that work
92 with different major/minor versions of GStreamer.
93                                                                                 
94 %prep
95 %setup -q -n gstreamer-%{version}
97 %build
98 %configure \
99   --with-cachedir=%{_localstatedir}/cache/gstreamer-%{majorminor} \
100   --enable-gtk-doc --enable-docbook \
101   --disable-tests --disable-examples
102                                                                                 
103 make
105 %install  
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}
120                                                                                 
121 %clean
122 rm -rf $RPM_BUILD_ROOT
124 %post
125 /sbin/ldconfig
127 %postun -p /sbin/ldconfig
129 %files -f gstreamer-%{majorminor}.lang
130 %defattr(-, root, root, -)
131 %doc AUTHORS COPYING NEWS README TODO RELEASE
132 %doc ABOUT-NLS REQUIREMENTS DOCBUILDING
133 %{_libdir}/libgstreamer-%{majorminor}.so.*
134 %{_libdir}/libgstbase-%{majorminor}.so.*
135 %{_libdir}/libgstcontroller-%{majorminor}.so.*
136 %{_libdir}/libgstdataprotocol-%{majorminor}.so.*
138 %dir %{_libdir}/gstreamer-%{majorminor}
139 %{_libdir}/gstreamer-%{majorminor}/libgstelements.so
140 %{_libdir}/gstreamer-%{majorminor}/libgstindexers.so
142 %{_bindir}/gst-complete-%{majorminor}
143 %{_bindir}/gst-compprep-%{majorminor}
144 %{_bindir}/gst-feedback-%{majorminor}
145 %{_bindir}/gst-inspect-%{majorminor}
146 %{_bindir}/gst-launch-%{majorminor}
147 %{_bindir}/gst-md5sum-%{majorminor}
148 %{_bindir}/gst-typefind-%{majorminor}
149 %{_bindir}/gst-xmlinspect-%{majorminor}
150 %{_bindir}/gst-xmllaunch-%{majorminor}
151 %{_mandir}/man1/gst-complete-%{majorminor}.*
152 %{_mandir}/man1/gst-compprep-%{majorminor}.*
153 %{_mandir}/man1/gst-feedback-%{majorminor}.*
154 %{_mandir}/man1/gst-inspect-%{majorminor}.*
155 %{_mandir}/man1/gst-launch-%{majorminor}.*
156 %{_mandir}/man1/gst-md5sum-%{majorminor}.*
157 %{_mandir}/man1/gst-typefind-%{majorminor}.*
158 %{_mandir}/man1/gst-xmlinspect-%{majorminor}.*
159 %{_mandir}/man1/gst-xmllaunch-%{majorminor}.*
161 %dir %{_localstatedir}/cache/gstreamer-%{majorminor}
163 %files -n gstreamer-tools
164 %defattr(-, root, root, -)
165 %{_bindir}/gst-complete
166 %{_bindir}/gst-compprep
167 %{_bindir}/gst-feedback
168 %{_bindir}/gst-inspect
169 %{_bindir}/gst-launch
170 %{_bindir}/gst-md5sum
171 %{_bindir}/gst-typefind
172 %{_bindir}/gst-xmlinspect
173 %{_bindir}/gst-xmllaunch
175 %files devel
176 %defattr(-, root, root, -)
177 %doc installed-doc/faq installed-doc/pwg installed-doc/manual
178 %dir %{_includedir}/gstreamer-%{majorminor}
179 %dir %{_includedir}/gstreamer-%{majorminor}/gst
180 %{_includedir}/gstreamer-%{majorminor}/gst/*.h
181 %{_includedir}/gstreamer-%{majorminor}/gst/controller/gstcontroller.h
183 %{_includedir}/gstreamer-%{majorminor}/gst/base
184 %{_includedir}/gstreamer-%{majorminor}/gst/dataprotocol
186 %{_libdir}/libgstreamer-%{majorminor}.so
187 %{_libdir}/libgstdataprotocol-%{majorminor}.so
188 %{_libdir}/libgstbase-%{majorminor}.so
189 %{_libdir}/libgstcontroller-%{majorminor}.so
192 %{_datadir}/aclocal/gst-element-check-%{majorminor}.m4
193 %{_libdir}/pkgconfig/gstreamer-%{majorminor}.pc
194 %{_libdir}/pkgconfig/gstreamer-base-%{majorminor}.pc
195 %{_libdir}/pkgconfig/gstreamer-dataprotocol-%{majorminor}.pc
196 %{_libdir}/pkgconfig/gstreamer-controller-%{majorminor}.pc
198 %doc %{_datadir}/gtk-doc/html/gstreamer-%{majorminor}
199 %doc %{_datadir}/gtk-doc/html/gstreamer-libs-%{majorminor}
200                                                                                 
201 %changelog
202 * Fri Sep 02 2005 Thomas Vander Stichele <thomas at apestaart dot org>
203 - clean up a little
205 * Thu Jun 09 2005 Thomas Vander Stichele <thomas at apestaart dot org>
206 - clean up spec for 0.9 builds
208 * Thu Feb 12 2004 Thomas Vander Stichele <thomas at apestaart dot org>
209 - sync with 0.7.4 fedora spec
211 * Thu Feb 05 2004 Thomas Vander Stichele <thomas at apestaart dot org>
212 - bump gtk-doc required version to 1.0 for the new options used
214 * Wed Feb 04 2004 Thomas Vander Stichele <thomas at apestaart dot org>
215 - add -common package containing frontend wrapper binaries
217 * Mon Dec 01 2003 Thomas Vander Stichele <thomas at apestaart dot org>
218 - changed documentation buildrequires
220 * Sun Nov 09 2003 Christian Schaller <Uraeus@gnome.org>
221 - Fix spec to handle new bytestream library 
223 * Sun Aug 17 2003 Christian Schaller <uraeus@gnome.org>
224 - Remove docs build from RPM as the build is broken
225 - Fix stuff since more files are versioned now
226 - Remove wingo schedulers
227 - Remove putbits stuff
229 * Sun May 18 2003 Thomas Vander Stichele <thomas at apestaart dot org>
230 - devhelp files are now generated by gtk-doc, changed accordingly
232 * Sun Mar 16 2003 Christian F.K. Schaller <Uraeus@gnome.org>
233 - Add gthread scheduler
235 * Sat Dec 07 2002 Thomas Vander Stichele <thomas at apestaart dot org>
236 - define majorminor and use it everywhere
237 - full parallel installability
239 * Tue Nov 05 2002 Christian Schaller <Uraeus@linuxrising.org>
240 - Add optwingo scheduler
241 * Sat Oct 12 2002 Christian Schaller <Uraeus@linuxrising.org>
242 - Updated to work better with default RH8 rpm
243 - Added missing unspeced files
244 - Removed .a and .la files from buildroot
246 * Sat Sep 21 2002 Thomas Vander Stichele <thomas@apestaart.org>
247 - added gst-md5sum
249 * Tue Sep 17 2002 Thomas Vander Stichele <thomas@apestaart.org>
250 - adding flex to buildrequires
252 * Fri Sep 13 2002 Christian F.K. Schaller <Uraeus@linuxrising.org>
253 - Fixed the schedulers after the renaming
254 * Sun Sep 08 2002 Thomas Vander Stichele <thomas@apestaart.org>
255 - added transfig to the BuildRequires:
257 * Sat Jun 22 2002 Thomas Vander Stichele <thomas@apestaart.org>
258 - moved header location
260 * Mon Jun 17 2002 Thomas Vander Stichele <thomas@apestaart.org>
261 - added popt
262 - removed .la
264 * Fri Jun 07 2002 Thomas Vander Stichele <thomas@apestaart.org>
265 - added release of gstreamer to req of gstreamer-devel
266 - changed location of API docs to be in gtk-doc like other gtk-doc stuff
267 - reordered SPEC file
269 * Mon Apr 29 2002 Thomas Vander Stichele <thomas@apestaart.org>
270 - moved html docs to gtk-doc standard directory
272 * Tue Mar 5 2002 Thomas Vander Stichele <thomas@apestaart.org>
273 - move version defines of glib2 and libxml2 to configure.ac
274 - add BuildRequires for these two libs
276 * Sun Mar 3 2002 Thomas Vander Stichele <thomas@apestaart.org>
277 - put html docs in canonical place, avoiding %doc erasure
278 - added devhelp support, current install of it is hackish
280 * Sat Mar 2 2002 Christian Schaller <Uraeus@linuxrising.org>
281 - Added documentation to build
283 * Mon Feb 11 2002 Thomas Vander Stichele <thomas@apestaart.org>
284 - added libgstbasicscheduler
285 - renamed libgst to libgstreamer
287 * Fri Jan 04 2002 Christian Schaller <Uraeus@linuxrising.org>
288 - Added configdir parameter as it seems the configdir gets weird otherwise
290 * Thu Jan 03 2002 Thomas Vander Stichele <thomas@apestaart.org>
291 - split off gstreamer-editor from core
292 - removed gstreamer-gnome-apps
294 * Sat Dec 29 2001 Rodney Dawes <dobey@free.fr>
295 - Cleaned up the spec file for the gstreamer core/plug-ins split
296 - Improve spec file
298 * Sat Dec 15 2001 Christian Schaller <Uraeus@linuxrising.org>
299 - Split of more plugins from the core and put them into their own modules
300 - Includes colorspace, xfree and wav
301 - Improved package Require lines
302 - Added mp3encode (lame based) to the SPEC
304 * Wed Dec 12 2001 Christian Schaller <Uraeus@linuxrising.org>
305 - Thomas merged mpeg plugins into one
306 * Sat Dec 08 2001 Christian Schaller <Uraeus@linuxrising.org>
307 - More minor cleanups including some fixed descriptions from Andrew Mitchell
309 * Fri Dec 07 2001 Christian Schaller <Uraeus@linuxrising.org>
310 - Added logging to the make statement
312 * Wed Dec 05 2001 Christian Schaller <Uraeus@linuxrising.org>
313 - Updated in preparation for 0.3.0 release
315 * Fri Jun 29 2001 Christian Schaller <Uraeus@linuxrising.org>
316 - Updated for 0.2.1 release
317 - Split out the GUI packages into their own RPM
318 - added new plugins (FLAC, festival, quicktime etc.)
320 * Sat Jun 09 2001 Christian Schaller <Uraeus@linuxrising.org>
321 - Visualisation plugins bundled out togheter
322 - Moved files sections up close to their respective descriptions
324 * Sat Jun 02 2001 Christian Schaller <Uraeus@linuxrising.org>
325 - Split the package into separate RPMS, 
326   putting most plugins out by themselves.
328 * Fri Jun 01 2001 Christian Schaller <Uraeus@linuxrising.org>
329 - Updated with change suggestions from Dennis Bjorklund
331 * Tue Jan 09 2001 Erik Walthinsen <omega@cse.ogi.edu>
332 - updated to build -devel package as well
334 * Sun Jan 30 2000 Erik Walthinsen <omega@cse.ogi.edu>
335 - first draft of spec file