packaging: Initial packaging on 1.2.0 for Tizen
[platform/upstream/gst-plugins-bad.git] / packaging / gst-plugins-bad.spec
1 Name:           gst-plugins-bad
2 Version:        1.2.0
3 Release:        0
4 %define gst_branch 1.0
5 Summary:        GStreamer Streaming-Media Framework Plug-Ins
6 License:        GPL-2.0+ and LGPL-2.1+
7 Group:          Multimedia/Audio
8 Url:            http://gstreamer.freedesktop.org/
9 Source:         http://gstreamer.freedesktop.org/src/gst-plugins-bad/%{name}-%{version}.tar.xz
10 Source100:      common.tar.bz2
11 Source1001:     gst-plugins-bad.manifest
12 BuildRequires:  gettext-tools
13 BuildRequires:  SDL-devel
14 BuildRequires:  autoconf
15 BuildRequires:  gcc-c++
16 BuildRequires:  glib2-devel >= 2.31.14
17 BuildRequires:  gstreamer-devel >= 1.0.0
18 BuildRequires:  gst-plugins-base-devel >= 1.0.0
19 BuildRequires:  pkgconfig(orc-0.4) >= 0.4.11
20 BuildRequires:  python
21 BuildRequires:  xsltproc
22 BuildRequires:  pkgconfig(cairo)
23 BuildRequires:  pkgconfig(gio-2.0) >= 2.25.0
24 BuildRequires:  pkgconfig(libcrypto)
25 BuildRequires:  pkgconfig(libcurl) >= 7.21.0
26 BuildRequires:  pkgconfig(libexif) >= 0.6.16
27 BuildRequires:  pkgconfig(libpng) >= 1.2
28 BuildRequires:  pkgconfig(openssl) >= 0.9.5
29 BuildRequires:  pkgconfig(sndfile) >= 1.0.16
30 BuildRequires:  pkgconfig(x11)
31 Requires(post): glib2-tools
32 Requires(postun): glib2-tools
33 Requires:       gstreamer >= 1.0.2
34 Enhances:       gstreamer
35
36 %description
37 GStreamer is a streaming media framework based on graphs of filters
38 that operate on media data. Applications using this library can do
39 anything media-related,from real-time sound processing to playing
40 videos. Its plug-in-based architecture means that new data types or
41 processing capabilities can be added simply by installing new plug-ins.
42
43
44 %package -n libgstbasecamerabinsrc
45 Summary:        GStreamer Streaming-Media Framework Plug-Ins
46
47 %description -n libgstbasecamerabinsrc
48 GStreamer is a streaming media framework based on graphs of filters
49 that operate on media data. Applications using this library can do
50 anything media-related,from real-time sound processing to playing
51 videos. Its plug-in-based architecture means that new data types or
52 processing capabilities can be added simply by installing new plug-ins.
53
54 %package -n libgstphotography
55 Summary:        GStreamer Streaming-Media Framework Plug-Ins
56
57 %description -n libgstphotography
58 GStreamer is a streaming media framework based on graphs of filters
59 that operate on media data. Applications using this library can do
60 anything media-related,from real-time sound processing to playing
61 videos. Its plug-in-based architecture means that new data types or
62 processing capabilities can be added simply by installing new plug-ins.
63
64 %package -n libgstvdp
65 Summary:        GStreamer Streaming-Media Framework Plug-Ins
66
67 %description -n libgstvdp
68 GStreamer is a streaming media framework based on graphs of filters
69 that operate on media data. Applications using this library can do
70 anything media-related,from real-time sound processing to playing
71 videos. Its plug-in-based architecture means that new data types or
72 processing capabilities can be added simply by installing new plug-ins.
73
74 %package -n libgstcodecparsers
75 Summary:        GStreamer Streaming-Media Framework Plug-Ins
76
77 %description -n libgstcodecparsers
78 GStreamer is a streaming media framework based on graphs of filters
79 that operate on media data. Applications using this library can do
80 anything media-related,from real-time sound processing to playing
81 videos. Its plug-in-based architecture means that new data types or
82 processing capabilities can be added simply by installing new plug-ins.
83
84 %package -n libgstegl
85 Summary:        GStreamer Streaming-Media Framework Plug-Ins
86
87 %description -n libgstegl
88 GStreamer is a streaming media framework based on graphs of filters
89 that operate on media data. Applications using this library can do
90 anything media-related,from real-time sound processing to playing
91 videos. Its plug-in-based architecture means that new data types or
92 processing capabilities can be added simply by installing new plug-ins.
93
94 %package -n libgstinsertbin
95 Summary:        GStreamer Streaming-Media Framework Plug-Ins
96
97 %description -n libgstinsertbin
98 GStreamer is a streaming media framework based on graphs of filters
99 that operate on media data. Applications using this library can do
100 anything media-related,from real-time sound processing to playing
101 videos. Its plug-in-based architecture means that new data types or
102 processing capabilities can be added simply by installing new plug-ins.
103
104 %package -n libgstmpegts
105 Summary:        GStreamer Streaming-Media Framework Plug-Ins
106
107 %description -n libgstmpegts
108 GStreamer is a streaming media framework based on graphs of filters
109 that operate on media data. Applications using this library can do
110 anything media-related,from real-time sound processing to playing
111 videos. Its plug-in-based architecture means that new data types or
112 processing capabilities can be added simply by installing new plug-ins.
113
114 %package -n libgsturidownloader
115 Summary:        GStreamer Streaming-Media Framework Plug-Ins
116
117 %description -n libgsturidownloader
118 GStreamer is a streaming media framework based on graphs of filters
119 that operate on media data. Applications using this library can do
120 anything media-related,from real-time sound processing to playing
121 videos. Its plug-in-based architecture means that new data types or
122 processing capabilities can be added simply by installing new plug-ins.
123
124 %package devel
125 Summary:        GStreamer Streaming-Media Framework Plug-Ins
126 Requires:       gstreamer-devel
127 Requires:       libgstbasecamerabinsrc = %{version}
128 Requires:       libgstcodecparsers = %{version}
129 Requires:       libgstphotography = %{version}
130 Requires:       libgstegl = %{version}
131 Requires:       libgstinsertbin = %{version}
132 Requires:       libgstmpegts = %{version}
133 Requires:       libgsturidownloader = %{version}
134
135 %description devel
136 GStreamer is a streaming media framework based on graphs of filters
137 that operate on media data. Applications using this library can do
138 anything media-related,from real-time sound processing to playing
139 videos. Its plug-in-based architecture means that new data types or
140 processing capabilities can be added simply by installing new plug-ins.
141
142
143 %prep
144 %setup -q -n %{name}-%{version}
145 %setup -q -T -D -a 100
146 cp %{SOURCE1001} .
147
148 %build
149 export V=1
150 NOCONFIGURE=1 ./autogen.sh
151 %configure\
152     --disable-static\
153     --disable-examples\
154     --enable-experimental\
155     --disable-gtk-doc
156 %__make %{?_smp_mflags} V=1
157
158 %install
159 %make_install
160 %find_lang %{name}-%{gst_branch}
161 mv %{name}-%{gst_branch}.lang %{name}.lang
162
163 %lang_package
164
165 %clean
166 rm -rf $RPM_BUILD_ROOT
167
168 %post
169 %glib2_gsettings_schema_post
170
171 %postun
172 %glib2_gsettings_schema_postun
173
174 %post -n libgstbasecamerabinsrc -p /sbin/ldconfig
175
176 %post -n libgstphotography -p /sbin/ldconfig
177
178 %post -n libgstcodecparsers -p /sbin/ldconfig
179
180 %post -n libgstvdp -p /sbin/ldconfig
181
182 %post -n libgstegl -p /sbin/ldconfig
183
184 %post -n libgstinsertbin -p /sbin/ldconfig
185
186 %post -n libgstmpegts -p /sbin/ldconfig
187
188 %post -n libgsturidownloader -p /sbin/ldconfig
189
190 %postun -n libgstbasecamerabinsrc -p /sbin/ldconfig
191
192 %postun -n libgstphotography -p /sbin/ldconfig
193
194 %postun -n libgstcodecparsers -p /sbin/ldconfig
195
196 %postun -n libgstvdp -p /sbin/ldconfig
197
198 %postun -n libgstegl -p /sbin/ldconfig
199
200 %postun -n libgstinsertbin -p /sbin/ldconfig
201
202 %postun -n libgstmpegts -p /sbin/ldconfig
203
204 %postun -n libgsturidownloader -p /sbin/ldconfig
205
206 %files
207 %manifest %{name}.manifest
208 %defattr(-, root, root)
209 %license COPYING COPYING.LIB
210 %{_libdir}/gstreamer-%{gst_branch}/libgstadpcmdec.so
211 %{_libdir}/gstreamer-%{gst_branch}/libgstadpcmenc.so
212 %{_libdir}/gstreamer-%{gst_branch}/libgstasfmux.so
213 %{_libdir}/gstreamer-%{gst_branch}/libgstaudiovisualizers.so
214 %{_libdir}/gstreamer-%{gst_branch}/libgstautoconvert.so
215 %{_libdir}/gstreamer-%{gst_branch}/libgstbayer.so
216 %{_libdir}/gstreamer-%{gst_branch}/libgstcamerabin2.so
217 %{_libdir}/gstreamer-%{gst_branch}/libgstcoloreffects.so
218 %{_libdir}/gstreamer-%{gst_branch}/libgstcurl.so
219 %{_libdir}/gstreamer-%{gst_branch}/libgstdataurisrc.so
220 %{_libdir}/gstreamer-%{gst_branch}/libgstdebugutilsbad.so
221 %{_libdir}/gstreamer-%{gst_branch}/libgstdvb.so
222 %{_libdir}/gstreamer-%{gst_branch}/libgstdvbsuboverlay.so
223 %{_libdir}/gstreamer-%{gst_branch}/libgstfestival.so
224 %{_libdir}/gstreamer-%{gst_branch}/libgstgaudieffects.so
225 %{_libdir}/gstreamer-%{gst_branch}/libgstgdp.so
226 %{_libdir}/gstreamer-%{gst_branch}/libgstgeometrictransform.so
227 %{_libdir}/gstreamer-%{gst_branch}/libgstid3tag.so
228 %{_libdir}/gstreamer-%{gst_branch}/libgstinter.so
229 %{_libdir}/gstreamer-%{gst_branch}/libgstinterlace.so
230 %{_libdir}/gstreamer-%{gst_branch}/libgstjpegformat.so
231 %{_libdir}/gstreamer-%{gst_branch}/libgstliveadder.so
232
233 %{_libdir}/gstreamer-%{gst_branch}/libgstmpegpsdemux.so
234 %{_libdir}/gstreamer-%{gst_branch}/libgstmpegtsdemux.so
235 %{_libdir}/gstreamer-%{gst_branch}/libgstmpegtsmux.so
236 %{_libdir}/gstreamer-%{gst_branch}/libgstpcapparse.so
237 %{_libdir}/gstreamer-%{gst_branch}/libgstpnm.so
238 %{_libdir}/gstreamer-%{gst_branch}/libgstrawparse.so
239 %{_libdir}/gstreamer-%{gst_branch}/libgstremovesilence.so
240 %{_libdir}/gstreamer-%{gst_branch}/libgstsdpelem.so
241 %{_libdir}/gstreamer-%{gst_branch}/libgstsegmentclip.so
242 %{_libdir}/gstreamer-%{gst_branch}/libgstshm.so
243 %{_libdir}/gstreamer-%{gst_branch}/libgstsmooth.so
244 %{_libdir}/gstreamer-%{gst_branch}/libgstspeed.so
245 %{_libdir}/gstreamer-%{gst_branch}/libgstvideoparsersbad.so
246 %{_libdir}/gstreamer-%{gst_branch}/libgsty4mdec.so
247 %{_libdir}/gstreamer-%{gst_branch}/libgstdvdspu.so
248 %{_libdir}/gstreamer-%{gst_branch}/libgstfieldanalysis.so
249 %{_libdir}/gstreamer-%{gst_branch}/libgstfrei0r.so
250 %{_libdir}/gstreamer-%{gst_branch}/libgstsiren.so
251 %{_libdir}/gstreamer-%{gst_branch}/libgstsubenc.so
252 %{_libdir}/gstreamer-%{gst_branch}/libgstmpegpsmux.so
253 %{_libdir}/gstreamer-%{gst_branch}/libgstdecklink.so
254 %{_libdir}/gstreamer-%{gst_branch}/libgsteglglessink.so
255
256 %{_libdir}/gstreamer-%{gst_branch}/libgstaccurip.so
257 %{_libdir}/gstreamer-%{gst_branch}/libgstaiff.so
258 %{_libdir}/gstreamer-%{gst_branch}/libgstaudiofxbad.so
259 %{_libdir}/gstreamer-%{gst_branch}/libgstfbdevsink.so
260 %{_libdir}/gstreamer-%{gst_branch}/libgstfreeverb.so
261 %{_libdir}/gstreamer-%{gst_branch}/libgstivtc.so
262 %{_libdir}/gstreamer-%{gst_branch}/libgstmfc.so
263 %{_libdir}/gstreamer-%{gst_branch}/libgstmidi.so
264 %{_libdir}/gstreamer-%{gst_branch}/libgstmxf.so
265 %{_libdir}/gstreamer-%{gst_branch}/libgstrfbsrc.so
266 %{_libdir}/gstreamer-%{gst_branch}/libgstvideofiltersbad.so
267 %{_libdir}/gstreamer-%{gst_branch}/libgstyadif.so
268
269
270 %files -n libgstphotography
271 %manifest %{name}.manifest
272 %defattr(-, root, root)
273 %{_libdir}/libgstphotography-%{gst_branch}.so.0*
274
275 %files -n libgstbasecamerabinsrc
276 %manifest %{name}.manifest
277 %defattr(-, root, root)
278 %{_libdir}/libgstbasecamerabinsrc-%{gst_branch}.so.0*
279
280 %files -n libgstcodecparsers
281 %manifest %{name}.manifest
282 %defattr(-, root, root)
283 %{_libdir}/libgstcodecparsers-%{gst_branch}.so.0*
284
285 %files -n libgstegl
286 %manifest %{name}.manifest
287 %defattr(-, root, root)
288 %{_libdir}/libgstegl-%{gst_branch}.so.0*
289
290 %files -n libgstinsertbin
291 %manifest %{name}.manifest
292 %defattr(-, root, root)
293 %{_libdir}/libgstinsertbin-%{gst_branch}.so.0*
294
295 %files -n libgstmpegts
296 %manifest %{name}.manifest
297 %defattr(-, root, root)
298 %{_libdir}/libgstmpegts-%{gst_branch}.so.0*
299
300 %files -n libgsturidownloader
301 %manifest %{name}.manifest
302 %defattr(-, root, root)
303 %{_libdir}/libgsturidownloader-%{gst_branch}.so.0*
304
305 %files devel
306 %manifest %{name}.manifest
307 %defattr(-, root, root)
308 %{_includedir}/gstreamer-%{gst_branch}
309 %{_libdir}/*.so
310 %{_libdir}/pkgconfig/gstreamer-codecparsers-%{gst_branch}.pc
311 %{_libdir}/pkgconfig/gstreamer-plugins-bad-%{gst_branch}.pc
312 %{_libdir}/pkgconfig/gstreamer-egl-%{gst_branch}.pc
313 %{_libdir}/pkgconfig/gstreamer-insertbin-%{gst_branch}.pc