gst-plugins-base.spec.in 8.61 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 25 26 27 28 29 30 31

@USE_GNOME_VFS_TRUE@Requires:      gnome-vfs2 > 1.9.4.00
@USE_GNOME_VFS_TRUE@BuildRequires: gnome-vfs2-devel > 1.9.4.00
@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

%description
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
32
GStreamer is a streaming media framework, based on graphs of filters which
33 34 35 36 37 38 39
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
40
%setup -q -n gst-plugins-base-%{version}
Christian Schaller's avatar
Christian Schaller committed
41
export DOCS_ARE_INCOMPLETE_PLEASE_FIXME=0
42 43
%build
%configure \
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
44
  --enable-gtk-doc
45 46 47 48 49 50 51

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

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

53 54 55 56 57
# 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
58 59

%find_lang gst-plugins-base-%{majorminor}
60 61 62 63

%clean
rm -rf $RPM_BUILD_ROOT

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
64
%files -f gst-plugins-base-%{majorminor}.lang
65
%defattr(-, root, root)
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
66
%doc AUTHORS COPYING README REQUIREMENTS gst-plugins-base.doap
67 68 69 70

# helper programs
%{_bindir}/gst-visualise-%{majorminor}
%{_mandir}/man1/gst-visualise-%{majorminor}*
Christian Schaller's avatar
Christian Schaller committed
71 72
%{_libdir}/libgstbaseutils-0.10.so.0
%{_libdir}/libgstbaseutils-0.10.so.0.8.0
73 74 75

