gst-plugins-good.spec.in 6.7 KB
Newer Older
1
%define majorminor  @GST_API_VERSION@
2
%define gstreamer   gstreamer011
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
3

4
%define gst_minver   0.11.0
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
5

6
Name: 		%{gstreamer}-plugins-good
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
7
Version: 	@VERSION@
8
Release: 	@PACKAGE_VERSION_RELEASE@.gst
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
9 10 11 12
Summary: 	GStreamer plug-ins with good code and licensing

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

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

BuildRequires:  gcc-c++

@USE_FLAC_TRUE@BuildRequires: flac-devel >= 1.0.3
@USE_JPEG_TRUE@BuildRequires: libjpeg-devel
25 26
@USE_LIBCACA_TRUE@BuildRequires: libcaca-devel
@USE_LIBDV_TRUE@BuildRequires: libdv-devel
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
27 28 29
@USE_LIBPNG_TRUE@BuildRequires: libpng-devel >= 1.2.0
@USE_OSS_TRUE@BuildRequires: glibc-devel
@USE_SPEEX_TRUE@BuildRequires:	speex-devel
30 31 32
@USE_SHOUT2_TRUE@BuildRequires: libshout-devel >= 2.0
@USE_AALIB_TRUE@BuildRequires:  aalib-devel >= 1.3
@USE_AALIB_TRUE@Provides:       gstreamer-aasink = %{version}-%{release}
33
@USE_PULSE_TRUE@BuildRequires: pulseaudio-libs-devel
34 35 36 37
@USE_DV1394_TRUE@BuildRequires: libavc1394-devel
@USE_DV1394_TRUE@BuildRequires: libdc1394-devel
@USE_DV1394_TRUE@BuildRequires: libiec61883-devel  
@USE_DV1394_TRUE@BuildRequires: libraw1394-devel
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
38 39

%description
40
GStreamer is a streaming media framework, based on graphs of filters which
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
41 42 43 44 45 46 47
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
48
%setup -q -n gst-plugins-good-%{version}
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
49 50 51 52 53
%build
%configure \
  --enable-debug \
  --enable-DEBUG 

54
make %{?_smp_mflags} CFLAGS+="-Wno-error" CXXFLAGS+="-Wno-error"
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
55 56 57 58 59 60 61 62 63 64 65 66
                                                                                
%install
rm -rf $RPM_BUILD_ROOT

%makeinstall
                                                                                
# 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

67 68
%find_lang gst-plugins-good-%{majorminor}

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
69 70 71
%clean
rm -rf $RPM_BUILD_ROOT

72 73
%post

74
%files -f gst-plugins-good-%{majorminor}.lang
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
75
%defattr(-, root, root)
76
%doc AUTHORS COPYING README REQUIREMENTS gst-plugins-good.doap
77 78
%{_datadir}/gstreamer-%{majorminor}/presets/GstIirEqualizer10Bands.prs
%{_datadir}/gstreamer-%{majorminor}/presets/GstIirEqualizer3Bands.prs
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
79 80 81

