gst-plugins-base.spec.in 14.4 KB
Newer Older
Sebastian Dröge's avatar
Sebastian Dröge committed
1
%define majorminor  @GST_API_VERSION@
2
%define gstreamer   gstreamer1
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
3

4
%define gst_minver  0.11.0
5

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
6 7
Name: 		%{gstreamer}-plugins-base
Version: 	@VERSION@
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.xz
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
16
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
17

18 19 20
Requires: 	%{gstreamer} >= %{gst_minver}
BuildRequires: 	%{gstreamer}-devel >= %{gst_minver}
BuildRequires:  gobject-introspection-devel >= 0.9.12
21 22

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

@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
31 32 33 34 35 36 37 38 39 40 41 42
@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
43 44

%description
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
45
GStreamer is a streaming media framework, based on graphs of filters which
46 47 48 49 50 51 52
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
53
%setup -q -n gst-plugins-base-%{version}
54
export DOCS_ARE_INCOMPLETE_PLEASE_FIXME=0
55 56
%build
%configure \
57
  --enable-gtk-doc --enable-introspection=yes
58

59
make %{?_smp_mflags} CFLAGS+="-Wno-error" CXXFLAGS+="-Wno-error"
60 61 62 63 64
                                                                                
%install
rm -rf $RPM_BUILD_ROOT

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

66 67 68 69 70
# 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
71 72

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

%clean
rm -rf $RPM_BUILD_ROOT

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

# helper programs
82
%{_bindir}/gst-discoverer-%{majorminor}
83
%{_bindir}/gst-play-%{majorminor}
84
%{_bindir}/gst-device-monitor-%{majorminor}
85
%{_mandir}/man1/gst-discoverer-%{majorminor}*
86
%{_mandir}/man1/gst-play-%{majorminor}*
87
%{_mandir}/man1/gst-device-monitor-%{majorminor}*
88 89