# libraries
%{_libdir}/libgstinterfaces-%{majorminor}.so.*
Christian Schaller's avatar
Christian Schaller committed
76 77
%{_libdir}/libgstaudio-%{majorminor}.so.*
%{_libdir}/libgstriff-%{majorminor}.so.*
78
%{_libdir}/libgsttag-%{majorminor}.so.*
Christian Schaller's avatar
Christian Schaller committed
79
%{_libdir}/libgstvideo-%{majorminor}.so.*
80
%{_libdir}/libgstrtp-%{majorminor}.so*
81
%{_libdir}/libgstnetbuffer-%{majorminor}.so*
Christian Schaller's avatar
Christian Schaller committed
82
%{_libdir}/libgstcdda-%{majorminor}.so*
83

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
84
# base plugins without external dependencies
85 86 87 88
%{_libdir}/gstreamer-%{majorminor}/libgstadder.so
%{_libdir}/gstreamer-%{majorminor}/libgstaudioconvert.so
%{_libdir}/gstreamer-%{majorminor}/libgstffmpegcolorspace.so
%{_libdir}/gstreamer-%{majorminor}/libgstdecodebin.so
Christian Schaller's avatar
Christian Schaller committed
89
%{_libdir}/gstreamer-%{majorminor}/libgstdecodebin2.so
90 91 92
%{_libdir}/gstreamer-%{majorminor}/libgstplaybin.so
%{_libdir}/gstreamer-%{majorminor}/libgsttypefindfunctions.so
%{_libdir}/gstreamer-%{majorminor}/libgstvideotestsrc.so
93 94
%{_libdir}/gstreamer-%{majorminor}/libgstaudiorate.so
%{_libdir}/gstreamer-%{majorminor}/libgstsubparse.so
95 96
%{_libdir}/gstreamer-%{majorminor}/libgstvolume.so
%{_libdir}/gstreamer-%{majorminor}/libgstvideorate.so
97
%{_libdir}/gstreamer-%{majorminor}/libgstvideoscale.so
Christian Schaller's avatar
Christian Schaller committed
98
%{_libdir}/gstreamer-%{majorminor}/libgsttcp.so
Christian Schaller's avatar
Christian Schaller committed
99
%{_libdir}/gstreamer-%{majorminor}/libgstvideo4linux.so
100
%{_libdir}/gstreamer-%{majorminor}/libgstaudioresample.so
Christian Schaller's avatar
Christian Schaller committed
101
%{_libdir}/gstreamer-%{majorminor}/libgstaudiotestsrc.so
102
%{_libdir}/gstreamer-%{majorminor}/libgstgdp.so
103

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
104 105 106 107 108 109 110
# 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
111 112 113 114
@USE_THEORA_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgsttheora.so
@USE_GNOME_VFS_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstgnomevfs.so
@USE_VORBIS_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstvorbis.so
@USE_VORBIS_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstogg.so
115
@USE_XVIDEO_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstximage*.so
116
@USE_XVIDEO_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstxvimagesink.so
117
@USE_LIBVISUAL_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstlibvisual.so
118 119
@USE_PANGO_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstpango.so
@USE_CDPARANOIA_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstcdparanoia.so                                                                     
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
120 121
%package devel
Summary: 	GStreamer Plugin Library Headers
122
Group: 		Development/Libraries
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
123
Requires: 	%{gstreamer}-plugins-base = %{version}
124

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
125 126
%description devel
GStreamer Plugins Base library development and header files.
127

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
128
%files devel
129 130 131 132 133 134 135 136 137 138
%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
139 140 141 142 143 144 145 146 147 148 149 150
%{_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
151 152
%{_includedir}/gstreamer-%{majorminor}/gst/audio/gstaudiosrc.h
%{_includedir}/gstreamer-%{majorminor}/gst/audio/gstbaseaudiosrc.h
Christian Schaller's avatar
Christian Schaller committed
153
%{_includedir}/gstreamer-%{majorminor}/gst/audio/multichannel-enumtypes.h
154
%{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstbasertpaudiopayload.h
Christian Schaller's avatar
Christian Schaller committed
155 156
%{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstbasertpdepayload.h
%{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstrtpbuffer.h
157 158 159 160
%{_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
161
%{_includedir}/gstreamer-%{majorminor}/gst/tag/tag.h
162
%{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstbasertppayload.h
163 164
%{_includedir}/gstreamer-%{majorminor}/gst/video/gstvideofilter.h
%{_includedir}/gstreamer-%{majorminor}/gst/video/gstvideosink.h
165
%{_includedir}/gstreamer-%{majorminor}/gst/netbuffer/gstnetbuffer.h
Christian Schaller's avatar
Christian Schaller committed
166 167
%{_includedir}/gstreamer-%{majorminor}/gst/cdda/gstcddabasesrc.h
%{_includedir}/gstreamer-%{majorminor}/gst/audio/mixerutils.h
168
%{_includedir}/gstreamer-%{majorminor}/gst/interfaces/videoorientation.h
Christian Schaller's avatar
Christian Schaller committed
169 170 171
%{_includedir}/gstreamer-%{majorminor}/gst/utils/base-utils.h
%{_includedir}/gstreamer-%{majorminor}/gst/utils/descriptions.h
%{_includedir}/gstreamer-%{majorminor}/gst/utils/missing-plugins.h
172
%{_includedir}/gstreamer-%{majorminor}/gst/utils/install-plugins.h
Christian Schaller's avatar
Christian Schaller committed
173
%{_libdir}/libgstbaseutils-0.10.so
174 175
%{_libdir}/libgstaudio-%{majorminor}.so
%{_libdir}/libgstriff-%{majorminor}.so
176
%{_libdir}/libgsttag-%{majorminor}.so
177
%{_libdir}/libgstvideo-%{majorminor}.so
Christian Schaller's avatar
Christian Schaller committed
178
%{_libdir}/libgstrtp-%{majorminor}.so
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
179
%{_libdir}/libgstinterfaces-%{majorminor}.so
180
%{_libdir}/libgstnetbuffer-%{majorminor}.so
Christian Schaller's avatar
Christian Schaller committed
181
%{_libdir}/libgstcdda-%{majorminor}.so
182 183

# pkg-config files
Christian Schaller's avatar
Christian Schaller committed
184
%{_libdir}/pkgconfig/gstreamer-plugins-base-%{majorminor}.pc
185

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
186 187
# gtk-doc documentation
%doc %{_datadir}/gtk-doc/html/gst-plugins-base-libs-%{majorminor}
188
%doc %{_datadir}/gtk-doc/html/gst-plugins-base-plugins-%{majorminor}
189 190

%changelog
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
191 192 193 194
* 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
195 196 197
* Fri Sep 02 2005 Thomas Vander Stichele <thomas at apestaart dot org>
- clean up a little

198 199 200
* Fri May 6 2005 Christian Schaller <christian at fluendo dot com>
- Added libgstaudiorate and libgstsubparse to spec file

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