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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 297082 - (hide annotations) (download)
Mon Sep 24 14:32:02 2012 UTC (9 years ago) by fwang
File size: 7041 byte(s)
new version 1.0.0
1 fwang 297082 %define version 1.0.0
2 fwang 294196 %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}/libgstmad.so
112     %{_libdir}/gstreamer-%{majorminor}/libgstrmdemux.so
113     %if %build_experimental
114     %{_libdir}/gstreamer-%{majorminor}/libgstsynaesthesia.so
115     %endif
116 fwang 294199 %{_libdir}/gstreamer-%{majorminor}/libgstxingmux.so
117 fwang 294196
118     %if %build_lame
119     ### LAME ###
120     %package -n %{bname}-lame
121     Summary: GStreamer plug-in for encoding mp3 songs using lame
122     Group: Sound
123     Requires: %{bname}-plugins >= %{version}-%{release}
124     BuildRequires: liblame-devel >= 3.89
125    
126     %description -n %{bname}-lame
127     Plug-in for encoding mp3 with lame under GStreamer.
128    
129     This package is in the 'tainted' section as it violates some patents.
130    
131     %files -n %{bname}-lame
132     %defattr(-, root, root)
133     %{_libdir}/gstreamer-%{majorminor}/libgstlame.so
134     %endif
135    
136     %if %build_x264
137     %package -n %{bname}-x264
138     Summary: GStreamer plug-in for H264/AVC video encoding
139     Group: Video
140     BuildRequires: libx264-devel
141    
142     %description -n %{bname}-x264
143     Plug-in for encoding H264/AVC video.
144    
145     This package is in the 'tainted' section as it violates some patents.
146     %files -n %{bname}-x264
147     %defattr(-, root, root)
148     %{_libdir}/gstreamer-%{majorminor}/libgstx264.so
149     %{_datadir}/gstreamer-%{majorminor}/presets/GstX264Enc.prs
150     %endif
151    
152     %if %build_amrnb
153     %package -n %{bname}-amrnb
154     Summary: GStreamer plug-in for AMR-NB support
155     Group: Sound
156     Requires: %{bname}-plugins >= %{version}-%{release}
157     BuildRequires: opencore-amr-devel
158    
159     %description -n %{bname}-amrnb
160     Plug-in for decoding AMR-NB under GStreamer.
161    
162     This package is in the 'tainted' section as it violates some patents.
163    
164     %files -n %{bname}-amrnb
165     %defattr(-, root, root)
166     %{_libdir}/gstreamer-%{majorminor}/libgstamrnb.so
167     %{_datadir}/gstreamer-%{majorminor}/presets/GstAmrnbEnc.prs
168     %endif
169    
170     %if %build_amrwbdec
171     %package -n %{bname}-amrwbdec
172     Summary: GStreamer plug-in for AMR-WB decoding support
173     Group: Sound
174     Requires: %{bname}-plugins >= %{version}-%{release}
175     BuildRequires: opencore-amr-devel
176    
177     %description -n %{bname}-amrwbdec
178     Plug-in for decoding AMR-Wb under GStreamer.
179    
180     This package is in the 'tainted' section as it violates some patents.
181    
182     %files -n %{bname}-amrwbdec
183     %defattr(-, root, root)
184     %{_libdir}/gstreamer-%{majorminor}/libgstamrwbdec.so
185     %endif
186    
187     ### SIDPLAY ###
188     %package -n %{bname}-sid
189     Summary: GStreamer Sid C64 music plugin
190     Group: Sound
191     Requires: %{bname}-plugins >= %{version}-%{release}
192     BuildRequires: sidplay-devel => 1.36.0
193    
194     %description -n %{bname}-sid
195     Plugin for playback of C64 SID format music files
196    
197     %files -n %{bname}-sid
198     %defattr(-, root, root)
199     %{_libdir}/gstreamer-%{majorminor}/libgstsid.so
200    
201     ### A52DEC ###
202     %package -n %{bname}-a52dec
203     Summary: GStreamer VOB decoder plugin
204     Group: Sound
205     Requires: %{bname}-plugins >= %{version}-%{release}
206     BuildRequires: a52dec-devel >= 0.7.3
207    
208     %description -n %{bname}-a52dec
209     Plugin for decoding of VOB files.
210    
211     %files -n %{bname}-a52dec
212     %defattr(-, root, root)
213     %{_libdir}/gstreamer-%{majorminor}/libgsta52dec.so
214    
215     %package -n %{bname}-mpeg
216     Summary: GStreamer plug-ins for MPEG video playback and encoding
217     Group: Video
218     Requires: %{bname}-plugins >= %{version}-%{release}
219     BuildRequires: libmpeg2dec-devel => 0.3.1
220    
221     %description -n %{bname}-mpeg
222     Plug-ins for playing and encoding MPEG video.
223    
224     %files -n %{bname}-mpeg
225     %defattr(-, root, root)
226     %{_libdir}/gstreamer-%{majorminor}/libgstmpeg2dec.so
227    
228     %package -n %{bname}-cdio
229     Summary: GStreamer plug-in for audio CD playback
230     Group: Sound
231     Requires: %{bname}-plugins >= %{version}-%{release}
232     BuildRequires: libcdio-devel
233     Conflicts: %{bname}-plugins-good < 0.10.10
234    
235     %description -n %{bname}-cdio
236     Plug-in for audio CD playback.
237    
238     %files -n %{bname}-cdio
239     %defattr(-, root, root)
240     %{_libdir}/gstreamer-%{majorminor}/libgstcdio.so
241    
242     %package -n %{bname}-twolame
243     Summary: GStreamer plug-in for MP2 encoding support
244     Group: Sound
245     Requires: %{bname}-plugins >= %{version}-%{release}
246     BuildRequires: libtwolame-devel
247    
248     %description -n %{bname}-twolame
249     Plug-in for encoding MP2 under GStreamer.
250    
251     %files -n %{bname}-twolame
252     %defattr(-, root, root)
253     %{_libdir}/gstreamer-%{majorminor}/libgsttwolame.so

  ViewVC Help
Powered by ViewVC 1.1.28