author | hh150184 |
Tue, 24 Jan 2006 11:56:37 +0000 | |
branch | gnome-2-12 |
changeset 19207 | b59a653a3329 |
parent 5985 | f76fe04a88a0 |
child 6623 | 2833871c2271 |
permissions | -rw-r--r-- |
140 | 1 |
# |
2 |
# spec file for package gstreamer |
|
3 |
# |
|
5518 | 4 |
# Copyright (c) 2005 Sun Microsystems, Inc. |
140 | 5 |
# This file and all modifications and additions to the pristine |
6 |
# package are under the same license as the package itself. |
|
7 |
# |
|
8 |
||
9 |
Name: gstreamer |
|
10 |
License: LGPL |
|
11 |
Group: Libraries/Multimedia |
|
5985 | 12 |
Version: 0.8.11 |
5518 | 13 |
Release: 35 |
14 |
Distribution: Java Desktop System |
|
745 | 15 |
Vendor: Sun Microsystems, Inc. |
16 |
Summary: GStreamer streaming media framework runtime. |
|
5767 | 17 |
Source: http://gstreamer.freedesktop.org/src/%{name}/%{name}-%{version}.tar.bz2 |
4357 | 18 |
Source2: gst-complete-0.8.1.gz |
19 |
Source3: gst-complete.1.gz |
|
20 |
Source4: gst-compprep-0.8.1.gz |
|
21 |
Source5: gst-compprep.1.gz |
|
22 |
Source6: gst-feedback-0.8.1.gz |
|
23 |
Source7: gst-feedback.1.gz |
|
24 |
Source8: gst-inspect-0.8.1.gz |
|
25 |
Source9: gst-inspect.1.gz |
|
26 |
Source10: gst-launch-0.8.1.gz |
|
27 |
Source11: gst-launch.1.gz |
|
28 |
Source12: gst-md5sum-0.8.1.gz |
|
29 |
Source13: gst-md5sum.1.gz |
|
30 |
Source14: gst-register-0.8.1.gz |
|
31 |
Source15: gst-register.1.gz |
|
32 |
Source16: gst-typefind-0.8.1.gz |
|
33 |
Source17: gst-typefind.1.gz |
|
34 |
Source18: gst-xmlinspect-0.8.1.gz |
|
35 |
Source19: gst-xmlinspect.1.gz |
|
36 |
Source20: gst-xmllaunch-0.8.1.gz |
|
37 |
Source21: gst-xmllaunch.1.gz |
|
38 |
Source22: libgstreamer-0.8.3.gz |
|
39 |
Source23: libgstdataprotocol.3.gz |
|
40 |
Source24: libgstgetbits.3.gz |
|
5518 | 41 |
Patch1: gst-01-gettext.diff |
745 | 42 |
URL: http://gstreamer.net/ |
140 | 43 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
745 | 44 |
Docdir: %{_defaultdocdir}/doc |
45 |
Autoreqprov: on |
|
46 |
Docdir: %{_defaultdocdir}/doc |
|
47 |
Autoreqprov: on |
|
1080 | 48 |
Prereq: /sbin/ldconfig |
140 | 49 |
|
5771
d60bf62f25df
* gst.spec: Unbump back to 0.8.10 as 0.9.x is not in gnome2.12.
dc144907
parents:
5769
diff
changeset
|
50 |
%define majorminor 0.8 |
745 | 51 |
%define glib2_version 2.0.1 |
52 |
%define libxml2_version 2.4.0 |
|
140 | 53 |
|
745 | 54 |
Requires: glib2 >= %{glib2_version} |
55 |
Requires: libxml2 >= %{libxml2_version} |
|
140 | 56 |
Requires: popt |
745 | 57 |
BuildRequires: glib2-devel >= %{glib2_version} |
58 |
BuildRequires: libxml2-devel >= %{libxml2_version} |
|
140 | 59 |
BuildRequires: flex |
60 |
BuildRequires: gtk-doc >= 0.7 |
|
61 |
BuildRequires: gcc |
|
62 |
BuildRequires: zlib-devel |
|
63 |
BuildRequires: popt |
|
64 |
||
65 |
%description |
|
66 |
GStreamer is a streaming-media framework, based on graphs of filters which |
|
67 |
operate on media data. Applications using this library can do anything |
|
68 |
from real-time sound processing to playing videos, and just about anything |
|
69 |
else media-related. Its plugin-based architecture means that new data |
|
70 |
types or processing capabilities can be added simply by installing new |
|
71 |
plugins. |
|
72 |
||
73 |
%package devel |
|
74 |
Summary: Libraries/include files for GStreamer streaming media frame |
|
75 |
Group: Development/Libraries |
|
76 |
Requires: %{name} = %{version} |
|
745 | 77 |
Requires: glib2-devel >= %{glib2_version} |
78 |
Requires: libxml2-devel >= %{libxml2_version} |
|
140 | 79 |
|
80 |
%description devel |
|
81 |
GStreamer is a streaming-media framework, based on graphs of filters which |
|
82 |
operate on media data. Applications using this library can do anything |
|
83 |
from real-time sound processing to playing videos, and just about anything |
|
84 |
else media-related. Its plugin-based architecture means that new data |
|
85 |
types or processing capabilities can be added simply by installing new |
|
86 |
plugins. |
|
87 |
||
88 |
This package contains the libraries and includes files necessary to develop |
|
89 |
applications and plugins for GStreamer. |
|
90 |
||
91 |
%package tools |
|
92 |
Summary: tools for GStreamer streaming media framework. |
|
93 |
Group: Libraries/Multimedia |
|
94 |
||
95 |
%description tools |
|
96 |
GStreamer is a streaming-media framework, based on graphs of filters which |
|
97 |
operate on media data. Applications using this library can do anything |
|
98 |
from real-time sound processing to playing videos, and just about anything |
|
99 |
else media-related. Its plugin-based architecture means that new data |
|
100 |
types or processing capabilities can be added simply by installing new |
|
101 |
plugins. |
|
102 |
||
103 |
This package contains the basic command-line tools used for GStreamer, like |
|
104 |
gst-register and gst-launch. It is split off to allow parallel-installability |
|
105 |
in the future. |
|
106 |
||
107 |
%prep |
|
108 |
%setup -q |
|
2220 | 109 |
%patch1 -p1 |
4455 | 110 |
|
140 | 111 |
%build |
2691 | 112 |
%ifos linux |
3263 | 113 |
if [ -x /usr/bin/getconf ]; then |
114 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
115 |
fi |
|
116 |
%else |
|
3846 | 117 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 118 |
%endif |
119 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
120 |
CPUS=1 |
|
121 |
fi |
|
122 |
||
2670 | 123 |
glib-gettextize -f |
124 |
libtoolize --force |
|
5518 | 125 |
aclocal $ACLOCAL_FLAGS -I common/m4 |
126 |
automake -a -c -f |
|
2670 | 127 |
autoconf |
2160 | 128 |
./configure \ |
129 |
--prefix=%{_prefix} \ |
|
130 |
--sysconfdir=%{_sysconfdir} \ |
|
131 |
--mandir=%{_mandir} \ |
|
132 |
--with-cachedir=%{_localstatedir}/cache/gstreamer-%{majorminor} \ |
|
133 |
--disable-tests --disable-examples \ |
|
134 |
--program-suffix="" |
|
140 | 135 |
|
3263 | 136 |
make -j $CPUS |
140 | 137 |
|
138 |
%install |
|
745 | 139 |
make DESTDIR=$RPM_BUILD_ROOT install |
140 | 140 |
# Clean out files that should not be part of the rpm. |
141 |
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/cache/gstreamer-%{majorminor} |
|
142 |
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}-%{majorminor}/*.la |
|
143 |
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}-%{majorminor}/*.a |
|
144 |
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a |
|
145 |
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
|
4594 | 146 |
rm -rf $RPM_BUILD_ROOT%{_mandir}/man1 |
147 |
rm -rf $RPM_BUILD_ROOT%{_mandir}/man3 |
|
4357 | 148 |
install -d $RPM_BUILD_ROOT%{_mandir}/man1 |
149 |
install -d $RPM_BUILD_ROOT%{_mandir}/man3 |
|
150 |
install --mode=0644 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
151 |
install --mode=0644 %SOURCE3 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
152 |
install --mode=0644 %SOURCE4 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
153 |
install --mode=0644 %SOURCE5 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
154 |
install --mode=0644 %SOURCE6 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
155 |
install --mode=0644 %SOURCE7 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
156 |
install --mode=0644 %SOURCE8 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
157 |
install --mode=0644 %SOURCE9 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
158 |
install --mode=0644 %SOURCE10 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
159 |
install --mode=0644 %SOURCE11 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
160 |
install --mode=0644 %SOURCE12 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
161 |
install --mode=0644 %SOURCE13 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
162 |
install --mode=0644 %SOURCE14 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
163 |
install --mode=0644 %SOURCE15 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
164 |
install --mode=0644 %SOURCE16 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
165 |
install --mode=0644 %SOURCE17 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
166 |
install --mode=0644 %SOURCE18 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
167 |
install --mode=0644 %SOURCE19 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
168 |
install --mode=0644 %SOURCE20 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
169 |
install --mode=0644 %SOURCE21 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
170 |
install --mode=0644 %SOURCE22 $RPM_BUILD_ROOT%{_mandir}/man3 |
|
171 |
install --mode=0644 %SOURCE23 $RPM_BUILD_ROOT%{_mandir}/man3 |
|
172 |
install --mode=0644 %SOURCE24 $RPM_BUILD_ROOT%{_mandir}/man3 |
|
140 | 173 |
|
174 |
%clean |
|
745 | 175 |
rm -rf $RPM_BUILD_ROOT |
176 |
||
177 |
%post |
|
1080 | 178 |
/sbin/ldconfig |
140 | 179 |
|
180 |
%post tools |
|
1080 | 181 |
/sbin/ldconfig |
1480 | 182 |
%{_bindir}/gst-register > /dev/null 2> /dev/null |
140 | 183 |
|
184 |
%post devel |
|
1080 | 185 |
/sbin/ldconfig |
140 | 186 |
|
187 |
%postun |
|
1080 | 188 |
/sbin/ldconfig |
140 | 189 |
|
190 |
%files |
|
191 |
%defattr(-, root, root) |
|
2733 | 192 |
%doc AUTHORS COPYING README TODO ABOUT-NLS REQUIREMENTS DOCBUILDING |
140 | 193 |
%{_libdir}/libgstreamer-%{majorminor}.so.* |
5771
d60bf62f25df
* gst.spec: Unbump back to 0.8.10 as 0.9.x is not in gnome2.12.
dc144907
parents:
5769
diff
changeset
|
194 |
%{_libdir}/libgstcontrol-%{majorminor}.so.* |
140 | 195 |
%dir %{_libdir}/gstreamer-%{majorminor} |
196 |
%dir %{_localstatedir}/cache/gstreamer-%{majorminor} |
|
3659 | 197 |
%{_libdir}/gstreamer-%{majorminor}/libgst*.so* |
140 | 198 |
|
199 |
%files devel |
|
200 |
%defattr(-, root, root) |
|
5769 | 201 |
%{_includedir}/%{name}-%{majorminor} |
140 | 202 |
%{_libdir}/libgstreamer-%{majorminor}.so |
5771
d60bf62f25df
* gst.spec: Unbump back to 0.8.10 as 0.9.x is not in gnome2.12.
dc144907
parents:
5769
diff
changeset
|
203 |
%{_libdir}/libgstcontrol-%{majorminor}.so |
5769 | 204 |
%{_libdir}/pkgconfig |
205 |
%{_datadir}/aclocal |
|
5771
d60bf62f25df
* gst.spec: Unbump back to 0.8.10 as 0.9.x is not in gnome2.12.
dc144907
parents:
5769
diff
changeset
|
206 |
%{_datadir}/gtk-doc |
5769 | 207 |
%{_mandir}/man3 |
140 | 208 |
|
209 |
%files tools |
|
1666 | 210 |
%{_bindir}/gst-complete* |
211 |
%{_bindir}/gst-compprep* |
|
212 |
%{_bindir}/gst-inspect* |
|
213 |
%{_bindir}/gst-launch* |
|
214 |
%{_bindir}/gst-md5sum* |
|
215 |
%{_bindir}/gst-register* |
|
5620 | 216 |
%{_bindir}/gst-feedback* |
217 |
%{_bindir}/gst-xmllaunch* |
|
5565
b1beceba7539
* vino.spec: Remove PATH setting as it is not used (info was wrong and
dc144907
parents:
5529
diff
changeset
|
218 |
%{_bindir}/gst-xmlinspect* |
5620 | 219 |
%{_bindir}/gst-typefind* |
3628 | 220 |
%{_mandir}/man1/gst-complete* |
221 |
%{_mandir}/man1/gst-compprep* |
|
222 |
%{_mandir}/man1/gst-feedback* |
|
1476 | 223 |
%{_mandir}/man1/gst-inspect* |
224 |
%{_mandir}/man1/gst-launch* |
|
225 |
%{_mandir}/man1/gst-md5sum* |
|
3628 | 226 |
%{_mandir}/man1/gst-register* |
1666 | 227 |
%{_mandir}/man1/gst-typefind* |
3628 | 228 |
%{_mandir}/man1/gst-xmllaunch* |
3653 | 229 |
%{_mandir}/man1/gst-xmlinspect* |
140 | 230 |
|
3524 | 231 |
%changelog |
5985 | 232 |
* Tue Sep 20 2005 - [email protected] |
233 |
- Bump to 0.8.11. |
|
234 |
||
5771
d60bf62f25df
* gst.spec: Unbump back to 0.8.10 as 0.9.x is not in gnome2.12.
dc144907
parents:
5769
diff
changeset
|
235 |
* Thu Sep 08 2005 - [email protected] |
d60bf62f25df
* gst.spec: Unbump back to 0.8.10 as 0.9.x is not in gnome2.12.
dc144907
parents:
5769
diff
changeset
|
236 |
- Unbump back to 0.8.10 as 0.9.x is not in gnome2.12. |
d60bf62f25df
* gst.spec: Unbump back to 0.8.10 as 0.9.x is not in gnome2.12.
dc144907
parents:
5769
diff
changeset
|
237 |
|
5766 | 238 |
* Wed Sep 07 2005 - [email protected] |
5769 | 239 |
- Bump to 0.9.2. Update %files. |
5766 | 240 |
|
5518 | 241 |
* Mon Jun 06 2005 - [email protected] |
242 |
- Removed patch for modifying uninstalled-pc file since it |
|
243 |
is no longer needed. |
|
244 |
||
245 |
* Wed May 11 2005 - [email protected] |
|
246 |
- Updated to call automake, now needed. |
|
247 |
||
4594 | 248 |
* Wed Nov 17 2004 - [email protected] |
249 |
- #6195855, install correct man page |
|
250 |
||
4357 | 251 |
* Thu Oct 28 2004 - [email protected] |
252 |
- Add gst-*, libgst* |
|
253 |
||
4087 | 254 |
* Wed Sep 29 2004 - [email protected] |
255 |
- Update gst-02-g11n-potfiles.diff |
|
256 |
- Update gst-03-gettext.diff to fix 5068957 |
|
257 |
- Remove gst-04-g11n-potfiles.diff |
|
258 |
||
3796 | 259 |
* Mon Aug 30 2004 - [email protected] |
260 |
- Add gst-04-g11n-potfiles.diff |
|
261 |
||
3785 | 262 |
* Sun Aug 29 2004 - [email protected] |
263 |
- Now packaging gtk-docs. |
|
264 |
||
3775 | 265 |
* Tue Aug 23 2004 - [email protected] |
266 |
- Now building gtk-docs. |
|
267 |
||
3659 | 268 |
* Fri Aug 20 2004 - [email protected] |
269 |
- Fixed typo. |
|
270 |
||
3655 | 271 |
* Fri Aug 20 2004 - [email protected] |
3653 | 272 |
- gst-xmlinspect man page packaged |
3659 | 273 |
|
3524 | 274 |
* Mon Aug 09 2004 - [email protected] |
275 |
- Corrected Linux packaging. Corrected Release to 2 since |
|
276 |
this is the 2nd change after bumping the release last |
|
277 |
Thursday. |
|
140 | 278 |
|
3448 | 279 |
* Thu Jul 29 2004 - [email protected] |
280 |
- Bumped revision of gstreamer to 0.8.4, making patches 4 and 5 go away |
|
281 |
since they were integrated into CVS head. |
|
282 |
||
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 |
||
3628 | 288 |
* Mon Jul 12 2004 - [email protected] |
289 |
- ported to rpm4, pkg'd some missing files |
|
290 |
||
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
291 |
* Thu Jul 08 2004 - [email protected] |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
292 |
- Adding gst-l10n-po-1.2.tar.bz2 l10n content |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
293 |
|
3263 | 294 |
* Wed Jul 07 2004 - [email protected] |
295 |
- added "-j $CPUS" to make to speed up builds |
|
296 |
||
2766 | 297 |
* Fri May 14 2004 - [email protected] |
298 |
- added patch 03 from CVS head to support aligned memory access, |
|
299 |
needed for Solaris. |
|
2733 | 300 |
* Wed May 12 2004 - [email protected] |
301 |
- Updated to tarball 0.8.1 version as per Laca and yippi request. |
|
302 |
||
2691 | 303 |
* Mon May 10 2004 - [email protected] |
304 |
- autotools-jdsize to fix Makefile problem |
|
305 |
||
306 |
* Thu May 02 2004 - [email protected] |
|
307 |
- Add glib-gettextize, aclocal, and autoconf calls |
|
308 |
so that gettext patches to configure.in/configure.ac |
|
309 |
get included. Added patches mentioned above to |
|
310 |
appropriate spec files. |
|
311 |
||
2390 | 312 |
* Mon Apr 05 2004 - [email protected] |
313 |
- changed majorminor version to 0.8 |
|
314 |
||
2375 | 315 |
* Fri Apr 02 2004 - [email protected] |
316 |
- Upgraded tarball to 0.8.0 which is released for 2.6 |
|
317 |
||
2220 | 318 |
* Tue Mar 16 2004 - [email protected] |
319 |
- Added gst-02-g11n-potfiles.diff |
|
2160 | 320 |
* Mon Mar 08 2004 - [email protected] |
321 |
- add patch to fix gst-*-uninstslled.pc Cflags. |
|
322 |
- disable docs build on Solaris for now (causes gthread error) |
|
323 |
||
1666 | 324 |
* Fri Feb 13 2004 - [email protected] |
325 |
- Bump to 0.7.4, update tools files |
|
326 |
||
1480 | 327 |
* Mon Jan 05 2004 - [email protected] |
328 |
- Fixed the postinstall problem. Basically, gst has allowed for parallel |
|
329 |
installed and had decided to have program named by /usr/bin/gst-regsiter-<majorminor> |
|
330 |
since we do not have parallel installed on our distro, so configure with |
|
331 |
--program-suffix="" to remove the version number. |
|
332 |
||
1476 | 333 |
* Wed Dec 17 2003 - [email protected] |
334 |
- bump to 0.7.2 |
|
335 |
||
1237 | 336 |
* Fri Oct 10 2003 - [email protected] |
337 |
- Removed the patch 01 which is already in 0.63 release of gstreamer |
|
338 |
updtaed spec file to build for Qs. and also include a patch from Bala |
|
339 |
as part of the fix to 4880305. |
|
340 |
||
1188 | 341 |
* Fri Oct 03 2003 - [email protected] |
342 |
- Pulled out two patches from the 0.63 release that fixes a infinite loop |
|
343 |
and a crash, bugzilla 120741 and 104829. |
|
344 |
||
745 | 345 |
* Wed Jul 23 2003 - [email protected] |
346 |
- Added a patch to disable putbits which uses a potential patent ridden |
|
347 |
issue with mpeg |
|
348 |
||
140 | 349 |
* Tue May 14 2003 - [email protected] |
350 |
- initial release version for gstreamer |