1 | %define major 1.0 |
---|
2 | |
---|
3 | %define _gst_ver 1.4.4 |
---|
4 | %define _gstpb_ver 1.4.4 |
---|
5 | %define _glib2_ver 2.38.0 |
---|
6 | %define _gtk3_ver 3.10.0 |
---|
7 | %define _gtk_doc_ver 1.3 |
---|
8 | %define _check_ver 0.9.2 |
---|
9 | %define _python_ver 2.7 |
---|
10 | %define _cairo_ver 1.0.0 |
---|
11 | %define _flac_ver 1.2.0 |
---|
12 | %define _libdv_ver 0.100 |
---|
13 | %define _libpng_ver 1.2.0 |
---|
14 | %define _speex_ver 1.1.5 |
---|
15 | %define _taglib_ver 1.5 |
---|
16 | %define _dbus_ver 1.0 |
---|
17 | %define _soup_ver 2.26.0 |
---|
18 | %define _pulse_ver 0.9.20 |
---|
19 | |
---|
20 | %define po_package gst-plugins-good-%{major} |
---|
21 | |
---|
22 | Name: gstreamer1-plugins-good |
---|
23 | Summary: GStreamer Streaming-media framework good plugins |
---|
24 | Summary(ja): GStreamer ストリーミングメディアフレームワーク用優良プラグイン |
---|
25 | Version: 1.4.4 |
---|
26 | Release: 1%{?_dist_release} |
---|
27 | |
---|
28 | License: LGPL |
---|
29 | Group: System Environment/Libraries |
---|
30 | URL: http://gstreamer.freedesktop.org/ |
---|
31 | Source: http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-%{version}.tar.xz |
---|
32 | |
---|
33 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
34 | BuildRequires: gstreamer1-devel >= %{_gst_ver} |
---|
35 | BuildRequires: gstreamer1-plugins-base-devel >= %{_gstpb_ver} |
---|
36 | BuildRequires: gtk-doc >= %{_gtk_doc_ver} |
---|
37 | BuildRequires: python >= %{_python_ver}, python-pyxml |
---|
38 | BuildRequires: glib2-devel >= %{_glib2_ver} |
---|
39 | BuildRequires: check-devel >= %{_check_ver} |
---|
40 | BuildRequires: gtk3-devel >= %{_gtk3_ver} |
---|
41 | BuildRequires: aalib-devel |
---|
42 | BuildRequires: cairo-devel >= %{_cairo_ver} |
---|
43 | BuildRequires: flac-devel >= %{_flac_ver} |
---|
44 | BuildRequires: libjpeg-devel |
---|
45 | BuildRequires: libdv-devel >= %{_libdv_ver} |
---|
46 | BuildRequires: libpng >= %{_libpng_ver} |
---|
47 | BuildRequires: libavc1394-devel libraw1394-devel libiec61883-devel |
---|
48 | BuildRequires: speex-devel >= %{_speex_ver} |
---|
49 | BuildRequires: zlib-devel |
---|
50 | BuildRequires: taglib-devel >= %{_taglib_ver} |
---|
51 | BuildRequires: dbus-devel >= %{_dbus_ver} |
---|
52 | BuildRequires: libsoup-devel >= %{_soup_ver} |
---|
53 | BuildRequires: pulseaudio-libs-devel >= %{_pulse_ver} |
---|
54 | BuildRequires: orc-devel |
---|
55 | BuildRequires: libgudev1-devel |
---|
56 | BuildRequires: libv4l-devel |
---|
57 | BuildRequires: libvpx-devel |
---|
58 | BuildRequires: libSM-devel |
---|
59 | BuildRequires: libXext-devel |
---|
60 | BuildRequires: libXv-devel |
---|
61 | BuildRequires: bzip2-devel |
---|
62 | BuildRequires: jack-audio-connection-kit-devel |
---|
63 | BuildRequires: libuuid-devel |
---|
64 | |
---|
65 | Requires: gstreamer1 >= %{_gst_ver} |
---|
66 | Requires: gstreamer1-plugins-base >= %{_gstpb_ver} |
---|
67 | #Requires: cairo >= %{_cairo_ver} |
---|
68 | #Requires: libjpeg |
---|
69 | #Requires: libpng >= %{_libpng_ver} |
---|
70 | #Requires: taglib >= %{_taglib_ver} |
---|
71 | #Requires: dbus >= %{_dbus_ver} |
---|
72 | |
---|
73 | Vendor: Project Vine |
---|
74 | Distribution: Vine Linux |
---|
75 | Packager: Takemikaduchi |
---|
76 | |
---|
77 | %description |
---|
78 | GStreamer is a streaming-media framework, based on graphs of filters which |
---|
79 | operate on media data. Applications using this library can do anything |
---|
80 | from real-time sound processing to playing videos, and just about anything |
---|
81 | else media-related. Its plugin-based architecture means that new data |
---|
82 | types or processing capabilities can be added simply by installing new |
---|
83 | plugins. |
---|
84 | |
---|
85 | This package contains a set of well-supported plugins of good quality and |
---|
86 | under the LGPL license. |
---|
87 | |
---|
88 | %package flac |
---|
89 | Summary: GStreamer plugin for de/encoding FLAC files |
---|
90 | Summary(ja): GStreamer FLAC ファイルデコード/エンコードプラグイン |
---|
91 | Group: System Environment/Libraries |
---|
92 | Requires: %{name} = %{version}-%{release} |
---|
93 | Requires: flac >= %{_flac_ver} |
---|
94 | |
---|
95 | %description flac |
---|
96 | GStreamer is a streaming-media framework, based on graphs of filters which |
---|
97 | operate on media data. Applications using this library can do anything |
---|
98 | from real-time sound processing to playing videos, and just about anything |
---|
99 | else media-related. Its plugin-based architecture means that new data |
---|
100 | types or processing capabilities can be added simply by installing new |
---|
101 | plugins. |
---|
102 | |
---|
103 | This package contains GStreamer plugin for de/encoding FLAC files. |
---|
104 | |
---|
105 | %package speex |
---|
106 | Summary: GStreamer plugin for de/encoding Speex files |
---|
107 | Summary(ja): GStreamer Speex ファイルデコード/エンコードプラグイン |
---|
108 | Group: System Environment/Libraries |
---|
109 | Requires: %{name} = %{version}-%{release} |
---|
110 | Requires: speex >= %{_speex_ver} |
---|
111 | |
---|
112 | %description speex |
---|
113 | GStreamer is a streaming-media framework, based on graphs of filters which |
---|
114 | operate on media data. Applications using this library can do anything |
---|
115 | from real-time sound processing to playing videos, and just about anything |
---|
116 | else media-related. Its plugin-based architecture means that new data |
---|
117 | types or processing capabilities can be added simply by installing new |
---|
118 | plugins. |
---|
119 | |
---|
120 | This package contains GStreamer plugin for de/encoding Speex files. |
---|
121 | |
---|
122 | %package dv |
---|
123 | Summary: GStreamer DV plugin |
---|
124 | Summary(ja): GStreamer DV プラグイン |
---|
125 | Group: System Environment/Libraries |
---|
126 | Requires: %{name} = %{version}-%{release} |
---|
127 | Requires: libdv >= %{_libdv_ver} |
---|
128 | |
---|
129 | %description dv |
---|
130 | GStreamer is a streaming-media framework, based on graphs of filters which |
---|
131 | operate on media data. Applications using this library can do anything |
---|
132 | from real-time sound processing to playing videos, and just about anything |
---|
133 | else media-related. Its plugin-based architecture means that new data |
---|
134 | types or processing capabilities can be added simply by installing new |
---|
135 | plugins. |
---|
136 | |
---|
137 | This package contains GStreamer plugin for digital video support using |
---|
138 | libdv. |
---|
139 | |
---|
140 | %package raw1394 |
---|
141 | Summary: GStreamer raw1394 FireWire plugin |
---|
142 | Summary(ja): GStreamer raw1394 FireWire プラグイン |
---|
143 | Group: System Environment/Libraries |
---|
144 | Requires: %{name} = %{version}-%{release} |
---|
145 | Requires: libavc1394, libraw1394, libiec61883 |
---|
146 | |
---|
147 | %description raw1394 |
---|
148 | GStreamer is a streaming-media framework, based on graphs of filters which |
---|
149 | operate on media data. Applications using this library can do anything |
---|
150 | from real-time sound processing to playing videos, and just about anything |
---|
151 | else media-related. Its plugin-based architecture means that new data |
---|
152 | types or processing capabilities can be added simply by installing new |
---|
153 | plugins. |
---|
154 | |
---|
155 | This package contains GStreamer plugin for digital video support using |
---|
156 | raw1394. |
---|
157 | |
---|
158 | %package aa |
---|
159 | Summary: GStreamer plugin for Ascii-art output |
---|
160 | Summary(ja): GStreamer アスキーアート出力プラグイン |
---|
161 | Group: System Environment/Libraries |
---|
162 | Requires: %{name} = %{version}-%{release} |
---|
163 | Requires: aalib |
---|
164 | |
---|
165 | %description aa |
---|
166 | GStreamer is a streaming-media framework, based on graphs of filters which |
---|
167 | operate on media data. Applications using this library can do anything |
---|
168 | from real-time sound processing to playing videos, and just about anything |
---|
169 | else media-related. Its plugin-based architecture means that new data |
---|
170 | types or processing capabilities can be added simply by installing new |
---|
171 | plugins. |
---|
172 | |
---|
173 | This package contains GStreamer plugin for viewing movies in Ascii-art |
---|
174 | using aalib. |
---|
175 | |
---|
176 | %package doc |
---|
177 | Summary: Documentation files for GStreamer good plugins. |
---|
178 | Summary(ja): GStreamer 優良プラグインのドキュメント |
---|
179 | Group: Development/Libraries |
---|
180 | Requires: %{name} = %{version}-%{release} |
---|
181 | BuildArch: noarch |
---|
182 | |
---|
183 | %description doc |
---|
184 | This package contains documentation for GStreamer good plugins. |
---|
185 | files. |
---|
186 | |
---|
187 | %prep |
---|
188 | %setup -q -n gst-plugins-good-%{version} |
---|
189 | sed -i 's/GT_REQ/GTK_REQ/g' configure |
---|
190 | sed -i 's/$with_gtk/3.0/g' configure |
---|
191 | |
---|
192 | %build |
---|
193 | %ifarch alpha |
---|
194 | %define optflags -O2 -mieee -fPIC |
---|
195 | %endif |
---|
196 | |
---|
197 | %configure \ |
---|
198 | -with-package-name='Vine Linux gstreamer-plugins-good package' \ |
---|
199 | --enable-nls \ |
---|
200 | --disable-libcaca \ |
---|
201 | --disable-shout2 \ |
---|
202 | --enable-gtk-doc --disable-debug |
---|
203 | make %{?_smp_mflags} |
---|
204 | |
---|
205 | %install |
---|
206 | [ -n $RPM_BUILD_ROOT -a $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT |
---|
207 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
208 | |
---|
209 | # Clean out files that should not be part of the rpm. |
---|
210 | rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{major}/*.{a,la} |
---|
211 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la} |
---|
212 | |
---|
213 | %find_lang %{po_package} |
---|
214 | |
---|
215 | %clean |
---|
216 | [ -n $RPM_BUILD_ROOT -a $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT |
---|
217 | |
---|
218 | |
---|
219 | %files -f %{po_package}.lang |
---|
220 | %defattr(-,root,root) |
---|
221 | %doc AUTHORS ChangeLog COPYING NEWS README RELEASE REQUIREMENTS |
---|
222 | %dir %{_datadir}/gstreamer-%{major}/presets |
---|
223 | %{_datadir}/gstreamer-%{major}/presets/* |
---|
224 | |
---|
225 | # base plugins without external dependencies |
---|
226 | %{_libdir}/gstreamer-%{major}/libgstalaw.so |
---|
227 | %{_libdir}/gstreamer-%{major}/libgstalpha.so |
---|
228 | %{_libdir}/gstreamer-%{major}/libgstalphacolor.so |
---|
229 | %{_libdir}/gstreamer-%{major}/libgstapetag.so |
---|
230 | %{_libdir}/gstreamer-%{major}/libgstaudiofx.so |
---|
231 | %{_libdir}/gstreamer-%{major}/libgstaudioparsers.so |
---|
232 | %{_libdir}/gstreamer-%{major}/libgstauparse.so |
---|
233 | %{_libdir}/gstreamer-%{major}/libgstautodetect.so |
---|
234 | %{_libdir}/gstreamer-%{major}/libgstavi.so |
---|
235 | %{_libdir}/gstreamer-%{major}/libgstcutter.so |
---|
236 | %{_libdir}/gstreamer-%{major}/libgstdebug.so |
---|
237 | %{_libdir}/gstreamer-%{major}/libgstdeinterlace.so |
---|
238 | %{_libdir}/gstreamer-%{major}/libgstdtmf.so |
---|
239 | %{_libdir}/gstreamer-%{major}/libgsteffectv.so |
---|
240 | %{_libdir}/gstreamer-%{major}/libgstequalizer.so |
---|
241 | %{_libdir}/gstreamer-%{major}/libgstflv.so |
---|
242 | %{_libdir}/gstreamer-%{major}/libgstflxdec.so |
---|
243 | %{_libdir}/gstreamer-%{major}/libgstgoom.so |
---|
244 | %{_libdir}/gstreamer-%{major}/libgstgoom2k1.so |
---|
245 | %{_libdir}/gstreamer-%{major}/libgsticydemux.so |
---|
246 | %{_libdir}/gstreamer-%{major}/libgstid3demux.so |
---|
247 | %{_libdir}/gstreamer-%{major}/libgstimagefreeze.so |
---|
248 | %{_libdir}/gstreamer-%{major}/libgstinterleave.so |
---|
249 | %{_libdir}/gstreamer-%{major}/libgstisomp4.so |
---|
250 | %{_libdir}/gstreamer-%{major}/libgstjack.so |
---|
251 | %{_libdir}/gstreamer-%{major}/libgstlevel.so |
---|
252 | %{_libdir}/gstreamer-%{major}/libgstmatroska.so |
---|
253 | %{_libdir}/gstreamer-%{major}/libgstmulaw.so |
---|
254 | %{_libdir}/gstreamer-%{major}/libgstmultifile.so |
---|
255 | %{_libdir}/gstreamer-%{major}/libgstmultipart.so |
---|
256 | %{_libdir}/gstreamer-%{major}/libgstnavigationtest.so |
---|
257 | %{_libdir}/gstreamer-%{major}/libgstoss4audio.so |
---|
258 | %{_libdir}/gstreamer-%{major}/libgstossaudio.so |
---|
259 | %{_libdir}/gstreamer-%{major}/libgstreplaygain.so |
---|
260 | %{_libdir}/gstreamer-%{major}/libgstrtp.so |
---|
261 | %{_libdir}/gstreamer-%{major}/libgstrtpmanager.so |
---|
262 | %{_libdir}/gstreamer-%{major}/libgstrtsp.so |
---|
263 | %{_libdir}/gstreamer-%{major}/libgstshapewipe.so |
---|
264 | %{_libdir}/gstreamer-%{major}/libgstsmpte.so |
---|
265 | %{_libdir}/gstreamer-%{major}/libgstspectrum.so |
---|
266 | %{_libdir}/gstreamer-%{major}/libgstudp.so |
---|
267 | %{_libdir}/gstreamer-%{major}/libgstvideo4linux2.so |
---|
268 | %{_libdir}/gstreamer-%{major}/libgstvideobox.so |
---|
269 | %{_libdir}/gstreamer-%{major}/libgstvideocrop.so |
---|
270 | %{_libdir}/gstreamer-%{major}/libgstvideofilter.so |
---|
271 | %{_libdir}/gstreamer-%{major}/libgstvideomixer.so |
---|
272 | %{_libdir}/gstreamer-%{major}/libgstvpx.so |
---|
273 | %{_libdir}/gstreamer-%{major}/libgstwavenc.so |
---|
274 | %{_libdir}/gstreamer-%{major}/libgstwavparse.so |
---|
275 | %{_libdir}/gstreamer-%{major}/libgstximagesrc.so |
---|
276 | %{_libdir}/gstreamer-%{major}/libgsty4menc.so |
---|
277 | |
---|
278 | # base plugins with external dependencies, but in the main package |
---|
279 | %{_libdir}/gstreamer-%{major}/libgstcairo.so |
---|
280 | %{_libdir}/gstreamer-%{major}/libgstgdkpixbuf.so |
---|
281 | %{_libdir}/gstreamer-%{major}/libgstjpeg.so |
---|
282 | %{_libdir}/gstreamer-%{major}/libgstpng.so |
---|
283 | %{_libdir}/gstreamer-%{major}/libgstsouphttpsrc.so |
---|
284 | %{_libdir}/gstreamer-%{major}/libgsttaglib.so |
---|
285 | %{_libdir}/gstreamer-%{major}/libgstpulse.so |
---|
286 | |
---|
287 | %files flac |
---|
288 | %defattr(-,root,root) |
---|
289 | %{_libdir}/gstreamer-%{major}/libgstflac.so |
---|
290 | |
---|
291 | %files speex |
---|
292 | %defattr(-,root,root) |
---|
293 | %{_libdir}/gstreamer-%{major}/libgstspeex.so |
---|
294 | |
---|
295 | %files dv |
---|
296 | %defattr(-,root,root) |
---|
297 | %{_libdir}/gstreamer-%{major}/libgstdv.so |
---|
298 | |
---|
299 | %files raw1394 |
---|
300 | %defattr(-,root,root) |
---|
301 | %{_libdir}/gstreamer-%{major}/libgst1394.so |
---|
302 | |
---|
303 | %files aa |
---|
304 | %defattr(-,root,root) |
---|
305 | %{_libdir}/gstreamer-%{major}/libgstaasink.so |
---|
306 | |
---|
307 | %files doc |
---|
308 | %defattr(-,root,root) |
---|
309 | %{_datadir}/gtk-doc/html/gst-plugins-good-plugins-%{major} |
---|
310 | |
---|
311 | %changelog |
---|
312 | * Mon Nov 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.4-1 |
---|
313 | - new upstream release |
---|
314 | |
---|
315 | * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.3-1 |
---|
316 | - new upstream release |
---|
317 | - add BuildRequires: libuuid-devel |
---|
318 | |
---|
319 | * Thu Jul 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.4-2 |
---|
320 | - rebuild with libpng-1.6.12 |
---|
321 | |
---|
322 | * Sat Apr 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.4-1 |
---|
323 | - new upstream release |
---|
324 | |
---|
325 | * Sun Mar 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.3-1 |
---|
326 | - new upstream release |
---|
327 | |
---|
328 | * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.2-1 |
---|
329 | - new upstream release |
---|
330 | |
---|
331 | * Sun Nov 24 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1 |
---|
332 | - new upstream release |
---|
333 | |
---|
334 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1 |
---|
335 | - new upstream release |
---|
336 | |
---|
337 | * Sat Aug 31 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.10-1 |
---|
338 | - new upstream release |
---|
339 | |
---|
340 | * Sun Aug 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.9-1 |
---|
341 | - new upstream release |
---|
342 | |
---|
343 | * Mon Jul 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.8-1 |
---|
344 | - new upstream release |
---|
345 | |
---|
346 | * Sun Apr 28 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.7-1 |
---|
347 | - new upstream release |
---|
348 | |
---|
349 | * Sat Mar 23 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.6-1 |
---|
350 | - new upstream release |
---|
351 | |
---|
352 | * Wed Jan 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.5-1 |
---|
353 | - new upstream release |
---|
354 | |
---|
355 | * Wed Jan 02 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.4-1 |
---|
356 | - new upstream release |
---|
357 | |
---|
358 | * Fri Oct 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.2-1 |
---|
359 | - new upstream release |
---|
360 | |
---|
361 | * Sat Oct 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.1-2 |
---|
362 | - rebuild with libraw1394-2.1.0 |
---|
363 | |
---|
364 | * Mon Oct 08 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.1-1 |
---|
365 | - new upstream release |
---|
366 | - add BuildRequires: libvpx-devel |
---|
367 | |
---|
368 | * Fri Sep 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.0-1 |
---|
369 | - initial build |
---|
370 | |
---|