docs: misc fixes
[platform/upstream/gstreamer.git] / gstreamer.spec.in
1 %define         gstreamer       gstreamer1
2 %define         majorminor      @GST_API_VERSION@
3
4 %define         _glib2          @GLIB_REQ@
5
6 Name:           %{gstreamer}
7 Version:        @VERSION@
8 Release:        @PACKAGE_VERSION_RELEASE@
9 Summary:        GStreamer streaming media framework runtime
10
11 Group:          Applications/Multimedia
12 License:        LGPL
13 URL:            http://gstreamer.freedesktop.org/
14 Source:         http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-%{version}.tar.xz
15 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
16
17 BuildRequires:  glib2-devel >= %{_glib2}
18 BuildRequires:  bison
19 BuildRequires:  flex
20 BuildRequires:  m4
21 BuildRequires:  check-devel
22 BuildRequires:  gtk-doc >= 1.3
23 BuildRequires:  gettext
24
25 # because AM_PROG_LIBTOOL was used in configure.ac
26 BuildRequires:  gcc-c++
27
28 ### documentation requirements
29 BuildRequires:  python2
30 BuildRequires:  openjade
31 BuildRequires:  jadetex
32 BuildRequires:  libxslt
33 BuildRequires:  docbook-style-dsssl
34 BuildRequires:  docbook-style-xsl
35 BuildRequires:  docbook-utils
36 BuildRequires:  netpbm-progs
37 BuildRequires:  tetex-dvips
38 BuildRequires:  ghostscript
39
40 %description
41 GStreamer is a streaming media framework, based on graphs of filters which
42 operate on media data. Applications using this library can do anything
43 from real-time sound processing to playing videos, and just about anything
44 else media-related.  Its plugin-based architecture means that new data
45 types or processing capabilities can be added simply by installing new 
46 plugins.
47
48 %package devel
49 Summary:        Libraries/include files for GStreamer streaming media framework
50 Group:          Development/Libraries
51
52 Requires:       %{name} = %{version}-%{release}
53 Requires:       glib2-devel >= %{_glib2}
54 Requires:       check-devel
55
56 %description devel
57 GStreamer is a streaming media framework, based on graphs of filters which
58 operate on media data. Applications using this library can do anything
59 from real-time sound processing to playing videos, and just about anything
60 else media-related.  Its plugin-based architecture means that new data
61 types or processing capabilities can be added simply by installing new   
62 plugins.
63
64 This package contains the libraries and includes files necessary to develop
65 applications and plugins for GStreamer, as well as general and API
66 documentation.
67
68 %prep
69 %setup -q -n gstreamer-%{version}
70
71 %build
72 # 0.10.0: manuals do not build due to an openjade error; disable for now
73 %configure \
74   --with-package-name='gstreamer package' \
75   --with-package-origin='http://gstreamer.freedesktop.org' \
76   --enable-debug \
77   --enable-gtk-doc \
78   --enable-introspection=yes
79
80 #make %{?_smp_mflags}
81 # FIXME: docs building doesn't work with smp yet
82 make
83
84 %install  
85 rm -rf $RPM_BUILD_ROOT
86
87 # Install doc temporarily in order to be included later by rpm
88 make install DESTDIR=$RPM_BUILD_ROOT
89
90 %find_lang gstreamer-%{majorminor}
91 # Clean out files that should not be part of the rpm. 
92 mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/cache/gstreamer-%{majorminor}
93 rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.la
94 rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.a
95 rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
96 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
97 # Create empty cache directory
98 mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/cache/gstreamer-%{majorminor}
99
100 %clean
101 rm -rf $RPM_BUILD_ROOT
102
103 %post -p /sbin/ldconfig
104
105 %postun -p /sbin/ldconfig
106
107 %files -f gstreamer-%{majorminor}.lang
108 %defattr(-, root, root, -)
109 %doc AUTHORS COPYING NEWS README RELEASE TODO
110 %{_libdir}/libgstreamer-%{majorminor}.so.*
111 %{_libdir}/libgstbase-%{majorminor}.so.*
112 %{_libdir}/libgstcontroller-%{majorminor}.so.*
113 %{_libdir}/libgstnet-%{majorminor}.so.*
114
115 %dir %{_libdir}/gstreamer-%{majorminor}
116 %{_libdir}/gstreamer-%{majorminor}/libgstcoreelements.so
117
118 %{_bindir}/gst-inspect-%{majorminor}
119 %{_bindir}/gst-launch-%{majorminor}
120 %{_bindir}/gst-typefind-%{majorminor}
121 %{_libexecdir}/gstreamer-%{majorminor}/gst-plugin-scanner
122 %doc %{_mandir}/man1/gst-inspect-%{majorminor}.*
123 %doc %{_mandir}/man1/gst-launch-%{majorminor}.*
124 %doc %{_mandir}/man1/gst-typefind-%{majorminor}.*
125 %doc %{_datadir}/doc/gstreamer-%{majorminor}/manual
126 %doc %{_datadir}/doc/gstreamer-%{majorminor}/pwg
127 %doc %{_datadir}/doc/gstreamer-%{majorminor}/faq/
128 %{_libdir}/girepository-1.0/Gst-%{majorminor}.typelib
129 %{_libdir}/girepository-1.0/GstBase-%{majorminor}.typelib
130 %{_libdir}/girepository-1.0/GstCheck-%{majorminor}.typelib
131 %{_libdir}/girepository-1.0/GstController-%{majorminor}.typelib
132 %{_libdir}/girepository-1.0/GstNet-%{majorminor}.typelib
133 %{_datadir}/gir-1.0/Gst-%{majorminor}.gir
134 %{_datadir}/gir-1.0/GstBase-%{majorminor}.gir
135 %{_datadir}/gir-1.0/GstCheck-%{majorminor}.gir
136 %{_datadir}/gir-1.0/GstController-%{majorminor}.gir
137 %{_datadir}/gir-1.0/GstNet-%{majorminor}.gir
138
139 %files devel
140 %defattr(-, root, root, -)
141 %dir %{_includedir}/gstreamer-%{majorminor}
142 %dir %{_includedir}/gstreamer-%{majorminor}/gst
143 %{_includedir}/gstreamer-%{majorminor}/gst/*.h
144
145 %{_includedir}/gstreamer-%{majorminor}/gst/base
146 %{_includedir}/gstreamer-%{majorminor}/gst/check
147 %{_includedir}/gstreamer-%{majorminor}/gst/controller
148 %{_includedir}/gstreamer-%{majorminor}/gst/net
149
150 %{_libdir}/libgstreamer-%{majorminor}.so
151 %{_libdir}/libgstbase-%{majorminor}.so
152 %{_libdir}/libgstcheck-%{majorminor}.so*
153 %{_libdir}/libgstcontroller-%{majorminor}.so
154 %{_libdir}/libgstnet-%{majorminor}.so
155
156 %{_datadir}/aclocal/gst-element-check-%{majorminor}.m4
157 %{_libdir}/pkgconfig/gstreamer-%{majorminor}.pc
158 %{_libdir}/pkgconfig/gstreamer-base-%{majorminor}.pc
159 %{_libdir}/pkgconfig/gstreamer-controller-%{majorminor}.pc
160 %{_libdir}/pkgconfig/gstreamer-check-%{majorminor}.pc
161 %{_libdir}/pkgconfig/gstreamer-net-%{majorminor}.pc
162
163 %doc %{_datadir}/gtk-doc/html/gstreamer-%{majorminor}/*
164 %doc %{_datadir}/gtk-doc/html/gstreamer-libs-%{majorminor}/*
165 %doc %{_datadir}/gtk-doc/html/gstreamer-plugins-%{majorminor}/*
166
167 %changelog
168 * Sat Aug 06 2011 Thomas Vander Stichele <thomas at apestaart dot org>
169 - Use majorminor correctly for .gir files
170 - Remove gstreamer-tools completely since the unversioned tools have been
171   removed
172 - Rename package to gstreamer011 to be parallel-installable
173
174 * Thu Apr 3 2008 Christian Schaller <christian.schaller at collabora co uk>
175 - Update spec file to make inclusion of all docs explicit
176
177 * Tue Dec 11 2007 Christian Schaller <christian.schaller@collabora.co.uk> 
178 - Import from Fedora package
179
180 * Fri Nov 16 2007 - Bastien Nocera <bnocera@redhat.com> - 0.10.15-1
181 - Update to 0.10.15
182
183 * Mon Oct  1 2007 Matthias Clasen <mclasen@redhat.com> - 0.10.14-4
184 - Add missing Requires (#312671)
185
186 * Tue Aug 14 2007 Matthias Clasen <mclasen@redhat.com> - 0.10.14-3
187 - Require check-devel (#251956)
188
189 * Sat Aug 04 2007 - Bastien Nocera <bnocera@redhat.com> - 0.10.14-1
190 - Update to 0.10.14
191
192 * Tue Jun 05 2007 - Bastien Nocera <bnocera@redhat.com> - 0.10.13-2
193 - Remove upstreamed docs patch
194
195 * Tue Jun 05 2007 - Bastien Nocera <bnocera@redhat.com> - 0.10.13-1
196 - Update to 0.10.13
197
198 * Thu Mar 08 2007 - Bastien Nocera <bnocera@redhat.com> - 0.10.12-1
199 - Update to 0.10.12
200
201 * Tue Feb 13 2007 - Bastien Nocera <bnocera@redhat.com> - 0.10.11-2
202 - Remove Requires on packages that BuildRequire us
203
204 * Tue Dec 12 2006 Matthias Clasen <mclasen@redhat.com> - 0.10.11-1
205 - Update to 0.10.11
206
207 * Fri Oct 27 2006 Matthias Clasen <mclasen@redhat.com> - 0.10.10-2
208 - Cleanups
209 - Attempt to fix multilib conflicts
210
211 * Mon Oct 23 2006 Matthias Clasen <mclasen@redhat.com> - 0.10.10-1
212 - Update to 0.10.10
213
214 * Thu Jul 27 2006 Matthias Clasen <mclasen@redhat.com> - 0.10.9-2
215 - Disable gtk-doc to fix multilib conflicts
216
217 * Thu Jul 20 2006 John (J5) Palmieri <johnp@redhat.com> - 0.10.9-1
218 - Update to new upstream version
219
220 * Wed Jul 19 2006 Matthias Clasen <mclasen@redhat.com> - 0.10.8-4
221 - Re-add the gstreamer-plugins-good dependency
222
223 * Wed Jul 19 2006 Matthias Clasen <mclasen@redhat.com> - 0.10.8-3.2
224 - Temporarily break the dependency cycle with gsteamer-plugins-good
225
226 * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.10.8-3.1
227 - rebuild
228
229 * Wed Jun 28 2006 Karsten Hopp <karsten@redhat.de> 0.10.8-3
230 - remove RPATH pointing to RPM_BUILD_ROOT (#196870)
231
232 * Tue Jun 13 2006 Matthias Clasen <mclasen@redhat.com> - 0.10.8-2
233 - Rebuild
234
235 * Tue Jun 13 2006 Matthias Clasen <mclasen@redhat.com> - 0.10.8-1
236 - Update to 0.10.8
237
238 * Mon May 22 2006 Matthias Clasen <mclasen@redhat.com> - 0.10.6-1
239 - Update to 0.10.6
240
241 * Tue Feb 14 2006 Rik van Riel <riel@redhat.com> - 0.10-3-3
242 - Obsolete gstreamer-plugins (#181296)
243
244 * Mon Feb 13 2006 Christopher Aillon <caillon@redhat.com> - 0.10.3-2
245 - Rebuild
246
247 * Fri Feb 10 2006 Christopher Aillon <caillon@redhat.com> - 0.10.3-1
248 - Update to 0.10.3
249
250 * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.10.2-1.1
251 - rebuilt for new gcc4.1 snapshot and glibc changes
252
253 * Wed Jan 18 2006 John (J5) Palmieri <johnp@redhat.com> - 0.10.2-1
254 - Upgrade to 0.10.2
255
256 * Fri Jan 06 2006 John (J5) Palmieri <johnp@redhat.com> - 0.10.1-1
257 - New upstream version
258
259 * Fri Dec 16 2005 Thomas Vander Stichele <thomas at apestaart dot org>
260 - 0.10.0-1
261 - rebuilt for Fedora Core Development
262
263 * Wed Dec 14 2005 Thomas Vander Stichele <thomas at apestaart dot org>
264 - 0.10.0-0.gst.2
265 - rebuilt against newer GLib and friends
266
267 * Mon Dec 05 2005 Thomas Vander Stichele <thomas at apestaart dot org>
268 - 0.10.0-0.gst.1
269 - new release
270
271 * Thu Dec 01 2005 Thomas Vander Stichele <thomas at apestaart dot org>
272 - 0.9.7-0.gst.1
273 - new release, with 0.10 majorminor
274 - removed compprep and complete
275 - added plugins docs
276 - renamed libgstcorelements, libgstcoreindexers
277 - added libgstnet
278
279 * Sat Nov 12 2005 Thomas Vander Stichele <thomas at apestaart dot org>
280 - 0.9.5-0.gst.1
281 - new release
282
283 * Mon Oct 24 2005 Thomas Vander Stichele <thomas at apestaart dot org>
284 - 0.9.4-0.gst.1
285 - new release
286
287 * Mon Oct 03 2005 Thomas Vander Stichele <thomas at apestaart dot org>
288 - 0.9.3-0.gst.1
289 - new release
290
291 * Thu Sep 08 2005 Thomas Vander Stichele <thomas at apestaart dot org>
292 - 0.9.2-0.gst.1
293 - added libgstcheck
294 - new release
295
296 * Thu Jun 09 2005 Thomas Vander Stichele <thomas at apestaart dot org>
297 - 0.9.1-0.gst.1
298 - first development series release
299
300 * Tue May 03 2005 Thomas Vander Stichele <thomas at apestaart dot org>
301 - 0.8.10-0.gst.1
302 - new release
303 - up glib2 to 2.4 because disting on 2.4 builds marshalling code needing 2.4
304
305 * Mon May 02 2005 Thomas Vander Stichele <thomas at apestaart dot org>
306 - 0.8.9.2-0.gst.1
307 - new prerelease
308
309 * Tue Feb 08 2005 Thomas Vander Stichele <thomas at apestaart dot org>
310 - 0.8.9-0.gst.1
311 - new release
312 - switch back to the gst tag since fedora.us is gone
313
314 * Thu Feb 03 2005 Thomas Vander Stichele <thomas at apestaart dot org>
315 - 0.8.8.2-0.fdr.1
316 - new prerelease
317
318 * Thu Dec 23 2004 Thomas Vander Stichele <thomas at apestaart dot org>
319 - 0.8.8-0.fdr.1
320 - new upstream release
321
322 * Fri Dec 17 2004 Thomas Vander Stichele <thomas at apestaart dot org>
323 - 0.8.7.2-0.fdr.1
324 - new prerelease
325 - added fair gthread scheduler
326
327 * Wed Oct 06 2004 Thomas Vander Stichele <thomas at apestaart dot org>
328 - 0.8.7-0.fdr.1
329 - update for new GStreamer release
330
331 * Tue Oct 05 2004 Thomas Vander Stichele <thomas at apestaart dot org>
332 - 0.8.6-0.fdr.1
333 - update for new GStreamer release
334
335 * Sun Sep 26 2004 Thomas Vander Stichele <thomas at apestaart dot org>
336 - 0.8.5.3-0.fdr.1
337 - update for new GStreamer prerelease
338
339 * Sun Sep 12 2004 Thomas Vander Stichele <thomas at apestaart dot org>
340 - 0.8.5.2-0.fdr.1
341 - update for new GStreamer prerelease
342
343 * Mon Aug 16 2004 Thomas Vander Stichele <thomas at apestaart dot org>
344 - 0.8.5-0.fdr.1
345 - update for new GStreamer release
346
347 * Thu Aug 12 2004 Thomas Vander Stichele <thomas at apestaart dot org>
348 - 0.8.4.2-0.fdr.1
349 - update for new GStreamer prerelease
350 - set package name and origin
351
352 * Tue Jul 20 2004 Thomas Vander Stichele <thomas at apestaart dot org>
353 - 0.8.4-0.fdr.1
354 - update for new GStreamer release
355 - unbreak the postun script by not removing the cache dir
356
357 * Tue Jul 20 2004 Thomas Vander Stichele <thomas at apestaart dot org>
358 - 0.8.3.3-0.fdr.1: update for new GStreamer prerelease
359
360 * Fri Jul 16 2004 Thomas Vander Stichele <thomas at apestaart dot org>
361 - 0.8.3.2-0.fdr.1: update for new GStreamer prerelease
362
363 * Sat Jun 05 2004 Thomas Vander Stichele <thomas at apestaart dot org>
364 - 0.8.3-0.fdr.1: update for new GStreamer release
365
366 * Fri Jun 04 2004 Thomas Vander Stichele <thomas at apestaart dot org>
367 - 0.8.2-0.fdr.1: update for new GStreamer release
368
369 * Thu Apr 15 2004 Thomas Vander Stichele <thomas at apestaart dot org>
370 - 0.8.1-0.fdr.1: update for new GStreamer release
371
372 * Thu Apr 15 2004 Thomas Vander Stichele <thomas at apestaart dot org>
373 - add entry schedulers, clean up scheduler file section
374
375 * Tue Mar 16 2004 Thomas Vander Stichele <thomas at apestaart dot org>
376 - 0.8.0-0.fdr.1: update for new GStreamer release, renamed base to gstreamer
377
378 * Tue Mar 09 2004 Thomas Vander Stichele <thomas at apestaart dot org>
379 - 0.7.6-0.fdr.1: updated for new GStreamer release, with maj/min set to 0.8
380
381 * Mon Mar 08 2004 Thomas Vander Stichele <thomas at apestaart dot org>
382 - 0.7.5-0.fdr.3: fix postun script
383
384 * Fri Mar 05 2004 Thomas Vander Stichele <thomas at apestaart dot org>
385 - 0.7.5-0.fdr.2: new release
386
387 * Wed Feb 11 2004 Thomas Vander Stichele <thomas at apestaart dot org>
388 - 0.7.4-0.fdr.1: synchronize with Matthias's package
389
390 * Sat Feb 07 2004 Thomas Vander Stichele <thomas at apestaart dot org>
391 - make the package name gstreamer07 since this is an unstable release
392
393 * Wed Feb 04 2004 Thomas Vander Stichele <thomas at apestaart dot org>
394 - put versioned tools inside base package, and put unversioned tools in tools
395
396 * Mon Dec 01 2003 Thomas Vander Stichele <thomas at apestaart dot org>
397 - changed documentation buildrequires
398
399 * Sun Nov 09 2003 Christian Schaller <Uraeus@gnome.org>
400 - Fix spec to handle new bytestream library 
401
402 * Sun Aug 17 2003 Christian Schaller <uraeus@gnome.org>
403 - Remove docs build from RPM as the build is broken
404 - Fix stuff since more files are versioned now
405 - Remove wingo schedulers
406 - Remove putbits stuff
407
408 * Sun May 18 2003 Thomas Vander Stichele <thomas at apestaart dot org>
409 - devhelp files are now generated by gtk-doc, changed accordingly
410
411 * Sun Mar 16 2003 Christian F.K. Schaller <Uraeus@gnome.org>
412 - Add gthread scheduler
413
414 * Sat Dec 07 2002 Thomas Vander Stichele <thomas at apestaart dot org>
415 - define majorminor and use it everywhere
416 - full parallel installability
417
418 * Tue Nov 05 2002 Christian Schaller <Uraeus@linuxrising.org>
419 - Add optwingo scheduler
420 * Sat Oct 12 2002 Christian Schaller <Uraeus@linuxrising.org>
421 - Updated to work better with default RH8 rpm
422 - Added missing unspeced files
423 - Removed .a and .la files from buildroot
424
425 * Sat Sep 21 2002 Thomas Vander Stichele <thomas@apestaart.org>
426 - added gst-md5sum
427
428 * Tue Sep 17 2002 Thomas Vander Stichele <thomas@apestaart.org>
429 - adding flex to buildrequires
430
431 * Fri Sep 13 2002 Christian F.K. Schaller <Uraeus@linuxrising.org>
432 - Fixed the schedulers after the renaming
433 * Sun Sep 08 2002 Thomas Vander Stichele <thomas@apestaart.org>
434 - added transfig to the BuildRequires:
435
436 * Sat Jun 22 2002 Thomas Vander Stichele <thomas@apestaart.org>
437 - moved header location
438
439 * Mon Jun 17 2002 Thomas Vander Stichele <thomas@apestaart.org>
440 - added popt
441 - removed .la
442
443 * Fri Jun 07 2002 Thomas Vander Stichele <thomas@apestaart.org>
444 - added release of gstreamer to req of gstreamer-devel
445 - changed location of API docs to be in gtk-doc like other gtk-doc stuff
446 - reordered SPEC file
447
448 * Mon Apr 29 2002 Thomas Vander Stichele <thomas@apestaart.org>
449 - moved html docs to gtk-doc standard directory
450
451 * Tue Mar 5 2002 Thomas Vander Stichele <thomas@apestaart.org>
452 - move version defines of glib2 and libxml2 to configure.ac
453 - add BuildRequires for these two libs
454
455 * Sun Mar 3 2002 Thomas Vander Stichele <thomas@apestaart.org>
456 - put html docs in canonical place, avoiding %doc erasure
457 - added devhelp support, current install of it is hackish
458
459 * Sat Mar 2 2002 Christian Schaller <Uraeus@linuxrising.org>
460 - Added documentation to build
461
462 * Mon Feb 11 2002 Thomas Vander Stichele <thomas@apestaart.org>
463 - added libgstbasicscheduler
464 - renamed libgst to libgstreamer
465
466 * Fri Jan 04 2002 Christian Schaller <Uraeus@linuxrising.org>
467 - Added configdir parameter as it seems the configdir gets weird otherwise
468
469 * Thu Jan 03 2002 Thomas Vander Stichele <thomas@apestaart.org>
470 - split off gstreamer-editor from core
471 - removed gstreamer-gnome-apps
472
473 * Sat Dec 29 2001 Rodney Dawes <dobey@free.fr>
474 - Cleaned up the spec file for the gstreamer core/plug-ins split
475 - Improve spec file
476
477 * Sat Dec 15 2001 Christian Schaller <Uraeus@linuxrising.org>
478 - Split of more plugins from the core and put them into their own modules
479 - Includes colorspace, xfree and wav
480 - Improved package Require lines
481 - Added mp3encode (lame based) to the SPEC
482
483 * Wed Dec 12 2001 Christian Schaller <Uraeus@linuxrising.org>
484 - Thomas merged mpeg plugins into one
485 * Sat Dec 08 2001 Christian Schaller <Uraeus@linuxrising.org>
486 - More minor cleanups including some fixed descriptions from Andrew Mitchell
487
488 * Fri Dec 07 2001 Christian Schaller <Uraeus@linuxrising.org>
489 - Added logging to the make statement
490
491 * Wed Dec 05 2001 Christian Schaller <Uraeus@linuxrising.org>
492 - Updated in preparation for 0.3.0 release
493
494 * Fri Jun 29 2001 Christian Schaller <Uraeus@linuxrising.org>
495 - Updated for 0.2.1 release
496 - Split out the GUI packages into their own RPM
497 - added new plugins (FLAC, festival, quicktime etc.)
498
499 * Sat Jun 09 2001 Christian Schaller <Uraeus@linuxrising.org>
500 - Visualisation plugins bundled out togheter
501 - Moved files sections up close to their respective descriptions
502
503 * Sat Jun 02 2001 Christian Schaller <Uraeus@linuxrising.org>
504 - Split the package into separate RPMS, 
505   putting most plugins out by themselves.
506
507 * Fri Jun 01 2001 Christian Schaller <Uraeus@linuxrising.org>
508 - Updated with change suggestions from Dennis Bjorklund
509
510 * Tue Jan 09 2001 Erik Walthinsen <omega@cse.ogi.edu>
511 - updated to build -devel package as well
512
513 * Sun Jan 30 2000 Erik Walthinsen <omega@cse.ogi.edu>
514 - first draft of spec file
515