/[packages]/cauldron/gstreamer1.0-plugins-ugly/current/SPECS/gstreamer1.0-plugins-ugly.spec
ViewVC logotype

Contents of /cauldron/gstreamer1.0-plugins-ugly/current/SPECS/gstreamer1.0-plugins-ugly.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 294196 - (show annotations) (download)
Sat Sep 15 16:07:18 2012 UTC (11 years, 6 months ago) by fwang
File size: 7156 byte(s)
imported package gstreamer1.0-plugins-ugly
1 %define version 0.11.94
2 %define release 1
3
4 %define _glib2 2.2
5 %define major 1.0
6 %define majorminor 1.0
7 %define bname gstreamer1.0
8 %define name %{bname}-plugins-ugly
9
10 %define build_plf 0
11
12 %if "%{?distro_section}" == "tainted"
13 %define build_plf 1
14 %endif
15
16 %define build_experimental 0
17 %{?_with_experimental: %{expand: %%global build_experimental 1}}
18 %define build_lame 0
19 %define build_amrnb 0
20 %define build_amrwbdec 0
21 %define build_x264 0
22
23 %if %build_plf
24 %define build_lame 1
25 %define build_x264 1
26 %define build_amrnb 1
27 %define build_amrwbdec 1
28 %endif
29
30 Summary: GStreamer Streaming-media framework plug-ins
31 Name: %{name}
32 Version: %{version}
33 Release: %mkrel %{release}
34 License: LGPLv2+
35 Group: Sound
36 Source: http://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-%{version}.tar.xz
37 Patch0: gstreamer-plugins-ugly-0.10.17-amr-linking.patch
38 URL: http://gstreamer.freedesktop.org/
39 #gw for the pixbuf plugin
40 BuildRequires: gtk+2-devel
41 BuildRequires: glib2-devel >= %_glib2
42 BuildRequires: liborc-devel >= 0.4.5
43 BuildRequires: gstreamer1.0-plugins-base-devel >= %{version}
44 BuildRequires: libmesaglu-devel
45 BuildRequires: libmad-devel
46 BuildRequires: libid3tag-devel
47 BuildRequires: libdvdread-devel
48
49 %ifnarch %mips %arm
50 BuildRequires: valgrind-devel
51 %endif
52
53 BuildRequires: libcheck-devel
54 Provides: %{bname}-audiosrc
55 Provides: %{bname}-audiosink
56
57 %description
58 GStreamer is a streaming-media framework, based on graphs of filters which
59 operate on media data. Applications using this library can do anything
60 from real-time sound processing to playing videos, and just about anything
61 else media-related. Its plugin-based architecture means that new data
62 types or processing capabilities can be added simply by installing new
63 plug-ins.
64
65 This package contains a set of plug-ins that have good quality and
66 correct functionality, but distributing them might pose problems. The
67 license on either the plug-ins or the supporting libraries might not
68 be how the GStreamer authors like. The code might be widely known to
69 present patent problems.
70
71 %if %build_plf
72 This package is in the 'tainted' section as it violates some patents.
73 %endif
74
75 %prep
76 %setup -q -n gst-plugins-ugly-%{version}
77
78 %build
79 %configure2_5x --disable-dependency-tracking --disable-static \
80 --with-package-name='%{distribution} %name package' \
81 --with-package-origin='http://www.mageia.org/' \
82 %if ! %build_lame
83 --disable-lame \
84 %endif
85 %if %build_experimental
86 --enable-experimental
87 %endif
88
89 %make
90
91 %check
92 cd tests/check
93 make check
94
95 %install
96 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 %makeinstall_std
97
98 %find_lang gst-plugins-ugly-%{majorminor}
99
100 # Clean out files that should not be part of the rpm.
101 # This is the recommended way of dealing with it for RH8
102 find %{buildroot} -name '*.la' -delete
103
104 %files -f gst-plugins-ugly-%{majorminor}.lang
105 %defattr(-, root, root)
106 %doc AUTHORS COPYING README NEWS
107 %{_libdir}/gstreamer-%{majorminor}/libgstasf.so
108 %{_libdir}/gstreamer-%{majorminor}/libgstdvdlpcmdec.so
109 %{_libdir}/gstreamer-%{majorminor}/libgstdvdread.so
110 %{_libdir}/gstreamer-%{majorminor}/libgstdvdsub.so
111 %{_libdir}/gstreamer-%{majorminor}/libgstiec958.so
112 %{_libdir}/gstreamer-%{majorminor}/libgstmad.so
113 %{_libdir}/gstreamer-%{majorminor}/libgstmpegaudioparse.so
114 %{_libdir}/gstreamer-%{majorminor}/libgstmpegstream.so
115 %{_libdir}/gstreamer-%{majorminor}/libgstrmdemux.so
116 %if %build_experimental
117 %{_libdir}/gstreamer-%{majorminor}/libgstsynaesthesia.so
118 %endif
119
120 %if %build_lame
121 ### LAME ###
122 %package -n %{bname}-lame
123 Summary: GStreamer plug-in for encoding mp3 songs using lame
124 Group: Sound
125 Requires: %{bname}-plugins >= %{version}-%{release}
126 BuildRequires: liblame-devel >= 3.89
127
128 %description -n %{bname}-lame
129 Plug-in for encoding mp3 with lame under GStreamer.
130
131 This package is in the 'tainted' section as it violates some patents.
132
133 %files -n %{bname}-lame
134 %defattr(-, root, root)
135 %{_libdir}/gstreamer-%{majorminor}/libgstlame.so
136 %endif
137
138 %if %build_x264
139 %package -n %{bname}-x264
140 Summary: GStreamer plug-in for H264/AVC video encoding
141 Group: Video
142 BuildRequires: libx264-devel
143
144 %description -n %{bname}-x264
145 Plug-in for encoding H264/AVC video.
146
147 This package is in the 'tainted' section as it violates some patents.
148 %files -n %{bname}-x264
149 %defattr(-, root, root)
150 %{_libdir}/gstreamer-%{majorminor}/libgstx264.so
151 %{_datadir}/gstreamer-%{majorminor}/presets/GstX264Enc.prs
152 %endif
153
154 %if %build_amrnb
155 %package -n %{bname}-amrnb
156 Summary: GStreamer plug-in for AMR-NB support
157 Group: Sound
158 Requires: %{bname}-plugins >= %{version}-%{release}
159 BuildRequires: opencore-amr-devel
160
161 %description -n %{bname}-amrnb
162 Plug-in for decoding AMR-NB under GStreamer.
163
164 This package is in the 'tainted' section as it violates some patents.
165
166 %files -n %{bname}-amrnb
167 %defattr(-, root, root)
168 %{_libdir}/gstreamer-%{majorminor}/libgstamrnb.so
169 %{_datadir}/gstreamer-%{majorminor}/presets/GstAmrnbEnc.prs
170 %endif
171
172 %if %build_amrwbdec
173 %package -n %{bname}-amrwbdec
174 Summary: GStreamer plug-in for AMR-WB decoding support
175 Group: Sound
176 Requires: %{bname}-plugins >= %{version}-%{release}
177 BuildRequires: opencore-amr-devel
178
179 %description -n %{bname}-amrwbdec
180 Plug-in for decoding AMR-Wb under GStreamer.
181
182 This package is in the 'tainted' section as it violates some patents.
183
184 %files -n %{bname}-amrwbdec
185 %defattr(-, root, root)
186 %{_libdir}/gstreamer-%{majorminor}/libgstamrwbdec.so
187 %endif
188
189 ### SIDPLAY ###
190 %package -n %{bname}-sid
191 Summary: GStreamer Sid C64 music plugin
192 Group: Sound
193 Requires: %{bname}-plugins >= %{version}-%{release}
194 BuildRequires: sidplay-devel => 1.36.0
195
196 %description -n %{bname}-sid
197 Plugin for playback of C64 SID format music files
198
199 %files -n %{bname}-sid
200 %defattr(-, root, root)
201 %{_libdir}/gstreamer-%{majorminor}/libgstsid.so
202
203 ### A52DEC ###
204 %package -n %{bname}-a52dec
205 Summary: GStreamer VOB decoder plugin
206 Group: Sound
207 Requires: %{bname}-plugins >= %{version}-%{release}
208 BuildRequires: a52dec-devel >= 0.7.3
209
210 %description -n %{bname}-a52dec
211 Plugin for decoding of VOB files.
212
213 %files -n %{bname}-a52dec
214 %defattr(-, root, root)
215 %{_libdir}/gstreamer-%{majorminor}/libgsta52dec.so
216
217 %package -n %{bname}-mpeg
218 Summary: GStreamer plug-ins for MPEG video playback and encoding
219 Group: Video
220 Requires: %{bname}-plugins >= %{version}-%{release}
221 BuildRequires: libmpeg2dec-devel => 0.3.1
222
223 %description -n %{bname}-mpeg
224 Plug-ins for playing and encoding MPEG video.
225
226 %files -n %{bname}-mpeg
227 %defattr(-, root, root)
228 %{_libdir}/gstreamer-%{majorminor}/libgstmpeg2dec.so
229
230 %package -n %{bname}-cdio
231 Summary: GStreamer plug-in for audio CD playback
232 Group: Sound
233 Requires: %{bname}-plugins >= %{version}-%{release}
234 BuildRequires: libcdio-devel
235 Conflicts: %{bname}-plugins-good < 0.10.10
236
237 %description -n %{bname}-cdio
238 Plug-in for audio CD playback.
239
240 %files -n %{bname}-cdio
241 %defattr(-, root, root)
242 %{_libdir}/gstreamer-%{majorminor}/libgstcdio.so
243
244 %package -n %{bname}-twolame
245 Summary: GStreamer plug-in for MP2 encoding support
246 Group: Sound
247 Requires: %{bname}-plugins >= %{version}-%{release}
248 BuildRequires: libtwolame-devel
249
250 %description -n %{bname}-twolame
251 Plug-in for encoding MP2 under GStreamer.
252
253 %files -n %{bname}-twolame
254 %defattr(-, root, root)
255 %{_libdir}/gstreamer-%{majorminor}/libgsttwolame.so

  ViewVC Help
Powered by ViewVC 1.1.30