1 |
fwang |
287958 |
%define api 1.0 |
2 |
|
|
%define major 0 |
3 |
dmorgan |
272722 |
|
4 |
fwang |
287958 |
%define bname gstreamer%{api} |
5 |
fwang |
287969 |
%define libname %mklibname gstreamer-plugins-base %{api} %{major} |
6 |
fwang |
287960 |
%define girname %mklibname gstreamer-plugins-base-gir %{api} |
7 |
fwang |
287958 |
%define develname %mklibname -d gstreamer-plugins-base %{api} |
8 |
dmorgan |
272722 |
|
9 |
|
|
Summary: GStreamer Streaming-media framework plug-ins |
10 |
|
|
Name: %{bname}-plugins-base |
11 |
fwang |
297081 |
Version: 1.0.0 |
12 |
ovitters |
295509 |
Release: %mkrel 1 |
13 |
dmorgan |
272722 |
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 |
fwang |
287958 |
BuildRequires: glib2-devel >= 2.32 |
19 |
dmorgan |
272722 |
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 |
fwang |
287960 |
BuildRequires: libxml2-devel |
24 |
|
|
BuildRequires: pkgconfig(pango) |
25 |
|
|
BuildRequires: pkgconfig(pangocairo) |
26 |
|
|
BuildRequires: freetype2-devel |
27 |
fwang |
287959 |
BuildRequires: gstreamer%{api}-devel >= %{version} |
28 |
dmorgan |
272722 |
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 |
fwang |
288325 |
Provides: %{bname}-plugins |
37 |
dmorgan |
272722 |
|
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 |
fwang |
287958 |
%configure2_5x --disable-dependency-tracking --disable-static \ |
74 |
dmorgan |
272722 |
--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 |
fwang |
287958 |
%makeinstall_std |
83 |
fwang |
287966 |
%find_lang gst-plugins-base-%{api} |
84 |
dmorgan |
272722 |
|
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 |
fwang |
287958 |
find %{buildroot} -name '*.la' -delete |
88 |
dmorgan |
272722 |
|
89 |
fwang |
287966 |
%files -f gst-plugins-base-%{api}.lang |
90 |
dmorgan |
272722 |
%doc AUTHORS COPYING README NEWS |
91 |
fwang |
287966 |
%{_bindir}/gst-discoverer-%{api} |
92 |
fwang |
293797 |
%{_mandir}/man1/gst-discoverer-%{api}.1.* |
93 |
dmorgan |
272722 |
# non-core plugins without external dependencies |
94 |
fwang |
287966 |
%{_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 |
dmorgan |
272722 |
|
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 |
fwang |
287966 |
%{_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 |
dmorgan |
272722 |
|
139 |
fwang |
287960 |
%package -n %{girname} |
140 |
|
|
Group: System/Libraries |
141 |
|
|
Summary: Object Introspection interface description for %{name} |
142 |
fwang |
287967 |
Requires: %{libname} = %{version} |
143 |
fwang |
287960 |
|
144 |
|
|
%description -n %{girname} |
145 |
|
|
GObject Introspection interface description for %{name}. |
146 |
|
|
|
147 |
|
|
%files -n %{girname} |
148 |
fwang |
287966 |
%{_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 |
fwang |
287960 |
|
159 |
fwang |
287958 |
%package -n %{develname} |
160 |
dmorgan |
272722 |
Summary: GStreamer Plugin Library Headers |
161 |
|
|
Group: Development/C |
162 |
|
|
Requires: %{libname} = %{version}-%{release} |
163 |
|
|
Requires: %{name} = %{version}-%{release} |
164 |
fwang |
287958 |
Provides: libgstreamer%{api}-plugins-base-devel = %{version}-%{release} |
165 |
fwang |
287959 |
Provides: %{name}-devel = %{version}-%{release} |
166 |
dmorgan |
272722 |
|
167 |
fwang |
287958 |
%description -n %{develname} |
168 |
dmorgan |
272722 |
GStreamer support libraries header files. |
169 |
|
|
|
170 |
fwang |
287958 |
%files -n %{develname} |
171 |
dmorgan |
272722 |
%doc docs/libs/html docs/plugins/html |
172 |
fwang |
287966 |
%{_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 |
dmorgan |
272722 |
%{_datadir}/gtk-doc/html/* |
204 |
fwang |
287966 |
%{_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 |
dmorgan |
272722 |
### |
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 |
fwang |
287966 |
%{_libdir}/gstreamer-%{api}/libgstcdparanoia.so |
229 |
dmorgan |
272722 |
|
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 |
fwang |
287966 |
%{_libdir}/gstreamer-%{api}/libgstlibvisual.so |