# libraries
Christian Schaller's avatar
Christian Schaller committed
90
%{_libdir}/libgstaudio-%{majorminor}.so.*
91
%{_libdir}/libgstpbutils-%{majorminor}.so*
Christian Schaller's avatar
Christian Schaller committed
92
%{_libdir}/libgstriff-%{majorminor}.so.*
93
%{_libdir}/libgstrtp-%{majorminor}.so*
94
%{_libdir}/libgsttag-%{majorminor}.so.*
Christian Schaller's avatar
Christian Schaller committed
95
%{_libdir}/libgstvideo-%{majorminor}.so.*
96 97 98
%{_libdir}/libgstfft-%{majorminor}.so.*
%{_libdir}/libgstrtsp-%{majorminor}.so.*
%{_libdir}/libgstsdp-%{majorminor}.so.*
99
%{_libdir}/libgstapp-%{majorminor}.so.*
100
%{_libdir}/libgstallocators-%{majorminor}.so.*
101

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

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
120 121 122 123 124 125 126
# 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
127 128 129
@USE_THEORA_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgsttheora.so
@USE_VORBIS_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstvorbis.so
@USE_VORBIS_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstogg.so
130
@USE_XVIDEO_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstximage*.so
131
@USE_XVIDEO_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstxvimagesink.so
132
@USE_LIBVISUAL_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstlibvisual.so
133
@USE_PANGO_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstpango.so
134
@USE_CDPARANOIA_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstcdparanoia.so
135
%{_libdir}/gstreamer-%{majorminor}/libgstgio.so
136
# @USE_SCHRO_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstschro.so                                                                     
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
137 138
%package devel
Summary: 	GStreamer Plugin Library Headers
139
Group: 		Development/Libraries
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
140
Requires: 	%{gstreamer}-plugins-base = %{version}
141

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

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
145
%files devel
146 147
%defattr(-, root, root)
# plugin helper library headers
148 149 150 151 152 153
%{_includedir}/gstreamer-%{majorminor}/gst/audio/audio-channels.h
%{_includedir}/gstreamer-%{majorminor}/gst/audio/audio-format.h
%{_includedir}/gstreamer-%{majorminor}/gst/audio/audio-info.h
%{_includedir}/gstreamer-%{majorminor}/gst/video/gstvideodecoder.h
%{_includedir}/gstreamer-%{majorminor}/gst/video/gstvideoencoder.h
%{_includedir}/gstreamer-%{majorminor}/gst/video/gstvideoutils.h
154
%{_includedir}/gstreamer-%{majorminor}/gst/video/video-tile.h
155 156 157 158 159 160 161 162
%{_includedir}/gstreamer-%{majorminor}/gst/video/navigation.h
%{_includedir}/gstreamer-%{majorminor}/gst/video/video-blend.h
%{_includedir}/gstreamer-%{majorminor}/gst/video/video-color.h
%{_includedir}/gstreamer-%{majorminor}/gst/video/video-event.h
%{_includedir}/gstreamer-%{majorminor}/gst/video/video-format.h
%{_includedir}/gstreamer-%{majorminor}/gst/video/video-frame.h
%{_includedir}/gstreamer-%{majorminor}/gst/video/video-info.h
%{_includedir}/gstreamer-%{majorminor}/gst/video/video-overlay-composition.h
163
%{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstrtphdrext.h
164 165 166 167 168
%{_includedir}/gstreamer-%{majorminor}/gst/audio/audio.h
%{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudiofilter.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
169
%{_includedir}/gstreamer-%{majorminor}/gst/video/gstvideopool.h
170
%{_includedir}/gstreamer-%{majorminor}/gst/video/gstvideometa.h
171
%{_includedir}/gstreamer-%{majorminor}//gst/audio/gstaudiometa.h
Christian Schaller's avatar
Christian Schaller committed
172
%{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudiosrc.h
Christian Schaller's avatar
Christian Schaller committed
173
%{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstrtpbuffer.h
174 175
%{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudioclock.h
%{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudiosink.h
176 177
%{_includedir}/gstreamer-%{majorminor}/gst/video/gstvideofilter.h
%{_includedir}/gstreamer-%{majorminor}/gst/video/gstvideosink.h
178
%{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudiocdsrc.h
Christian Schaller's avatar
Christian Schaller committed
179 180 181
%{_includedir}/gstreamer-%{majorminor}/gst/pbutils/descriptions.h
%{_includedir}/gstreamer-%{majorminor}/gst/pbutils/install-plugins.h
%{_includedir}/gstreamer-%{majorminor}/gst/pbutils/missing-plugins.h
182
%{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstrtcpbuffer.h
183 184 185 186 187 188 189 190 191 192 193 194 195 196 197
%{_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/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
198 199
%{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstrtppayloads.h
%{_includedir}/gstreamer-%{majorminor}/gst/tag/gsttagdemux.h
200
%{_includedir}/gstreamer-%{majorminor}/gst/pbutils/pbutils-enumtypes.h
201 202 203 204
%{_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
205 206 207 208 209
%{_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
210
%{_includedir}/gstreamer-%{majorminor}/gst/tag/xmpwriter.h
211
%{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudioiec61937.h
212 213 214
%{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudiodecoder.h
%{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudioencoder.h
%{_includedir}/gstreamer-%{majorminor}/gst/tag/gsttagmux.h
215 216 217 218 219 220
%{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudiobasesink.h
%{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudiobasesrc.h
%{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudioringbuffer.h
%{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstrtpbaseaudiopayload.h
%{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstrtpbasedepayload.h
%{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstrtpbasepayload.h
221 222 223 224 225
%{_includedir}/gstreamer-%{majorminor}/gst/audio/streamvolume.h
%{_includedir}/gstreamer-%{majorminor}/gst/video/colorbalance.h
%{_includedir}/gstreamer-%{majorminor}/gst/video/colorbalancechannel.h
%{_includedir}/gstreamer-%{majorminor}/gst/video/videoorientation.h
%{_includedir}/gstreamer-%{majorminor}/gst/video/videooverlay.h
226 227 228 229 230 231 232 233
%{_includedir}/gstreamer-%{majorminor}/gst/app/app.h
%{_includedir}/gstreamer-%{majorminor}/gst/pbutils/pbutils.h
%{_includedir}/gstreamer-%{majorminor}/gst/riff/riff.h
%{_includedir}/gstreamer-%{majorminor}/gst/rtp/rtp.h
%{_includedir}/gstreamer-%{majorminor}/gst/rtsp/rtsp.h
%{_includedir}/gstreamer-%{majorminor}/gst/tag/tag.h
%{_includedir}/gstreamer-%{majorminor}/gst/video/video.h
%{_includedir}/gstreamer-%{majorminor}/gst/fft/fft.h
234
%{_includedir}/gstreamer-%{majorminor}/gst/rtsp/gstrtsp.h
235
%{_includedir}/gstreamer-%{majorminor}/gst/sdp/sdp.h
236 237
%{_includedir}/gstreamer-%{majorminor}/gst/allocators/allocators.h
%{_includedir}/gstreamer-%{majorminor}/gst/allocators/gstdmabuf.h
238
%{_includedir}/gstreamer-%{majorminor}/gst/video/video-chroma.h
239
%{_includedir}/gstreamer-%{majorminor}/gst/sdp/gstmikey.h
240 241 242 243
%{_libdir}/girepository-1.0/GstAllocators-1.0.typelib
%{_libdir}/libgstallocators-1.0.so
%{_libdir}/pkgconfig/gstreamer-allocators-1.0.pc
%{_datadir}/gir-1.0/GstAllocators-1.0.gir
244

245

246 247 248
%{_libdir}/libgstfft-%{majorminor}.so
%{_libdir}/libgstrtsp-%{majorminor}.so
%{_libdir}/libgstsdp-%{majorminor}.so
249 250
%{_libdir}/libgstaudio-%{majorminor}.so
%{_libdir}/libgstriff-%{majorminor}.so
251
%{_libdir}/libgsttag-%{majorminor}.so
252
%{_libdir}/libgstvideo-%{majorminor}.so
Christian Schaller's avatar
Christian Schaller committed
253
%{_libdir}/libgstrtp-%{majorminor}.so
254
%{_libdir}/libgstpbutils-%{majorminor}.so
255
%{_libdir}/libgstapp-%{majorminor}.so
256 257

# pkg-config files
Christian Schaller's avatar
Christian Schaller committed
258
%{_libdir}/pkgconfig/gstreamer-plugins-base-%{majorminor}.pc
259 260 261 262 263 264 265 266 267 268
%{_libdir}/pkgconfig/gstreamer-audio-%{majorminor}.pc
%{_libdir}/pkgconfig/gstreamer-fft-%{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
269

270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289
%{_libdir}/girepository-1.0/GstApp-%{majorminor}.typelib
%{_libdir}/girepository-1.0/GstAudio-%{majorminor}.typelib
%{_libdir}/girepository-1.0/GstFft-%{majorminor}.typelib
%{_libdir}/girepository-1.0/GstPbutils-%{majorminor}.typelib
%{_libdir}/girepository-1.0/GstRiff-%{majorminor}.typelib
%{_libdir}/girepository-1.0/GstRtp-%{majorminor}.typelib
%{_libdir}/girepository-1.0/GstRtsp-%{majorminor}.typelib
%{_libdir}/girepository-1.0/GstSdp-%{majorminor}.typelib
%{_libdir}/girepository-1.0/GstTag-%{majorminor}.typelib
%{_libdir}/girepository-1.0/GstVideo-%{majorminor}.typelib
%{_datadir}/gir-1.0/GstApp-%{majorminor}.gir
%{_datadir}/gir-1.0/GstAudio-%{majorminor}.gir
%{_datadir}/gir-1.0/GstFft-%{majorminor}.gir
%{_datadir}/gir-1.0/GstPbutils-%{majorminor}.gir
%{_datadir}/gir-1.0/GstRiff-%{majorminor}.gir
%{_datadir}/gir-1.0/GstRtp-%{majorminor}.gir
%{_datadir}/gir-1.0/GstRtsp-%{majorminor}.gir
%{_datadir}/gir-1.0/GstSdp-%{majorminor}.gir
%{_datadir}/gir-1.0/GstTag-%{majorminor}.gir
%{_datadir}/gir-1.0/GstVideo-%{majorminor}.gir
290

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
291 292
# gtk-doc documentation
%doc %{_datadir}/gtk-doc/html/gst-plugins-base-libs-%{majorminor}
293
%doc %{_datadir}/gtk-doc/html/gst-plugins-base-plugins-%{majorminor}
294
%doc %{_datadir}/gst-plugins-base/%{majorminor}/license-translations.dict
295 296

%changelog
297 298 299 300 301 302 303 304
* Sun Aug 07 2011 Thomas Vander Stichele <thomas at apestaart dot org>
- rename to gstreamer011
- require 0.11 gstreamer
- properly use majorminor macro
- libgstplayback.so now contains playbin/decodebin elements.
- gstappbuffer is gone
- added metavideo and videopool headers

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
305 306 307 308
* 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
309 310 311
* Fri Sep 02 2005 Thomas Vander Stichele <thomas at apestaart dot org>
- clean up a little

312 313 314
* Fri May 6 2005 Christian Schaller <christian at fluendo dot com>
- Added libgstaudiorate and libgstsubparse to spec file

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