gst-plugins-base.spec.in 13.3 KB
Newer Older
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
1
%define majorminor  @GST_MAJORMINOR@
Christian Schaller's avatar
Christian Schaller committed
2
%define gstreamer   gstreamer
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
3

Christian Schaller's avatar
Christian Schaller committed
4
%define gst_minver  0.10.0
5

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
6
7
Name: 		%{gstreamer}-plugins-base
Version: 	@VERSION@
Christian Schaller's avatar
Christian Schaller committed
8
Release: 	@PACKAGE_VERSION_RELEASE@.gst
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
9
Summary: 	GStreamer streaming media framework plug-ins
10
11
12

Group: 		Applications/Multimedia
License: 	LGPL
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
13
14
URL:		http://gstreamer.freedesktop.org/
Vendor:         GStreamer Backpackers Team <package@gstreamer.freedesktop.org>
15
Source:         http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-%{version}.tar.gz
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
16
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
17

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
18
19
Requires: 	  %{gstreamer} >= %{gst_minver}
BuildRequires: 	  %{gstreamer}-devel >= %{gst_minver}
20
21

BuildRequires:  gcc-c++
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
22
BuildRequires:  gtk-doc >= 1.3
23
24
BuildRequires:  orc-devel
Requires:       orc
25
26
27
28
29

@USE_VORBIS_TRUE@Requires:      libogg >= 1.0
@USE_VORBIS_TRUE@Requires:      libvorbis >= 1.0
@USE_VORBIS_TRUE@BuildRequires: libogg-devel >= 1.0
@USE_VORBIS_TRUE@BuildRequires: libvorbis-devel >= 1.0
Jan Urbanski's avatar
Jan Urbanski committed
30
31
32
33
34
35
36
37
38
39
40
41
@USE_XVIDEO_TRUE@BuildRequires:  libXv-devel
@USE_XVIDEO_TRUE@Requires:       libXv-devel
@USE_ALSA_TRUE@BuildRequires: alsa-lib-devel
@USE_ALSA_TRUE@Requires:      alsa-lib
@USE_CDPARANOIA_TRUE@BuildRequires: cdparanoia-devel
@USE_CDPARANOIA_TRUE@Requires:      cdparanoia
@USE_LIBVISUAL_TRUE@BuildRequires: libvisual-devel
@USE_LIBVISUAL_TRUE@Requires:      libvisual
@USE_PANGO_TRUE@BuildRequires: pango-devel
@USE_PANGO_TRUE@Requires: pango
@USE_THEORA_TRUE@BuildRequires: libtheora-devel >= 1.0
@USE_THEORA_TRUE@Requires:      libtheora >= 1.0
42
43

%description
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
44
GStreamer is a streaming media framework, based on graphs of filters which
45
46
47
48
49
50
51
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
plug-ins.

%prep
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
52
%setup -q -n gst-plugins-base-%{version}
Christian Schaller's avatar
Christian Schaller committed
53
export DOCS_ARE_INCOMPLETE_PLEASE_FIXME=0
54
55
%build
%configure \
56
  --enable-gtk-doc --enable-introspection=yes
57
58
59
60
61
62
63

make %{?_smp_mflags}
                                                                                
%install
rm -rf $RPM_BUILD_ROOT

%makeinstall
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
64

65
66
67
68
69
# Clean out files that should not be part of the rpm.
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
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
70
71

%find_lang gst-plugins-base-%{majorminor}
72
73
74
75

%clean
rm -rf $RPM_BUILD_ROOT

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
76
%files -f gst-plugins-base-%{majorminor}.lang
77
%defattr(-, root, root)
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
78
%doc AUTHORS COPYING README REQUIREMENTS gst-plugins-base.doap
79
80
81

# helper programs
%{_bindir}/gst-visualise-%{majorminor}
82
%{_bindir}/gst-discoverer-%{majorminor}
83
84
85
%{_mandir}/man1/gst-visualise-%{majorminor}*

