1 |
%define api 1.0 |
2 |
%define major 0 |
3 |
|
4 |
%define bname gstreamer%{api} |
5 |
%define libname %mklibname gstreamer-plugins-base %{api} %{major} |
6 |
%define girname %mklibname gstreamer-plugins-base-gir %{api} |
7 |
%define develname %mklibname -d gstreamer-plugins-base %{api} |
8 |
|
9 |
Summary: GStreamer Streaming-media framework plug-ins |
10 |
Name: %{bname}-plugins-base |
11 |
Version: 0.11.94 |
12 |
Release: %mkrel 2 |
13 |
License: LGPLv2+ |
14 |
Group: Sound |
15 |
Source: http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-%{version}.tar.xz |
16 |
Patch0: align.patch |
17 |
URL: http://gstreamer.freedesktop.org/ |
18 |
BuildRequires: glib2-devel >= 2.32 |
19 |
BuildRequires: libpng-devel >= 1.2.4-4 |
20 |
BuildRequires: liborc-devel >= 0.4.5 |
21 |
BuildRequires: libvorbis-devel >= 1.0-4 |
22 |
BuildRequires: libtheora-devel |
23 |
BuildRequires: libxml2-devel |
24 |
BuildRequires: pkgconfig(pango) |
25 |
BuildRequires: pkgconfig(pangocairo) |
26 |
BuildRequires: freetype2-devel |
27 |
BuildRequires: gstreamer%{api}-devel >= %{version} |
28 |
BuildRequires: gtk-doc |
29 |
BuildRequires: libmesaglu-devel |
30 |
BuildRequires: libxv-devel |
31 |
BuildRequires: libalsa-devel |
32 |
BuildRequires: gobject-introspection-devel |
33 |
#gw we need some fonts for the tests |
34 |
BuildRequires: fonts-ttf-dejavu |
35 |
BuildRequires: libcheck-devel |
36 |
Provides: %{bname}-plugins |
37 |
|
38 |
%ifarch %ix86 |
39 |
BuildRequires: nasm => 0.90 |
40 |
%endif |
41 |
|
42 |
%ifnarch %arm %mips |
43 |
BuildRequires: valgrind-devel |
44 |
%endif |
45 |
|
46 |
%description |
47 |
GStreamer is a streaming-media framework, based on graphs of filters which |
48 |
operate on media data. Applications using this library can do anything |
49 |
from real-time sound processing to playing videos, and just about anything |
50 |
else media-related. Its plugin-based architecture means that new data |
51 |
types or processing capabilities can be added simply by installing new |
52 |
plug-ins. |
53 |
|
54 |
This package contains a set of reference plugins, base classes for other |
55 |
plugins, and helper libraries: |
56 |
* device plugins: x(v)imagesink, alsa, v4lsrc, cdparanoia |
57 |
* containers: ogg |
58 |
* codecs: vorbis, theora |
59 |
* text: textoverlay, subparse |
60 |
* sources: audiotestsrc, videotestsrc, gnomevfssrc |
61 |
* network: tcp |
62 |
* typefind |
63 |
* audio processing: audioconvert, adder, audiorate, audioscale, volume |
64 |
* visualisation: libvisual |
65 |
* video processing: ffmpegcolorspace |
66 |
* aggregate elements: decodebin, playbin |
67 |
|
68 |
%prep |
69 |
%setup -q -n gst-plugins-base-%{version} |
70 |
%apply_patches |
71 |
|
72 |
%build |
73 |
%configure2_5x --disable-dependency-tracking --disable-static \ |
74 |
--enable-experimental \ |
75 |
--with-package-name='%{_vendor} %{name} package' \ |
76 |
--with-package-origin='http://bugs.%{_real_vendor}.org/' \ |
77 |
--enable-libvisual |
78 |
%make |
79 |
|
80 |
|
81 |
%install |
82 |
%makeinstall_std |
83 |
%find_lang gst-plugins-base-%{api} |
84 |
|
85 |
# Clean out files that should not be part of the rpm. |
86 |
# This is the recommended way of dealing with it for RH8 |
87 |
find %{buildroot} -name '*.la' -delete |
88 |
|
89 |
%files -f gst-plugins-base-%{api}.lang |
90 |
%doc AUTHORS COPYING README NEWS |
91 |
%{_bindir}/gst-discoverer-%{api} |
92 |
%{_mandir}/man1/gst-discoverer-%{api}.1.* |
93 |
# non-core plugins without external dependencies |
94 |
%{_libdir}/gstreamer-%{api}/libgstapp.so |
95 |
%{_libdir}/gstreamer-%{api}/libgstaudioconvert.so |
96 |
%{_libdir}/gstreamer-%{api}/libgstaudiorate.so |
97 |
%{_libdir}/gstreamer-%{api}/libgstaudioresample.so |
98 |
%{_libdir}/gstreamer-%{api}/libgstaudiotestsrc.so |
99 |
%{_libdir}/gstreamer-%{api}/libgstencodebin.so |
100 |
%{_libdir}/gstreamer-%{api}/libgstgio.so |
101 |
%{_libdir}/gstreamer-%{api}/libgstpango.so |
102 |
%{_libdir}/gstreamer-%{api}/libgstsubparse.so |
103 |
%{_libdir}/gstreamer-%{api}/libgsttcp.so |
104 |
%{_libdir}/gstreamer-%{api}/libgstvolume.so |
105 |
%{_libdir}/gstreamer-%{api}/libgstadder.so |
106 |
%{_libdir}/gstreamer-%{api}/libgsttypefindfunctions.so |
107 |
%{_libdir}/gstreamer-%{api}/libgstvideotestsrc.so |
108 |
%{_libdir}/gstreamer-%{api}/libgsttheora.so |
109 |
%{_libdir}/gstreamer-%{api}/libgstogg.so |
110 |
%{_libdir}/gstreamer-%{api}/libgstvideorate.so |
111 |
%{_libdir}/gstreamer-%{api}/libgstvideoscale.so |
112 |
%{_libdir}/gstreamer-%{api}/libgstvorbis.so |
113 |
%{_libdir}/gstreamer-%{api}/libgstximagesink.so |
114 |
%{_libdir}/gstreamer-%{api}/libgstxvimagesink.so |
115 |
%{_libdir}/gstreamer-%{api}/libgstalsa.so |
116 |
%{_libdir}/gstreamer-%{api}/libgstplayback.so |
117 |
%{_libdir}/gstreamer-%{api}/libgstvideoconvert.so |
118 |
|
119 |
%package -n %{libname} |
120 |
Group: System/Libraries |
121 |
Summary: GStreamer plugin libraries |
122 |
|
123 |
%description -n %libname |
124 |
This package contain the basic audio and video playback library and |
125 |
the interfaces library. |
126 |
|
127 |
%files -n %{libname} |
128 |
%{_libdir}/libgstaudio-%{api}.so.0* |
129 |
%{_libdir}/libgstapp-%{api}.so.0* |
130 |
%{_libdir}/libgstfft-%{api}.so.0* |
131 |
%{_libdir}/libgstpbutils-%{api}.so.0* |
132 |
%{_libdir}/libgstriff-%{api}.so.0* |
133 |
%{_libdir}/libgstrtp-%{api}.so.0* |
134 |
%{_libdir}/libgstrtsp-%{api}.so.0* |
135 |
%{_libdir}/libgsttag-%{api}.so.0* |
136 |
%{_libdir}/libgstsdp-%{api}.so.0* |
137 |
%{_libdir}/libgstvideo-%{api}.so.0* |
138 |
|
139 |
%package -n %{girname} |
140 |
Group: System/Libraries |
141 |
Summary: Object Introspection interface description for %{name} |
142 |
Requires: %{libname} = %{version} |
143 |
|
144 |
%description -n %{girname} |
145 |
GObject Introspection interface description for %{name}. |
146 |
|
147 |
%files -n %{girname} |
148 |
%{_libdir}/girepository-1.0/GstApp-%{api}.typelib |
149 |
%{_libdir}/girepository-1.0/GstAudio-%{api}.typelib |
150 |
%{_libdir}/girepository-1.0/GstFft-%{api}.typelib |
151 |
%{_libdir}/girepository-1.0/GstPbutils-%{api}.typelib |
152 |
%{_libdir}/girepository-1.0/GstRiff-%{api}.typelib |
153 |
%{_libdir}/girepository-1.0/GstRtp-%{api}.typelib |
154 |
%{_libdir}/girepository-1.0/GstRtsp-%{api}.typelib |
155 |
%{_libdir}/girepository-1.0/GstSdp-%{api}.typelib |
156 |
%{_libdir}/girepository-1.0/GstTag-%{api}.typelib |
157 |
%{_libdir}/girepository-1.0/GstVideo-%{api}.typelib |
158 |
|
159 |
%package -n %{develname} |
160 |
Summary: GStreamer Plugin Library Headers |
161 |
Group: Development/C |
162 |
Requires: %{libname} = %{version}-%{release} |
163 |
Requires: %{name} = %{version}-%{release} |
164 |
Provides: libgstreamer%{api}-plugins-base-devel = %{version}-%{release} |
165 |
Provides: %{name}-devel = %{version}-%{release} |
166 |
|
167 |
%description -n %{develname} |
168 |
GStreamer support libraries header files. |
169 |
|
170 |
%files -n %{develname} |
171 |
%doc docs/libs/html docs/plugins/html |
172 |
%{_includedir}/gstreamer-%{api}/gst/app/ |
173 |
%{_includedir}/gstreamer-%{api}/gst/audio |
174 |
%{_includedir}/gstreamer-%{api}/gst/fft |
175 |
%{_includedir}/gstreamer-%{api}/gst/pbutils |
176 |
%{_includedir}/gstreamer-%{api}/gst/riff |
177 |
%{_includedir}/gstreamer-%{api}/gst/rtsp |
178 |
%{_includedir}/gstreamer-%{api}/gst/sdp |
179 |
%{_includedir}/gstreamer-%{api}/gst/tag/ |
180 |
%{_includedir}/gstreamer-%{api}/gst/video/ |
181 |
%{_includedir}/gstreamer-%{api}/gst/rtp |
182 |
%{_libdir}/pkgconfig/gstreamer-app-%{api}.pc |
183 |
%{_libdir}/pkgconfig/gstreamer-audio-%{api}.pc |
184 |
%{_libdir}/pkgconfig/gstreamer-fft-%{api}.pc |
185 |
%{_libdir}/pkgconfig/gstreamer-pbutils-%{api}.pc |
186 |
%{_libdir}/pkgconfig/gstreamer-plugins-base-%{api}.pc |
187 |
%{_libdir}/pkgconfig/gstreamer-riff-%{api}.pc |
188 |
%{_libdir}/pkgconfig/gstreamer-rtp-%{api}.pc |
189 |
%{_libdir}/pkgconfig/gstreamer-rtsp-%{api}.pc |
190 |
%{_libdir}/pkgconfig/gstreamer-sdp-%{api}.pc |
191 |
%{_libdir}/pkgconfig/gstreamer-tag-%{api}.pc |
192 |
%{_libdir}/pkgconfig/gstreamer-video-%{api}.pc |
193 |
%{_libdir}/libgstaudio-%{api}.so |
194 |
%{_libdir}/libgstapp-%{api}.so |
195 |
%{_libdir}/libgstfft-%{api}.so |
196 |
%{_libdir}/libgstpbutils-%{api}.so |
197 |
%{_libdir}/libgstriff-%{api}.so |
198 |
%{_libdir}/libgstrtp-%{api}.so |
199 |
%{_libdir}/libgstrtsp-%{api}.so |
200 |
%{_libdir}/libgsttag-%{api}.so |
201 |
%{_libdir}/libgstsdp-%{api}.so |
202 |
%{_libdir}/libgstvideo-%{api}.so |
203 |
%{_datadir}/gtk-doc/html/* |
204 |
%{_datadir}/gir-1.0/GstApp-%{api}.gir |
205 |
%{_datadir}/gir-1.0/GstAudio-%{api}.gir |
206 |
%{_datadir}/gir-1.0/GstFft-%{api}.gir |
207 |
%{_datadir}/gir-1.0/GstPbutils-%{api}.gir |
208 |
%{_datadir}/gir-1.0/GstRiff-%{api}.gir |
209 |
%{_datadir}/gir-1.0/GstRtp-%{api}.gir |
210 |
%{_datadir}/gir-1.0/GstRtsp-%{api}.gir |
211 |
%{_datadir}/gir-1.0/GstSdp-%{api}.gir |
212 |
%{_datadir}/gir-1.0/GstTag-%{api}.gir |
213 |
%{_datadir}/gir-1.0/GstVideo-%{api}.gir |
214 |
%{_datadir}/gst-plugins-base/%{api}/license-translations.dict |
215 |
### |
216 |
|
217 |
### CDPARANOIA ### |
218 |
%package -n %{bname}-cdparanoia |
219 |
Summary: Gstreamer plugin for CD audio input using CDParanoia IV |
220 |
Group: Sound |
221 |
Requires: %{name} = %{version}-%{release} |
222 |
BuildRequires: libcdda-devel |
223 |
|
224 |
%description -n %{bname}-cdparanoia |
225 |
Plugin for ripping audio tracks using cdparanoia under GStreamer |
226 |
|
227 |
%files -n %{bname}-cdparanoia |
228 |
%{_libdir}/gstreamer-%{api}/libgstcdparanoia.so |
229 |
|
230 |
%package -n %{bname}-libvisual |
231 |
Summary: GStreamer visualisations plug-in based on libvisual |
232 |
Group: Video |
233 |
Requires: %{name} = %{version}-%{release} |
234 |
BuildRequires: libvisual-devel >= 0.4 |
235 |
|
236 |
%description -n %{bname}-libvisual |
237 |
This plugin makes visualisations based on libvisual available for |
238 |
GStreamer applications. |
239 |
|
240 |
%files -n %{bname}-libvisual |
241 |
%{_libdir}/gstreamer-%{api}/libgstlibvisual.so |