9397
|
1 |
#
|
|
2 |
# spec file for package gstreamer
|
|
3 |
#
|
17536
|
4 |
# Copyright (c) 2010 Sun Microsystems, Inc.
|
9397
|
5 |
# This file and all modifications and additions to the pristine
|
|
6 |
# package are under the same license as the package itself.
|
|
7 |
#
|
16434
|
8 |
%define owner yippi
|
9397
|
9 |
#
|
16427
|
10 |
|
|
11 |
%define OSR 8760:0.10.19
|
|
12 |
|
9397
|
13 |
Name: gstreamer
|
14571
|
14 |
License: LGPL v2, Public Domain
|
9397
|
15 |
Group: Libraries/Multimedia
|
18242
|
16 |
Version: 0.10.30
|
11540
|
17 |
Release: 1
|
9397
|
18 |
Distribution: Java Desktop System
|
17864
|
19 |
Vendor: freedesktop.org
|
9397
|
20 |
Summary: GStreamer streaming media framework runtime.
|
|
21 |
Source: http://gstreamer.freedesktop.org/src/%{name}/%{name}-%{version}.tar.bz2
|
12031
|
22 |
%if %build_l10n
|
14943
|
23 |
Source1: l10n-configure.sh
|
12031
|
24 |
%endif
|
9397
|
25 |
|
12741
|
26 |
#owner:laca date:2005-08-11 type:bug bugster:6570425
|
9397
|
27 |
Patch1: gst-01-gettext.diff
|
|
28 |
URL: http://gstreamer.net/
|
|
29 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
30 |
Docdir: %{_defaultdocdir}/doc
|
|
31 |
Autoreqprov: on
|
|
32 |
Docdir: %{_defaultdocdir}/doc
|
|
33 |
Autoreqprov: on
|
|
34 |
Prereq: /sbin/ldconfig
|
|
35 |
|
17833
|
36 |
%define glib2_version 2.0.1
|
|
37 |
%define libxml2_version 2.4.0
|
9397
|
38 |
|
|
39 |
Requires: glib2 >= %{glib2_version}
|
|
40 |
Requires: libxml2 >= %{libxml2_version}
|
|
41 |
Requires: popt
|
|
42 |
BuildRequires: glib2-devel >= %{glib2_version}
|
|
43 |
BuildRequires: libxml2-devel >= %{libxml2_version}
|
|
44 |
BuildRequires: flex
|
|
45 |
BuildRequires: gtk-doc >= 0.7
|
|
46 |
BuildRequires: gcc
|
|
47 |
BuildRequires: zlib-devel
|
|
48 |
BuildRequires: popt
|
|
49 |
BuildRequires: pyxml
|
|
50 |
|
|
51 |
%description
|
|
52 |
GStreamer is a streaming-media framework, based on graphs of filters which
|
|
53 |
operate on media data. Applications using this library can do anything
|
|
54 |
from real-time sound processing to playing videos, and just about anything
|
|
55 |
else media-related. Its plugin-based architecture means that new data
|
|
56 |
types or processing capabilities can be added simply by installing new
|
|
57 |
plugins.
|
|
58 |
|
|
59 |
%package devel
|
|
60 |
Summary: Libraries/include files for GStreamer streaming media frame
|
|
61 |
Group: Development/Libraries
|
|
62 |
Requires: %{name} = %{version}
|
|
63 |
Requires: glib2-devel >= %{glib2_version}
|
|
64 |
Requires: libxml2-devel >= %{libxml2_version}
|
|
65 |
|
|
66 |
%description devel
|
|
67 |
GStreamer is a streaming-media framework, based on graphs of filters which
|
|
68 |
operate on media data. Applications using this library can do anything
|
|
69 |
from real-time sound processing to playing videos, and just about anything
|
|
70 |
else media-related. Its plugin-based architecture means that new data
|
|
71 |
types or processing capabilities can be added simply by installing new
|
|
72 |
plugins.
|
|
73 |
|
|
74 |
This package contains the libraries and includes files necessary to develop
|
|
75 |
applications and plugins for GStreamer.
|
|
76 |
|
|
77 |
%package tools
|
|
78 |
Summary: tools for GStreamer streaming media framework.
|
|
79 |
Group: Libraries/Multimedia
|
|
80 |
|
|
81 |
%description tools
|
|
82 |
GStreamer is a streaming-media framework, based on graphs of filters which
|
|
83 |
operate on media data. Applications using this library can do anything
|
|
84 |
from real-time sound processing to playing videos, and just about anything
|
|
85 |
else media-related. Its plugin-based architecture means that new data
|
|
86 |
types or processing capabilities can be added simply by installing new
|
|
87 |
plugins.
|
|
88 |
|
|
89 |
This package contains the basic command-line tools used for GStreamer, like
|
|
90 |
gst-launch. It is split off to allow parallel-installability in the future.
|
|
91 |
|
|
92 |
%prep
|
|
93 |
%setup -q
|
|
94 |
%patch1 -p1
|
|
95 |
|
|
96 |
%build
|
|
97 |
%ifos linux
|
|
98 |
if [ -x /usr/bin/getconf ]; then
|
|
99 |
CPUS=`getconf _NPROCESSORS_ONLN`
|
|
100 |
fi
|
|
101 |
%else
|
|
102 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
|
|
103 |
%endif
|
|
104 |
if test "x$CPUS" = "x" -o $CPUS = 0; then
|
|
105 |
CPUS=1
|
|
106 |
fi
|
|
107 |
|
|
108 |
glib-gettextize -f
|
|
109 |
libtoolize --copy --force
|
9423
|
110 |
intltoolize --copy --force --automake
|
17956
|
111 |
aclocal -I ./m4 -I common/m4 $ACLOCAL_FLAGS -I .
|
12031
|
112 |
|
|
113 |
%if %build_l10n
|
|
114 |
bash -x %SOURCE1 --enable-copyright
|
|
115 |
%endif
|
|
116 |
|
9397
|
117 |
autoheader
|
|
118 |
autoconf
|
|
119 |
automake -a -c -f
|
|
120 |
./configure \
|
|
121 |
--prefix=%{_prefix} \
|
17833
|
122 |
--bindir=%{_bindir} \
|
|
123 |
--libdir=%{_libdir} \
|
17536
|
124 |
--libexecdir=%{_libexecdir} \
|
9397
|
125 |
--sysconfdir=%{_sysconfdir} \
|
|
126 |
--mandir=%{_mandir} \
|
|
127 |
%{gtk_doc_option} \
|
|
128 |
--disable-tests --disable-examples \
|
16972
|
129 |
--program-suffix="" --disable-check
|
9397
|
130 |
|
|
131 |
# FIXME: hack: stop the build from looping
|
|
132 |
touch po/stamp-it
|
|
133 |
|
|
134 |
make -j $CPUS
|
|
135 |
|
|
136 |
%install
|
|
137 |
make DESTDIR=$RPM_BUILD_ROOT install
|
|
138 |
|
|
139 |
%clean
|
|
140 |
rm -rf $RPM_BUILD_ROOT
|
|
141 |
|
|
142 |
%post
|
|
143 |
/sbin/ldconfig
|
|
144 |
|
|
145 |
%post tools
|
|
146 |
/sbin/ldconfig
|
|
147 |
|
|
148 |
%post devel
|
|
149 |
/sbin/ldconfig
|
|
150 |
|
|
151 |
%postun
|
|
152 |
/sbin/ldconfig
|
|
153 |
|
|
154 |
%files
|
|
155 |
%defattr(-, root, root)
|
|
156 |
%doc AUTHORS COPYING README TODO ABOUT-NLS
|
|
157 |
%{_libdir}/lib*.so.*
|
|
158 |
%{_libdir}/gstreamer-*/libgst*.so*
|
|
159 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo
|
|
160 |
|
|
161 |
%files devel
|
|
162 |
%defattr(-, root, root)
|
|
163 |
%{_includedir}/*
|
|
164 |
%{_libdir}/lib*.so
|
|
165 |
%{_libdir}/pkgconfig
|
|
166 |
%{_datadir}/aclocal
|
|
167 |
%{_datadir}/gtk-doc
|
|
168 |
%{_mandir}/man3
|
|
169 |
|
|
170 |
%files tools
|
|
171 |
%{_bindir}/gst-*
|
|
172 |
%{_mandir}/man1/gst-*
|
|
173 |
|
|
174 |
%changelog
|
18242
|
175 |
* Thu Jul 15 2010 - [email protected]
|
|
176 |
- Bump to 0.10.30.
|
17956
|
177 |
* Thu Apr 29 2010 - [email protected]
|
|
178 |
- Bump to 0.10.29.
|
17680
|
179 |
* Thu Mar 11 2010 - [email protected]
|
|
180 |
- Bump to 0.10.28.
|
17536
|
181 |
* Thu Feb 11 2010 - [email protected]
|
|
182 |
- Bump to 0.10.26.
|
16972
|
183 |
* Tue Nov 17 2009 - [email protected]
|
|
184 |
- Change --with-check=no to --disable-check.
|
16766
|
185 |
* Wed Oct 14 2009 - [email protected]
|
17536
|
186 |
- Bump to 0.10.25.
|
16257
|
187 |
* Wed Aug 12 2009 - [email protected]
|
|
188 |
- Bump to 0.10.24.
|
15745
|
189 |
* Mon May 11 2009 - [email protected]
|
|
190 |
- Bump to 0.10.23.
|
14943
|
191 |
* Mon Jan 19 2009 - [email protected]
|
|
192 |
- Bump to 0.10.22.
|
14454
|
193 |
* Sat Oct 04 2008 - [email protected]
|
|
194 |
- Bump to 0.10.21.
|
12703
|
195 |
* Thu Jun 19 2008 - [email protected]
|
|
196 |
- Bump to 0.10.20.
|
12051
|
197 |
* Mon Apr 07 2008 - [email protected]
|
|
198 |
- Bump to 0.10.19.
|
11886
|
199 |
* Thu Mar 20 2008 - [email protected]
|
|
200 |
- Bump to 0.10.18.
|
11562
|
201 |
* Mon Jan 30 2008 - [email protected]
|
|
202 |
- Bump to 0.10.17 paper bag release.
|
11540
|
203 |
* Mon Jan 28 2008 - [email protected]
|
|
204 |
- Bump to 0.10.16.
|
11209
|
205 |
* Fri Nov 16 2007 - [email protected]
|
|
206 |
- Bump to 0.10.15.
|
10268
|
207 |
* Fri Aug 03 2007 - [email protected]
|
|
208 |
- Bump to 0.10.14.
|
10076
|
209 |
* Tue Jun 19 2007 - [email protected]
|
|
210 |
- Bump to 0.10.13.
|
9602
|
211 |
* Wed Mar 21 2007 - [email protected]
|
|
212 |
- Add --with-check=no to configure so as not to pick up SFEcheck package. Build
|
|
213 |
breaks when it finds the package.
|
9490
|
214 |
* Thu Mar 07 2007 - [email protected]
|
|
215 |
- Bump to 0.10.12.
|
9423
|
216 |
* Sat Mar 04 2007 - [email protected]
|
|
217 |
- Add intltoolize call to expand MSGFMT_OPTS.
|
9397
|
218 |
* Tue Feb 06 2006 - [email protected]
|
|
219 |
- Remove unneeded patch.
|
|
220 |
* Mon Dec 11 2006 - [email protected]
|
|
221 |
- Remove nofork patch since this is now fixed upstream.
|
|
222 |
* Thu Dec 7 2006 - [email protected]
|
17536
|
223 |
- Bump to 0.10.11.
|
9397
|
224 |
* Fri Nov 3 2006 - [email protected]
|
|
225 |
- use %gtk_doc_option in configure so that it can be disabled using
|
|
226 |
--without-gtk-doc
|
|
227 |
* Mon Oct 16 2006 - [email protected]
|
|
228 |
- Remove the '-f' from the 'rm *.la *.a' lines so that any changes to the
|
|
229 |
module source will be seen as a build error and action can be taken.
|
|
230 |
* Mon Sep 11 2006 - [email protected]
|
|
231 |
- Bump to 0.10.9.
|
|
232 |
* Tue Aug 8 2006 - [email protected]
|
|
233 |
- Add l10n-configure.sh script for l10n pkgs
|
|
234 |
* Tue Jun 13 2006 - [email protected]
|
|
235 |
- Bump to 0.10.8.
|
|
236 |
* Tue Mar 14 2006 - [email protected]
|
|
237 |
- Bump to 0.10.4.
|
|
238 |
* Wed Feb 15 2006 - [email protected]
|
|
239 |
- Bump to 0.10.3.
|
|
240 |
* Mon Feb 13 2006 - [email protected]
|
|
241 |
- Add hack to fix infinite loop problem in po/Makefile.
|
|
242 |
* Sun Jan 22 2006 - [email protected]
|
|
243 |
- Add patch, 02-solaris-resolv, to add '-lresolv' so inet_aton function found.
|
|
244 |
* Mon Jan 09 2006 - [email protected]
|
|
245 |
- Bump to 0.10.1 The packaging will need some work if someone wants to build
|
|
246 |
this for Linux.
|
|
247 |
* Tue Sep 20 2005 - [email protected]
|
|
248 |
- Bump to 0.8.11.
|
|
249 |
* Thu Sep 08 2005 - [email protected]
|
|
250 |
- Unbump back to 0.8.10 as 0.9.x is not in gnome2.12.
|
|
251 |
* Wed Sep 07 2005 - [email protected]
|
|
252 |
- Bump to 0.9.2. Update %files.
|
|
253 |
* Mon Jun 06 2005 - [email protected]
|
|
254 |
- Removed patch for modifying uninstalled-pc file since it
|
|
255 |
is no longer needed.
|
|
256 |
* Wed May 11 2005 - [email protected]
|
|
257 |
- Updated to call automake, now needed.
|
|
258 |
* Wed Nov 17 2004 - [email protected]
|
17536
|
259 |
- #6195855, install correct man page.
|
9397
|
260 |
* Thu Oct 28 2004 - [email protected]
|
17536
|
261 |
- Add gst-*, libgst*.
|
9397
|
262 |
* Wed Sep 29 2004 - [email protected]
|
17536
|
263 |
- Update gst-02-g11n-potfiles.diff.
|
|
264 |
- Update gst-03-gettext.diff to fix 5068957.
|
|
265 |
- Remove gst-04-g11n-potfiles.diff.
|
9397
|
266 |
* Mon Aug 30 2004 - [email protected]
|
17536
|
267 |
- Add gst-04-g11n-potfiles.diff.
|
9397
|
268 |
* Sun Aug 29 2004 - [email protected]
|
|
269 |
- Now packaging gtk-docs.
|
|
270 |
* Tue Aug 23 2004 - [email protected]
|
|
271 |
- Now building gtk-docs.
|
|
272 |
* Fri Aug 20 2004 - [email protected]
|
|
273 |
- Fixed typo.
|
|
274 |
* Fri Aug 20 2004 - [email protected]
|
17536
|
275 |
- gst-xmlinspect man page packaged.
|
9397
|
276 |
* Mon Aug 09 2004 - [email protected]
|
|
277 |
- Corrected Linux packaging. Corrected Release to 2 since
|
|
278 |
this is the 2nd change after bumping the release last
|
|
279 |
Thursday.
|
|
280 |
* Thu Jul 29 2004 - [email protected]
|
|
281 |
- Bumped revision of gstreamer to 0.8.4, making patches 4 and 5 go away
|
|
282 |
since they were integrated into CVS head.
|
|
283 |
* Fri Jul 15 2004 - [email protected]
|
|
284 |
- Added patch to change the default scheduler to basicgthread which
|
|
285 |
works better than opt for audio and opt doesn't work at all for
|
|
286 |
video on Solaris.
|
|
287 |
* Mon Jul 12 2004 - [email protected]
|
17536
|
288 |
- ported to rpm4, pkg'd some missing files.
|
9397
|
289 |
* Thu Jul 08 2004 - [email protected]
|
17536
|
290 |
- Adding gst-l10n-po-1.2.tar.bz2 l10n content.
|
9397
|
291 |
* Wed Jul 07 2004 - [email protected]
|
17536
|
292 |
- added "-j $CPUS" to make to speed up builds.
|
9397
|
293 |
* Fri May 14 2004 - [email protected]
|
|
294 |
- added patch 03 from CVS head to support aligned memory access,
|
|
295 |
needed for Solaris.
|
|
296 |
* Wed May 12 2004 - [email protected]
|
|
297 |
- Updated to tarball 0.8.1 version as per Laca and yippi request.
|
|
298 |
* Mon May 10 2004 - [email protected]
|
17536
|
299 |
- autotools-jdsize to fix Makefile problem.
|
9397
|
300 |
* Thu May 02 2004 - [email protected]
|
|
301 |
- Add glib-gettextize, aclocal, and autoconf calls
|
|
302 |
so that gettext patches to configure.in/configure.ac
|
|
303 |
get included. Added patches mentioned above to
|
|
304 |
appropriate spec files.
|
|
305 |
* Mon Apr 05 2004 - [email protected]
|
17536
|
306 |
- changed majorminor version to 0.8.
|
9397
|
307 |
* Fri Apr 02 2004 - [email protected]
|
17536
|
308 |
- Upgraded tarball to 0.8.0 which is released for 2.6.
|
9397
|
309 |
* Tue Mar 16 2004 - [email protected]
|
17536
|
310 |
- Added gst-02-g11n-potfiles.diff.
|
9397
|
311 |
* Mon Mar 08 2004 - [email protected]
|
|
312 |
- add patch to fix gst-*-uninstslled.pc Cflags.
|
17536
|
313 |
- disable docs build on Solaris for now (causes gthread error) .
|
9397
|
314 |
* Fri Feb 13 2004 - [email protected]
|
17536
|
315 |
- Bump to 0.7.4, update tools files.
|
9397
|
316 |
* Mon Jan 05 2004 - [email protected]
|
|
317 |
- Fixed the postinstall problem. Basically, gst has allowed for parallel
|
|
318 |
installed and had decided to have program named by
|
|
319 |
/usr/bin/gst-regsiter-<majorminor>
|
|
320 |
since we do not have parallel installed on our distro, so configure with
|
|
321 |
--program-suffix="" to remove the version number.
|
|
322 |
* Wed Dec 17 2003 - [email protected]
|
|
323 |
- bump to 0.7.2
|
|
324 |
* Fri Oct 10 2003 - [email protected]
|
|
325 |
- Removed the patch 01 which is already in 0.63 release of gstreamer
|
|
326 |
updtaed spec file to build for Qs. and also include a patch from Bala
|
|
327 |
as part of the fix to 4880305.
|
|
328 |
* Fri Oct 03 2003 - [email protected]
|
|
329 |
- Pulled out two patches from the 0.63 release that fixes a infinite loop
|
|
330 |
and a crash, bugzilla 120741 and 104829.
|
|
331 |
* Wed Jul 23 2003 - [email protected]
|
|
332 |
- Added a patch to disable putbits which uses a potential patent ridden
|
17536
|
333 |
issue with mpeg.
|
9397
|
334 |
* Tue May 14 2003 - [email protected]
|
17536
|
335 |
- initial release version for gstreamer.
|