# libraries
Christian Schaller's avatar
Christian Schaller committed
86
%{_libdir}/libgstaudio-%{majorminor}.so.*
87
88
89
90
%{_libdir}/libgstcdda-%{majorminor}.so*
%{_libdir}/libgstinterfaces-%{majorminor}.so.*
%{_libdir}/libgstnetbuffer-%{majorminor}.so*
%{_libdir}/libgstpbutils-%{majorminor}.so*
Christian Schaller's avatar
Christian Schaller committed
91
%{_libdir}/libgstriff-%{majorminor}.so.*
92
%{_libdir}/libgstrtp-%{majorminor}.so*
93
%{_libdir}/libgsttag-%{majorminor}.so.*
Christian Schaller's avatar
Christian Schaller committed
94
%{_libdir}/libgstvideo-%{majorminor}.so.*
95
96
97
%{_libdir}/libgstfft-%{majorminor}.so.*
%{_libdir}/libgstrtsp-%{majorminor}.so.*
%{_libdir}/libgstsdp-%{majorminor}.so.*
98
%{_libdir}/libgstapp-%{majorminor}.so.*
99

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
100
# base plugins without external dependencies
101
102
103
%{_libdir}/gstreamer-%{majorminor}/libgstadder.so
%{_libdir}/gstreamer-%{majorminor}/libgstaudioconvert.so
%{_libdir}/gstreamer-%{majorminor}/libgstdecodebin.so
Christian Schaller's avatar
Christian Schaller committed
104
%{_libdir}/gstreamer-%{majorminor}/libgstdecodebin2.so
105
106
107
%{_libdir}/gstreamer-%{majorminor}/libgstplaybin.so
%{_libdir}/gstreamer-%{majorminor}/libgsttypefindfunctions.so
%{_libdir}/gstreamer-%{majorminor}/libgstvideotestsrc.so
108
109
%{_libdir}/gstreamer-%{majorminor}/libgstaudiorate.so
%{_libdir}/gstreamer-%{majorminor}/libgstsubparse.so
110
%{_libdir}/gstreamer-%{majorminor}/libgstvolume.so
111
%{_libdir}/gstreamer-%{majorminor}/libgstvideoconvert.so
112
%{_libdir}/gstreamer-%{majorminor}/libgstvideorate.so
113
%{_libdir}/gstreamer-%{majorminor}/libgstvideoscale.so
Christian Schaller's avatar
Christian Schaller committed
114
%{_libdir}/gstreamer-%{majorminor}/libgsttcp.so
115
%{_libdir}/gstreamer-%{majorminor}/libgstaudioresample.so
Christian Schaller's avatar
Christian Schaller committed
116
%{_libdir}/gstreamer-%{majorminor}/libgstaudiotestsrc.so
117
%{_libdir}/gstreamer-%{majorminor}/libgstgdp.so
118
%{_libdir}/gstreamer-%{majorminor}/libgstapp.so
119
%{_libdir}/gstreamer-%{majorminor}/libgstencodebin.so
120

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
121
122
123
124
125
126
127
# Here are packages not in the base plugins package but not dependant
# on an external lib

# @USE_GST_V4L2_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstvideo4linux2.so

