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

  ViewVC Help
Powered by ViewVC 1.1.30