# non-core plugins without external dependencies
%{_libdir}/gstreamer-%{majorminor}/libgstalaw.so
82 83 84
%{_libdir}/gstreamer-%{majorminor}/libgstalpha.so
%{_libdir}/gstreamer-%{majorminor}/libgstautodetect.so
%{_libdir}/gstreamer-%{majorminor}/libgstavi.so
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
85
%{_libdir}/gstreamer-%{majorminor}/libgsteffectv.so
86 87
%{_libdir}/gstreamer-%{majorminor}/libgstgoom.so
%{_libdir}/gstreamer-%{majorminor}/libgstlevel.so
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
88
%{_libdir}/gstreamer-%{majorminor}/libgstmulaw.so
89
%{_libdir}/gstreamer-%{majorminor}/libgstisomp4.so
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
90
%{_libdir}/gstreamer-%{majorminor}/libgstrtp.so
91
%{_libdir}/gstreamer-%{majorminor}/libgstrtpmanager.so
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
92
%{_libdir}/gstreamer-%{majorminor}/libgstrtsp.so
93
%{_libdir}/gstreamer-%{majorminor}/libgstsmpte.so
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
94
%{_libdir}/gstreamer-%{majorminor}/libgstudp.so
95
%{_libdir}/gstreamer-%{majorminor}/libgstvideobox.so
96 97
%{_libdir}/gstreamer-%{majorminor}/libgstwavenc.so
%{_libdir}/gstreamer-%{majorminor}/libgstwavparse.so
98
%{_libdir}/gstreamer-%{majorminor}/libgstauparse.so
Christian Schaller's avatar
Christian Schaller committed
99 100
%{_libdir}/gstreamer-%{majorminor}/libgstdebug.so
%{_libdir}/gstreamer-%{majorminor}/libgstnavigationtest.so
101
%{_libdir}/gstreamer-%{majorminor}/libgstalphacolor.so
Christian Schaller's avatar
Christian Schaller committed
102
@USE_CAIRO_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstcairo.so
103
%{_libdir}/gstreamer-%{majorminor}/libgstflxdec.so
104 105
%{_libdir}/gstreamer-%{majorminor}/libgstmatroska.so
%{_libdir}/gstreamer-%{majorminor}/libgstvideomixer.so
106
%{_libdir}/gstreamer-%{majorminor}/libgstcutter.so
107
%{_libdir}/gstreamer-%{majorminor}/libgstmultipart.so
108
%{_libdir}/gstreamer-%{majorminor}/libgstid3demux.so
109
@USE_GDK_PIXBUF_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstgdkpixbuf.so
110
%{_libdir}/gstreamer-%{majorminor}/libgstapetag.so
111
# %{_libdir}/gstreamer-%{majorminor}/libgstannodex.so
112
%{_libdir}/gstreamer-%{majorminor}/libgstvideocrop.so
113
%{_libdir}/gstreamer-%{majorminor}/libgsticydemux.so
114
%{_libdir}/gstreamer-%{majorminor}/libgsttaglib.so
115
%{_libdir}/gstreamer-%{majorminor}/libgstximagesrc.so
Christian Schaller's avatar
Christian Schaller committed
116
%{_libdir}/gstreamer-%{majorminor}/libgstaudiofx.so
117 118 119
%{_libdir}/gstreamer-%{majorminor}/libgstequalizer.so
%{_libdir}/gstreamer-%{majorminor}/libgstmultifile.so
%{_libdir}/gstreamer-%{majorminor}/libgstspectrum.so
120
%{_libdir}/gstreamer-%{majorminor}/libgstgoom2k1.so
121
%{_libdir}/gstreamer-%{majorminor}/libgstinterleave.so
122
%{_libdir}/gstreamer-%{majorminor}/libgstreplaygain.so
123
# %{_libdir}/gstreamer-%{majorminor}/libgstdeinterlace.so
124 125
%{_libdir}/gstreamer-%{majorminor}/libgstflv.so
%{_libdir}/gstreamer-%{majorminor}/libgsty4menc.so
126
%{_libdir}/gstreamer-%{majorminor}/libgstoss4audio.so
127
%{_libdir}/gstreamer-%{majorminor}/libgstimagefreeze.so
128 129
%{_libdir}/gstreamer-%{majorminor}/libgstshapewipe.so
%{_libdir}/gstreamer-%{majorminor}/libgstvideofilter.so
130
%{_libdir}/gstreamer-%{majorminor}/libgstaudioparsers.so
131

132 133 134
# sys plugins
@USE_GST_V4L2_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstvideo4linux2.so

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
135
# gstreamer-plugins with external dependencies but in the main package
136
@USE_LIBCACA_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstcacasink.so
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
137
@USE_FLAC_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstflac.so
138
@USE_JACK_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstjack.so
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
139 140 141 142
@USE_JPEG_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstjpeg.so
@USE_LIBPNG_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstpng.so
@USE_OSS_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstossaudio.so
@USE_SPEEX_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstspeex.so
143
@USE_SHOUT2_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstshout2.so
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
144 145 146
@USE_AALIB_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstaasink.so
@USE_LIBDV_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstdv.so
@USE_DV1394_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgst1394.so
Jan Schmidt's avatar
Jan Schmidt committed
147
@USE_WAVPACK_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstwavpack.so
148
@USE_SOUP_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstsouphttpsrc.so
149
@USE_PULSE_TRUE@%{_libdir}/gstreamer-%{majorminor}/libgstpulse.so
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
150 151

%changelog
Jan Schmidt's avatar
Jan Schmidt committed
152 153 154
* Tue Jun 12 2007 Jan Schmidt <jan at fluendo dot com>
- wavpack and qtdemux have moved from bad

155 156
* Fri Sep 02 2005 Thomas Vander Stichele <thomas at apestaart dot org>
- clean up for splitup