]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/gstreamer0-10.git/blob - gstreamer.spec.in
update SPEC file with latest changes, also add MAINTAINERS file to EXTRA_DIST, the...
[glsdk/gstreamer0-10.git] / gstreamer.spec.in
1 %define         majorminor      @GST_MAJORMINOR@
2 %define         gstreamer       gstreamer
4 Name:           %{gstreamer}
5 Version:        @VERSION@
6 Release:        @PACKAGE_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
37 ### documentation requirements
38 BuildRequires:  python2
39 BuildRequires:  openjade
40 BuildRequires:  jadetex
41 BuildRequires:  libxslt
42 BuildRequires:  docbook-style-dsssl
43 BuildRequires:  docbook-style-xsl
44 BuildRequires:  docbook-utils
45 BuildRequires:  transfig
46 BuildRequires:  xfig
47 BuildRequires:  netpbm-progs
48 BuildRequires:  ghostscript
50 %description
51 GStreamer is a streaming media framework, based on graphs of filters which
52 operate on media data. Applications using this library can do anything
53 from real-time sound processing to playing videos, and just about anything
54 else media-related.  Its plugin-based architecture means that new data
55 types or processing capabilities can be added simply by installing new 
56 plugins.
58 %package devel
59 Summary:        Libraries/include files for GStreamer streaming media framework
60 Group:          Development/Libraries
62 Requires:       %{name} = %{version}-%{release}
63 Requires:       glib2-devel >= %_glib2
64 Requires:       libxml2-devel >= %_libxml2
66 %description devel
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   
72 plugins.
74 This package contains the libraries and includes files necessary to develop
75 applications and plugins for GStreamer.
77 %package -n %{gstreamer}-tools
78 Summary:        tools for GStreamer streaming media framework
79 Group:          Applications/Multimedia
81 %description -n %{gstreamer}-tools
82 GStreamer is a streaming-media framework, based on graphs of filters which
83 operate on media data. Applications using this library can do anything
84 from real-time sound processing to playing videos, and just about anything
85 else media-related.  Its plugin-based architecture means that new data
86 types or processing capabilities can be added simply by installing new   
87 plugins.
89 This package contains wrapper scripts for the command-line tools that work
90 with different major/minor versions of GStreamer.
91                                                                                 
92 %prep
93 %setup -q -n gstreamer-%{version}
95 %build
96 %configure \
97   --disable-tests --disable-examples \
98   --enable-gtk-doc \
99   --with-cachedir=%{_localstatedir}/cache/gstreamer-%{majorminor} 
100                                                                         
101 make
103 %install  
104 rm -rf $RPM_BUILD_ROOT
106 # Install doc temporarily in order to be included later by rpm
107 %makeinstall docdir="`pwd`/installed-doc"
109 %find_lang gstreamer-%{majorminor}
110 # Clean out files that should not be part of the rpm.
111 rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.la
112 rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.a
113 rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
114 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
116 # Create empty cache directory
117 mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/cache/gstreamer-%{majorminor}
119 %clean
120 rm -rf $RPM_BUILD_ROOT
122 %post -p /sbin/ldconfig
124 %postun -p /sbin/ldconfig
126 %files -f gstreamer-%{majorminor}.lang
127 %defattr(-, root, root, -)
128 %doc AUTHORS COPYING README RELEASE MAINTAINERS ChangeLog gstreamer.doap
129 %{_libdir}/libgstreamer-%{majorminor}.so.*
130 %{_libdir}/libgstbase-%{majorminor}.so.*
131 %{_libdir}/libgstcontroller-%{majorminor}.so.*
132 %{_libdir}/libgstdataprotocol-%{majorminor}.so.*
133 %{_libdir}/libgstnet-%{majorminor}.so.*
134 %{_libdir}/libgstcheck-0.10.so.*
135 %dir %{_libdir}/gstreamer-%{majorminor}
136 %{_libdir}/gstreamer-%{majorminor}/libgstcoreelements.so
137 %{_libdir}/gstreamer-%{majorminor}/libgstcoreindexers.so
139 %{_bindir}/gst-feedback-%{majorminor}
140 %{_bindir}/gst-inspect-%{majorminor}
141 %{_bindir}/gst-launch-%{majorminor}
142 %{_bindir}/gst-typefind-%{majorminor}
143 %{_bindir}/gst-xmlinspect-%{majorminor}
144 %{_bindir}/gst-xmllaunch-%{majorminor}
145 %{_mandir}/man1/gst-feedback-%{majorminor}.*
146 %{_mandir}/man1/gst-inspect-%{majorminor}.*
147 %{_mandir}/man1/gst-launch-%{majorminor}.*
148 %{_mandir}/man1/gst-typefind-%{majorminor}.*
149 %{_mandir}/man1/gst-xmlinspect-%{majorminor}.*
150 %{_mandir}/man1/gst-xmllaunch-%{majorminor}.*
152 %dir %{_localstatedir}/cache/gstreamer-%{majorminor}
154 %files -n %{gstreamer}-tools
155 %defattr(-, root, root, -)
156 %{_bindir}/gst-feedback
157 %{_bindir}/gst-inspect
158 %{_bindir}/gst-launch
159 %{_bindir}/gst-typefind
160 %{_bindir}/gst-xmlinspect
161 %{_bindir}/gst-xmllaunch
163 %files devel
164 %defattr(-, root, root, -)
165 # %doc installed-doc/faq installed-doc/pwg installed-doc/manual
166 %dir %{_includedir}/gstreamer-%{majorminor}
167 %dir %{_includedir}/gstreamer-%{majorminor}/gst
168 %{_includedir}/gstreamer-%{majorminor}/gst/*.h
169 %{_includedir}/gstreamer-%{majorminor}/gst/controller/gstcontroller.h
170 %{_includedir}/gstreamer-%{majorminor}/gst/net/gstnet.h
171 %{_includedir}/gstreamer-%{majorminor}/gst/net/gstnetclientclock.h
172 %{_includedir}/gstreamer-%{majorminor}/gst/net/gstnettimepacket.h
173 %{_includedir}/gstreamer-%{majorminor}/gst/net/gstnettimeprovider.h
174 %{_includedir}/gstreamer-%{majorminor}/gst/base
175 %{_includedir}/gstreamer-%{majorminor}/gst/dataprotocol
176 %{_includedir}/gstreamer-%{majorminor}/gst/check/gstcheck.h
177 %{_includedir}/gstreamer-%{majorminor}/gst/check/gstbufferstraw.h
178 %{_includedir}/gstreamer-%{majorminor}/gst/controller/gstcontrolsource.h
179 %{_includedir}/gstreamer-%{majorminor}/gst/controller/gstinterpolationcontrolsource.h
180 %{_includedir}/gstreamer-%{majorminor}/gst/controller/gstlfocontrolsource.h
181 %{_libdir}/libgstreamer-%{majorminor}.so
182 %{_libdir}/libgstdataprotocol-%{majorminor}.so
183 %{_libdir}/libgstbase-%{majorminor}.so
184 %{_libdir}/libgstcontroller-%{majorminor}.so
185 %{_libdir}/libgstnet-%{majorminor}.so
186 %{_libdir}/libgstcheck-%{majorminor}.so
188 %{_datadir}/aclocal/gst-element-check-%{majorminor}.m4
189 %{_libdir}/pkgconfig/gstreamer-%{majorminor}.pc
190 %{_libdir}/pkgconfig/gstreamer-base-%{majorminor}.pc
191 %{_libdir}/pkgconfig/gstreamer-dataprotocol-%{majorminor}.pc
192 %{_libdir}/pkgconfig/gstreamer-controller-%{majorminor}.pc
193 %{_libdir}/pkgconfig/gstreamer-net-%{majorminor}.pc
194 %{_libdir}/pkgconfig/gstreamer-check-%{majorminor}.pc
196 %doc %{_datadir}/gtk-doc/html/gstreamer-%{majorminor}
197 %doc %{_datadir}/gtk-doc/html/gstreamer-libs-%{majorminor}
198 %doc %{_datadir}/gtk-doc/html/gstreamer-plugins-%{majorminor}
199                                                                                 
200 %changelog
201 * Fri Dec 15 2006 Thomas Vander Stichele <thomas at apestaart dot org>
202 - add doap file
203 - further cleanups
205 * Fri Sep 02 2005 Thomas Vander Stichele <thomas at apestaart dot org>
206 - clean up a little
208 * Thu Jun 09 2005 Thomas Vander Stichele <thomas at apestaart dot org>
209 - clean up spec for 0.9 builds
211 * Thu Feb 12 2004 Thomas Vander Stichele <thomas at apestaart dot org>
212 - sync with 0.7.4 fedora spec
214 * Thu Feb 05 2004 Thomas Vander Stichele <thomas at apestaart dot org>
215 - bump gtk-doc required version to 1.0 for the new options used
217 * Wed Feb 04 2004 Thomas Vander Stichele <thomas at apestaart dot org>
218 - add -common package containing frontend wrapper binaries
220 * Mon Dec 01 2003 Thomas Vander Stichele <thomas at apestaart dot org>
221 - changed documentation buildrequires
223 * Sun Nov 09 2003 Christian Schaller <Uraeus@gnome.org>
224 - Fix spec to handle new bytestream library 
226 * Sun Aug 17 2003 Christian Schaller <uraeus@gnome.org>
227 - Remove docs build from RPM as the build is broken
228 - Fix stuff since more files are versioned now
229 - Remove wingo schedulers
230 - Remove putbits stuff
232 * Sun May 18 2003 Thomas Vander Stichele <thomas at apestaart dot org>
233 - devhelp files are now generated by gtk-doc, changed accordingly
235 * Sun Mar 16 2003 Christian F.K. Schaller <Uraeus@gnome.org>
236 - Add gthread scheduler
238 * Sat Dec 07 2002 Thomas Vander Stichele <thomas at apestaart dot org>
239 - define majorminor and use it everywhere
240 - full parallel installability
242 * Tue Nov 05 2002 Christian Schaller <Uraeus@linuxrising.org>
243 - Add optwingo scheduler
244 * Sat Oct 12 2002 Christian Schaller <Uraeus@linuxrising.org>
245 - Updated to work better with default RH8 rpm
246 - Added missing unspeced files
247 - Removed .a and .la files from buildroot
249 * Sat Sep 21 2002 Thomas Vander Stichele <thomas@apestaart.org>
250 - added gst-md5sum
252 * Tue Sep 17 2002 Thomas Vander Stichele <thomas@apestaart.org>
253 - adding flex to buildrequires
255 * Fri Sep 13 2002 Christian F.K. Schaller <Uraeus@linuxrising.org>
256 - Fixed the schedulers after the renaming
257 * Sun Sep 08 2002 Thomas Vander Stichele <thomas@apestaart.org>
258 - added transfig to the BuildRequires:
260 * Sat Jun 22 2002 Thomas Vander Stichele <thomas@apestaart.org>
261 - moved header location
263 * Mon Jun 17 2002 Thomas Vander Stichele <thomas@apestaart.org>
264 - added popt
265 - removed .la
267 * Fri Jun 07 2002 Thomas Vander Stichele <thomas@apestaart.org>
268 - added release of gstreamer to req of gstreamer-devel
269 - changed location of API docs to be in gtk-doc like other gtk-doc stuff
270 - reordered SPEC file
272 * Mon Apr 29 2002 Thomas Vander Stichele <thomas@apestaart.org>
273 - moved html docs to gtk-doc standard directory
275 * Tue Mar 5 2002 Thomas Vander Stichele <thomas@apestaart.org>
276 - move version defines of glib2 and libxml2 to configure.ac
277 - add BuildRequires for these two libs
279 * Sun Mar 3 2002 Thomas Vander Stichele <thomas@apestaart.org>
280 - put html docs in canonical place, avoiding %doc erasure
281 - added devhelp support, current install of it is hackish
283 * Sat Mar 2 2002 Christian Schaller <Uraeus@linuxrising.org>
284 - Added documentation to build
286 * Mon Feb 11 2002 Thomas Vander Stichele <thomas@apestaart.org>
287 - added libgstbasicscheduler
288 - renamed libgst to libgstreamer
290 * Fri Jan 04 2002 Christian Schaller <Uraeus@linuxrising.org>
291 - Added configdir parameter as it seems the configdir gets weird otherwise
293 * Thu Jan 03 2002 Thomas Vander Stichele <thomas@apestaart.org>
294 - split off gstreamer-editor from core
295 - removed gstreamer-gnome-apps
297 * Sat Dec 29 2001 Rodney Dawes <dobey@free.fr>
298 - Cleaned up the spec file for the gstreamer core/plug-ins split
299 - Improve spec file
301 * Sat Dec 15 2001 Christian Schaller <Uraeus@linuxrising.org>
302 - Split of more plugins from the core and put them into their own modules
303 - Includes colorspace, xfree and wav
304 - Improved package Require lines
305 - Added mp3encode (lame based) to the SPEC
307 * Wed Dec 12 2001 Christian Schaller <Uraeus@linuxrising.org>
308 - Thomas merged mpeg plugins into one
309 * Sat Dec 08 2001 Christian Schaller <Uraeus@linuxrising.org>
310 - More minor cleanups including some fixed descriptions from Andrew Mitchell
312 * Fri Dec 07 2001 Christian Schaller <Uraeus@linuxrising.org>
313 - Added logging to the make statement
315 * Wed Dec 05 2001 Christian Schaller <Uraeus@linuxrising.org>
316 - Updated in preparation for 0.3.0 release
318 * Fri Jun 29 2001 Christian Schaller <Uraeus@linuxrising.org>
319 - Updated for 0.2.1 release
320 - Split out the GUI packages into their own RPM
321 - added new plugins (FLAC, festival, quicktime etc.)
323 * Sat Jun 09 2001 Christian Schaller <Uraeus@linuxrising.org>
324 - Visualisation plugins bundled out togheter
325 - Moved files sections up close to their respective descriptions
327 * Sat Jun 02 2001 Christian Schaller <Uraeus@linuxrising.org>
328 - Split the package into separate RPMS, 
329   putting most plugins out by themselves.
331 * Fri Jun 01 2001 Christian Schaller <Uraeus@linuxrising.org>
332 - Updated with change suggestions from Dennis Bjorklund
334 * Tue Jan 09 2001 Erik Walthinsen <omega@cse.ogi.edu>
335 - updated to build -devel package as well
337 * Sun Jan 30 2000 Erik Walthinsen <omega@cse.ogi.edu>
338 - first draft of spec file