# base plugins with dependencies
@USE_ALSA_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstalsa.so
128
129
130
@USE_THEORA_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgsttheora.so
@USE_VORBIS_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstvorbis.so
@USE_VORBIS_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstogg.so
131
@USE_XVIDEO_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstximage*.so
132
@USE_XVIDEO_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstxvimagesink.so
133
@USE_LIBVISUAL_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstlibvisual.so
134
@USE_PANGO_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstpango.so
135
@USE_CDPARANOIA_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstcdparanoia.so
136
137
@USE_GIO_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstgio.so
# @USE_SCHRO_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstschro.so                                                                     
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
138
139
%package devel
Summary: 	GStreamer Plugin Library Headers
140
Group: 		Development/Libraries
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
141
Requires: 	%{gstreamer}-plugins-base = %{version}
142

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
143
144
%description devel
GStreamer Plugins Base library development and header files.
145

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
146
%files devel
147
148
149
150
151
152
153
154
155
156
%defattr(-, root, root)
# plugin helper library headers
%{_includedir}/gstreamer-%{majorminor}/gst/audio/audio.h
%{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudiofilter.h
%{_includedir}/gstreamer-%{majorminor}/gst/audio/multichannel.h
%{_includedir}/gstreamer-%{majorminor}/gst/floatcast/floatcast.h
%{_includedir}/gstreamer-%{majorminor}/gst/riff/riff-ids.h
%{_includedir}/gstreamer-%{majorminor}/gst/riff/riff-media.h
%{_includedir}/gstreamer-%{majorminor}/gst/riff/riff-read.h
%{_includedir}/gstreamer-%{majorminor}/gst/video/video.h
157
158
159
160
161
162
163
164
165
166
167
168
%{_includedir}/gstreamer-%{majorminor}/gst/interfaces/colorbalance.h
%{_includedir}/gstreamer-%{majorminor}/gst/interfaces/colorbalancechannel.h
%{_includedir}/gstreamer-%{majorminor}/gst/interfaces/interfaces-enumtypes.h
%{_includedir}/gstreamer-%{majorminor}/gst/interfaces/mixer.h
%{_includedir}/gstreamer-%{majorminor}/gst/interfaces/mixeroptions.h
%{_includedir}/gstreamer-%{majorminor}/gst/interfaces/mixertrack.h
%{_includedir}/gstreamer-%{majorminor}/gst/interfaces/navigation.h
%{_includedir}/gstreamer-%{majorminor}/gst/interfaces/propertyprobe.h
%{_includedir}/gstreamer-%{majorminor}/gst/interfaces/tuner.h
%{_includedir}/gstreamer-%{majorminor}/gst/interfaces/tunerchannel.h
%{_includedir}/gstreamer-%{majorminor}/gst/interfaces/tunernorm.h
%{_includedir}/gstreamer-%{majorminor}/gst/interfaces/xoverlay.h
Christian Schaller's avatar
Christian Schaller committed
169
170
%{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudiosrc.h
%{_includedir}/gstreamer-%{majorminor}/gst/audio/gstbaseaudiosrc.h
171
%{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstbasertpaudiopayload.h
Christian Schaller's avatar
Christian Schaller committed
172
173
%{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstbasertpdepayload.h
%{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstrtpbuffer.h
174
175
176
177
%{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudioclock.h
%{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudiosink.h
%{_includedir}/gstreamer-%{majorminor}/gst/audio/gstbaseaudiosink.h
%{_includedir}/gstreamer-%{majorminor}/gst/audio/gstringbuffer.h
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
178
%{_includedir}/gstreamer-%{majorminor}/gst/tag/tag.h
179
%{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstbasertppayload.h
180
181
%{_includedir}/gstreamer-%{majorminor}/gst/video/gstvideofilter.h
%{_includedir}/gstreamer-%{majorminor}/gst/video/gstvideosink.h
182
%{_includedir}/gstreamer-%{majorminor}/gst/netbuffer/gstnetbuffer.h
Christian Schaller's avatar
Christian Schaller committed
183
184
%{_includedir}/gstreamer-%{majorminor}/gst/cdda/gstcddabasesrc.h
%{_includedir}/gstreamer-%{majorminor}/gst/audio/mixerutils.h
185
%{_includedir}/gstreamer-%{majorminor}/gst/interfaces/videoorientation.h
Christian Schaller's avatar
Christian Schaller committed
186
187
188
189
%{_includedir}/gstreamer-%{majorminor}/gst/pbutils/descriptions.h
%{_includedir}/gstreamer-%{majorminor}/gst/pbutils/install-plugins.h
%{_includedir}/gstreamer-%{majorminor}/gst/pbutils/missing-plugins.h
%{_includedir}/gstreamer-%{majorminor}/gst/pbutils/pbutils.h
190
%{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstrtcpbuffer.h
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
%{_includedir}/gstreamer-%{majorminor}/gst/fft/gstfft.h
%{_includedir}/gstreamer-%{majorminor}/gst/fft/gstfftf32.h
%{_includedir}/gstreamer-%{majorminor}/gst/fft/gstfftf64.h
%{_includedir}/gstreamer-%{majorminor}/gst/fft/gstffts16.h
%{_includedir}/gstreamer-%{majorminor}/gst/fft/gstffts32.h
%{_includedir}/gstreamer-%{majorminor}/gst/rtsp/gstrtsp-enumtypes.h
%{_includedir}/gstreamer-%{majorminor}/gst/rtsp/gstrtspbase64.h
%{_includedir}/gstreamer-%{majorminor}/gst/rtsp/gstrtspconnection.h
%{_includedir}/gstreamer-%{majorminor}/gst/rtsp/gstrtspdefs.h
%{_includedir}/gstreamer-%{majorminor}/gst/rtsp/gstrtspextension.h
%{_includedir}/gstreamer-%{majorminor}/gst/rtsp/gstrtspmessage.h
%{_includedir}/gstreamer-%{majorminor}/gst/rtsp/gstrtsprange.h
%{_includedir}/gstreamer-%{majorminor}/gst/rtsp/gstrtsptransport.h
%{_includedir}/gstreamer-%{majorminor}/gst/rtsp/gstrtspurl.h
%{_includedir}/gstreamer-%{majorminor}/gst/sdp/gstsdp.h
%{_includedir}/gstreamer-%{majorminor}/gst/sdp/gstsdpmessage.h
Christian Schaller's avatar
Christian Schaller committed
207
208
%{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstrtppayloads.h
%{_includedir}/gstreamer-%{majorminor}/gst/tag/gsttagdemux.h
209
%{_includedir}/gstreamer-%{majorminor}/gst/pbutils/pbutils-enumtypes.h
210
211
212
213
214
%{_includedir}/gstreamer-%{majorminor}/gst/app/gstappbuffer.h
%{_includedir}/gstreamer-%{majorminor}/gst/app/gstappsink.h
%{_includedir}/gstreamer-%{majorminor}/gst/app/gstappsrc.h
%{_includedir}/gstreamer-%{majorminor}/gst/audio/audio-enumtypes.h
%{_includedir}/gstreamer-%{majorminor}/gst/video/video-enumtypes.h
215
%{_includedir}/gstreamer-%{majorminor}/gst/interfaces/streamvolume.h
216
217
218
219
220
%{_includedir}/gstreamer-%{majorminor}/gst/pbutils/codec-utils.h
%{_includedir}/gstreamer-%{majorminor}/gst/pbutils/encoding-profile.h
%{_includedir}/gstreamer-%{majorminor}/gst/pbutils/encoding-target.h
%{_includedir}/gstreamer-%{majorminor}/gst/pbutils/gstdiscoverer.h
%{_includedir}/gstreamer-%{majorminor}/gst/pbutils/gstpluginsbaseversion.h
221
%{_includedir}/gstreamer-%{majorminor}/gst/tag/xmpwriter.h
222
%{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudioiec61937.h
223

224
225
226
%{_libdir}/libgstfft-%{majorminor}.so
%{_libdir}/libgstrtsp-%{majorminor}.so
%{_libdir}/libgstsdp-%{majorminor}.so
227
228
%{_libdir}/libgstaudio-%{majorminor}.so
%{_libdir}/libgstriff-%{majorminor}.so
229
%{_libdir}/libgsttag-%{majorminor}.so
230
%{_libdir}/libgstvideo-%{majorminor}.so
Christian Schaller's avatar
Christian Schaller committed
231
%{_libdir}/libgstrtp-%{majorminor}.so
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
232
%{_libdir}/libgstinterfaces-%{majorminor}.so
233
%{_libdir}/libgstnetbuffer-%{majorminor}.so
234
%{_libdir}/libgstpbutils-%{majorminor}.so
Christian Schaller's avatar
Christian Schaller committed
235
%{_libdir}/libgstcdda-%{majorminor}.so
236
%{_libdir}/libgstapp-%{majorminor}.so
237
238

# pkg-config files
Christian Schaller's avatar
Christian Schaller committed
239
%{_libdir}/pkgconfig/gstreamer-plugins-base-%{majorminor}.pc
240
241
242
243
244
245
246
247
248
249
250
251
252
253
%{_libdir}/pkgconfig/gstreamer-audio-%{majorminor}.pc
%{_libdir}/pkgconfig/gstreamer-cdda-%{majorminor}.pc
%{_libdir}/pkgconfig/gstreamer-fft-%{majorminor}.pc
%{_libdir}/pkgconfig/gstreamer-floatcast-%{majorminor}.pc
%{_libdir}/pkgconfig/gstreamer-interfaces-%{majorminor}.pc
%{_libdir}/pkgconfig/gstreamer-netbuffer-%{majorminor}.pc
%{_libdir}/pkgconfig/gstreamer-pbutils-%{majorminor}.pc
%{_libdir}/pkgconfig/gstreamer-riff-%{majorminor}.pc
%{_libdir}/pkgconfig/gstreamer-rtp-%{majorminor}.pc
%{_libdir}/pkgconfig/gstreamer-rtsp-%{majorminor}.pc
%{_libdir}/pkgconfig/gstreamer-sdp-%{majorminor}.pc
%{_libdir}/pkgconfig/gstreamer-tag-%{majorminor}.pc
%{_libdir}/pkgconfig/gstreamer-video-%{majorminor}.pc
%{_libdir}/pkgconfig/gstreamer-app-%{majorminor}.pc
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
%{_libdir}/girepository-1.0/GstApp-0.10.typelib
%{_libdir}/girepository-1.0/GstAudio-0.10.typelib
%{_libdir}/girepository-1.0/GstFft-0.10.typelib
%{_libdir}/girepository-1.0/GstInterfaces-0.10.typelib
%{_libdir}/girepository-1.0/GstNetbuffer-0.10.typelib
%{_libdir}/girepository-1.0/GstPbutils-0.10.typelib
%{_libdir}/girepository-1.0/GstRiff-0.10.typelib
%{_libdir}/girepository-1.0/GstRtp-0.10.typelib
%{_libdir}/girepository-1.0/GstRtsp-0.10.typelib
%{_libdir}/girepository-1.0/GstSdp-0.10.typelib
%{_libdir}/girepository-1.0/GstTag-0.10.typelib
%{_libdir}/girepository-1.0/GstVideo-0.10.typelib
%{_datadir}/gir-1.0/GstApp-0.10.gir
%{_datadir}/gir-1.0/GstAudio-0.10.gir
%{_datadir}/gir-1.0/GstFft-0.10.gir
%{_datadir}/gir-1.0/GstInterfaces-0.10.gir
%{_datadir}/gir-1.0/GstNetbuffer-0.10.gir
%{_datadir}/gir-1.0/GstPbutils-0.10.gir
%{_datadir}/gir-1.0/GstRiff-0.10.gir
%{_datadir}/gir-1.0/GstRtp-0.10.gir
%{_datadir}/gir-1.0/GstRtsp-0.10.gir
%{_datadir}/gir-1.0/GstSdp-0.10.gir
%{_datadir}/gir-1.0/GstTag-0.10.gir
%{_datadir}/gir-1.0/GstVideo-0.10.gir

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
280
281
# gtk-doc documentation
%doc %{_datadir}/gtk-doc/html/gst-plugins-base-libs-%{majorminor}
282
%doc %{_datadir}/gtk-doc/html/gst-plugins-base-plugins-%{majorminor}
283
284

%changelog
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
285
286
287
288
* Fri Dec 15 2006 Thomas Vander Stichele <thomas at apestaart dot org>
- add doap file
- cleanups

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
289
290
291
* Fri Sep 02 2005 Thomas Vander Stichele <thomas at apestaart dot org>
- clean up a little

292
293
294
* Fri May 6 2005 Christian Schaller <christian at fluendo dot com>
- Added libgstaudiorate and libgstsubparse to spec file

295
296
* Thu May 5 2005 Christian Schaller <christian at fluendo dot com>
- first attempt at spec file for gst-plugins-base