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