author | hh150184 |
Tue, 24 Jan 2006 11:56:37 +0000 | |
branch | gnome-2-12 |
changeset 19207 | b59a653a3329 |
parent 6299 | 4b3aea37c890 |
child 6428 | 256e47b2dadf |
permissions | -rw-r--r-- |
824 | 1 |
# |
2 |
# spec file for package totem |
|
3 |
# |
|
5518 | 4 |
# Copyright (c) 2005 Sun Microsystems, Inc. |
824 | 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 |
||
10 |
Name: totem |
|
11 |
License: GPL |
|
12 |
Group: System/GUI/GNOME |
|
6025 | 13 |
Version: 1.2.0 |
5518 | 14 |
Release: 1 |
15 |
Distribution: Java Desktop System |
|
824 | 16 |
Vendor: Sun Microsystems, Inc. |
17 |
Summary: Totem Multimedia Player |
|
6081 | 18 |
Source: http://ftp.gnome.org/pub/GNOME/sources/totem/1.2/%{name}-%{version}.tar.bz2 |
5829 | 19 |
Patch1: totem-01-desktop.sh.diff |
1413 | 20 |
Patch2: totem-02-menu-entry.diff |
5518 | 21 |
Patch3: totem-03-use-jmplay-for-wav-mp3.diff |
22 |
Patch4: totem-04-mnttab.diff |
|
824 | 23 |
URL: http://www.gnome.org |
24 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
25 |
Docdir: %{_defaultdocdir}/%{name} |
|
26 |
Autoreqprov: on |
|
27 |
||
3628 | 28 |
%define libgnomeui_version 2.6.0 |
29 |
%define gstreamer_version 0.8.1 |
|
30 |
%define gstreamer_plugins_version 0.8.1 |
|
4363 | 31 |
%define gnome_desktop_version 2.6.1 |
824 | 32 |
|
33 |
Requires: libgnomeui >= %{libgnomeui_version} |
|
34 |
Requires: gstreamer >= %{gstreamer_version} |
|
35 |
Requires: gstreamer-plugins >= %{gstreamer_plugins_version} |
|
4363 | 36 |
Requires: gnome-desktop >= %{gnome_desktop_version} |
5877 | 37 |
Requires: iso-codes |
824 | 38 |
BuildRequires: libgnomeui-devel >= %{libgnomeui_version} |
39 |
BuildRequires: gstreamer-devel >= %{gstreamer_version} |
|
40 |
BuildRequires: gstreamer-plugins-devel >= %{gstreamer_plugins_version} |
|
4363 | 41 |
BuildRequires: gnome-desktop-devel >= %{gnome_desktop_version} |
824 | 42 |
|
43 |
%description |
|
44 |
Totem is multimeida player for the GNOME desktop, allowing you to play CDs, DVDS and a |
|
45 |
wide range of multimedia formats |
|
46 |
||
47 |
%prep |
|
48 |
%setup -q |
|
5829 | 49 |
%patch1 -p1 |
1413 | 50 |
%patch2 -p1 |
3361 | 51 |
%patch3 -p1 |
6025 | 52 |
%patch4 -p1 |
4455 | 53 |
|
824 | 54 |
%build |
3263 | 55 |
%ifos linux |
56 |
if [ -x /usr/bin/getconf ]; then |
|
57 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
58 |
fi |
|
59 |
%else |
|
3846 | 60 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 61 |
%endif |
62 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
63 |
CPUS=1 |
|
64 |
fi |
|
65 |
||
4111 | 66 |
if test "x$x_includes" = "x"; then |
67 |
x_includes="/usr/X11/include" |
|
68 |
fi |
|
69 |
||
70 |
if test "x$x_libraries" = "x"; then |
|
71 |
x_libraries="/usr/X11/lib" |
|
72 |
fi |
|
73 |
||
6025 | 74 |
libtoolize --force |
75 |
aclocal $ACLOCAL_FLAGS |
|
76 |
autoheader |
|
77 |
automake -a -c -f |
|
78 |
autoconf |
|
79 |
||
3897 | 80 |
CFLAGS="$RPM_OPT_FLAGS" \ |
3895
caf5571f7b66
* control-center.spec, gtk2.spec, gnome-session.spec, metacity.spec,
dc144907
parents:
3858
diff
changeset
|
81 |
./configure \ |
824 | 82 |
--prefix=%{_prefix} \ |
83 |
--sysconfdir=%{_sysconfdir} \ |
|
4570 | 84 |
--libdir=%{_libdir} \ |
85 |
--bindir=%{_bindir} \ |
|
3361 | 86 |
--libexecdir=%{_libexecdir} \ |
3628 | 87 |
--mandir=%{_mandir} \ |
824 | 88 |
--localstatedir=/var/lib \ |
89 |
--enable-gstreamer \ |
|
4111 | 90 |
--disable-lirc \ |
91 |
--x-includes="$x_includes" \ |
|
92 |
--x-libraries="$x_libraries" |
|
3263 | 93 |
make -j $CPUS |
824 | 94 |
|
95 |
%install |
|
96 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|
97 |
make -i install DESTDIR=$RPM_BUILD_ROOT |
|
98 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
|
99 |
rm -rf $RPM_BUILD_ROOT%{_bindir}/vanity |
|
100 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/applications/vanity.desktop |
|
101 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/totem/vanity.glade |
|
102 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/totem/vanity.png |
|
103 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/pixmaps/vanity.png |
|
3628 | 104 |
rm -f $RPM_BUILD_ROOT%{_datadir}/mime-info/totem.keys |
105 |
rm -f $RPM_BUILD_ROOT%{_datadir}/application-registry/totem.applications |
|
824 | 106 |
|
5400
46e96785b77d
* gtkam.spec, totem.spec: Fix 6227253: Change xml file in [gtkam|totem]-C.omf
dc144907
parents:
5370
diff
changeset
|
107 |
# 6227253: Change xml file in totem-C.omf from totem.xml to sample_apps_info.xml |
46e96785b77d
* gtkam.spec, totem.spec: Fix 6227253: Change xml file in [gtkam|totem]-C.omf
dc144907
parents:
5370
diff
changeset
|
108 |
# (part of gnome-user-docs). |
46e96785b77d
* gtkam.spec, totem.spec: Fix 6227253: Change xml file in [gtkam|totem]-C.omf
dc144907
parents:
5370
diff
changeset
|
109 |
sed 's/totem.C.totem.xml/sample_apps_info\/C\/sample_apps_info.xml/' $RPM_BUILD_ROOT%{_datadir}/omf/totem/totem-C.omf >/tmp/totem-C.omf |
46e96785b77d
* gtkam.spec, totem.spec: Fix 6227253: Change xml file in [gtkam|totem]-C.omf
dc144907
parents:
5370
diff
changeset
|
110 |
rm $RPM_BUILD_ROOT%{_datadir}/omf/totem/totem-C.omf |
46e96785b77d
* gtkam.spec, totem.spec: Fix 6227253: Change xml file in [gtkam|totem]-C.omf
dc144907
parents:
5370
diff
changeset
|
111 |
mv /tmp/totem-C.omf $RPM_BUILD_ROOT%{_datadir}/omf/totem/totem-C.omf |
46e96785b77d
* gtkam.spec, totem.spec: Fix 6227253: Change xml file in [gtkam|totem]-C.omf
dc144907
parents:
5370
diff
changeset
|
112 |
|
4873 | 113 |
|
824 | 114 |
%clean |
115 |
rm -rf $RPM_BUILD_ROOT |
|
116 |
||
117 |
%post |
|
118 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
|
119 |
SCHEMAS="totem.schemas totem-video-thumbnail.schemas" |
|
120 |
for S in $SCHEMAS; do |
|
121 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null |
|
122 |
done |
|
123 |
||
124 |
%files |
|
125 |
%defattr (-, root, root) |
|
126 |
%{_bindir}/* |
|
127 |
%{_sysconfdir}/gconf/schemas |
|
5518 | 128 |
%{_libdir}/* |
5878 | 129 |
%{_libexecdir}/* |
824 | 130 |
%{_datadir}/applications |
5518 | 131 |
%{_datadir}/gnome/help/totem/* |
132 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
133 |
%{_datadir}/omf/totem/* |
|
824 | 134 |
%{_datadir}/pixmaps/* |
135 |
%{_datadir}/totem/* |
|
3628 | 136 |
%{_mandir}/man1/totem* |
5518 | 137 |
%{_includedir}/totem/* |
824 | 138 |
|
139 |
%changelog |
|
6299 | 140 |
* Tue Nov 29 2005 - laca.com |
141 |
- remove javahelp stuff |
|
142 |
||
6025 | 143 |
* Tue Sep 27 2005 - [email protected] |
144 |
- Bump to 1.2.0. |
|
145 |
- Fix patch4 so it compiles against latest code. |
|
146 |
||
6018 | 147 |
* Tue Sep 27 2005 - [email protected] |
148 |
- Bump to 1.1.5. |
|
149 |
||
5829 | 150 |
* Mon Sep 12 2005 - [email protected] |
151 |
- add patch desktop.sh.diff: changes echo -n to printf as echo -n doesn't |
|
152 |
work on Solaris |
|
5830 | 153 |
|
5548
ddbd17ae3838
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
154 |
* Tue Aug 16 2005 - [email protected] |
ddbd17ae3838
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
155 |
- Bump to 1.1.4. |
ddbd17ae3838
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
156 |
|
5518 | 157 |
* Tue Jul 12 2005 - [email protected] |
158 |
- Add patch 5 to build CD-ROM code (src/totem-disc.c) on Solaris. |
|
159 |
http://bugzilla.gnome.org/show_bug.cgi?id=310149 |
|
160 |
||
161 |
* Thu Jun 16 2005 - [email protected] |
|
162 |
- Bump to 1.0.3 |
|
163 |
||
164 |
* Thu Jun 09 2005 - [email protected] |
|
165 |
- Bump to 1.0.1 |
|
166 |
- Remove patchs 02, 03, 04 |
|
167 |
- Rename patch 05 to 03 |
|
168 |
||
5400
46e96785b77d
* gtkam.spec, totem.spec: Fix 6227253: Change xml file in [gtkam|totem]-C.omf
dc144907
parents:
5370
diff
changeset
|
169 |
* Thu May 05 2005 - [email protected] |
46e96785b77d
* gtkam.spec, totem.spec: Fix 6227253: Change xml file in [gtkam|totem]-C.omf
dc144907
parents:
5370
diff
changeset
|
170 |
- 6227253: Change xml file in totem-C.omf from totem.xml to |
46e96785b77d
* gtkam.spec, totem.spec: Fix 6227253: Change xml file in [gtkam|totem]-C.omf
dc144907
parents:
5370
diff
changeset
|
171 |
sample_apps_info.xml (part of gnome-user-docs). Bit of a hack but a very easy |
46e96785b77d
* gtkam.spec, totem.spec: Fix 6227253: Change xml file in [gtkam|totem]-C.omf
dc144907
parents:
5370
diff
changeset
|
172 |
one to maintain. |
46e96785b77d
* gtkam.spec, totem.spec: Fix 6227253: Change xml file in [gtkam|totem]-C.omf
dc144907
parents:
5370
diff
changeset
|
173 |
|
5133 | 174 |
* Fri Feb 25 2005 - [email protected] |
175 |
- Added dummy l10n help files to follow base update |
|
176 |
||
5088 | 177 |
* Mon Feb 14 2005 - [email protected] |
5084
d24d1d7d4f18
* glade.spec: Integrate docs tarball (glade-docs-0.1) from [email protected]
dc144907
parents:
5082
diff
changeset
|
178 |
- Integrate docs tarball (totem-docs-0.1) from [email protected]. |
d24d1d7d4f18
* glade.spec: Integrate docs tarball (glade-docs-0.1) from [email protected]
dc144907
parents:
5082
diff
changeset
|
179 |
|
5051 | 180 |
* Thu Feb 10 2005 - [email protected] |
181 |
- 6227304 : install german help correctly |
|
182 |
||
4873 | 183 |
* Wed Jan 19 2005 - [email protected] |
184 |
- Add Javahelp convert #6197736 |
|
185 |
||
4570 | 186 |
* Sun Nov 14 2004 - [email protected] |
187 |
- add --bindir=%{_bindir} and --libdir=%{_libdir} to configure opts |
|
188 |
||
4363 | 189 |
* Fri Oct 29 2004 - [email protected] |
190 |
- Add missing deps |
|
191 |
||
4111 | 192 |
* Fri Oct 01 2004 - [email protected] |
193 |
- Added '--x-libraries' option in configure to fix bug 5081938 |
|
194 |
||
3897 | 195 |
* Sat Sep 11 2004 - [email protected] |
196 |
- Move Solaris specific LDFLAGS to the Solaris spec file |
|
197 |
||
3895
caf5571f7b66
* control-center.spec, gtk2.spec, gnome-session.spec, metacity.spec,
dc144907
parents:
3858
diff
changeset
|
198 |
* Fri Sep 10 2004 - [email protected] |
caf5571f7b66
* control-center.spec, gtk2.spec, gnome-session.spec, metacity.spec,
dc144907
parents:
3858
diff
changeset
|
199 |
- Set LDFLAGS so Xrandr and Xrender can be found. |
caf5571f7b66
* control-center.spec, gtk2.spec, gnome-session.spec, metacity.spec,
dc144907
parents:
3858
diff
changeset
|
200 |
|
3839 | 201 |
* Fri Sep 03 2004 - [email protected] |
202 |
- Added patch 05 to let jmplay handle wav and mp3 files. |
|
203 |
Fixes bugtraq #5093284. |
|
204 |
||
3366 | 205 |
* Mon Jul 19 2004 - [email protected] |
206 |
- Added patch 04 so that icons get displayed on Solaris. |
|
207 |
Patch approved by totem maintainer. |
|
208 |
||
3361 | 209 |
* Fri Jul 16 2004 - [email protected] |
210 |
- Added patch 03 to support building on Solaris. |
|
211 |
||
3628 | 212 |
* Wed Jul 14 2004 - [email protected] |
213 |
- packaging fixes for rpm4 |
|
214 |
||
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
215 |
* 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
|
216 |
- Updated l10n content to totem-l10n-po-1.2.tar.bz2 |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
217 |
|
3263 | 218 |
* Wed Jul 07 2004 - [email protected] |
219 |
- added "-j $CPUS" to make to speed up builds |
|
220 |
||
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
221 |
* Wed May 12 2004 - [email protected] |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
222 |
- Updated l10n content to totem-l10n-po-1.1.tar.bz2 |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
223 |
|
2556 | 224 |
* Mon Apr 26 2004 - [email protected] |
225 |
- Bump to 0.99.11 |
|
226 |
||
2467 | 227 |
* Thu Apr 15 2004 - [email protected] |
228 |
- Bump to 0.99.10, and remove Ghee's temporary workaround |
|
229 |
patch. |
|
230 |
||
2408 | 231 |
* Tue Apr 06 2004 - [email protected] |
232 |
- Created a totem-03-temporary-workaround-build.diff to resolve the |
|
233 |
hardcoded GST_MAJORMINOR=0.7 problem. This patch should be removed |
|
234 |
once a new release totem is available. |
|
235 |
||
2355 | 236 |
* Wed Mar 31 2004 - [email protected] |
237 |
- replace tar jxf with the more solaris friendly |
|
238 |
bzcat piped through tar |
|
239 |
||
2350 | 240 |
* Mon Mar 29 2004 - [email protected] |
241 |
- Adding totem-l10n-po-1.0.tar.bz2 l10n content |
|
242 |
||
1668 | 243 |
* Fri Feb 13 2004 - [email protected] |
244 |
- Bump tarball to 0.99.9, redo patch 01 |
|
245 |
||
1525 | 246 |
* Mon Jan 12 2004 - [email protected] |
247 |
- Bump tarball to 0.99.8, patch for compile errors |
|
248 |
||
1413 | 249 |
* Fri Nov 14 2003 - [email protected] |
250 |
- Re add the desktop patch to change the menu entry. |
|
251 |
||
1361 | 252 |
* Fri Oct 31 2003 - [email protected] |
253 |
- Remove the Sun Supported keyword from the |
|
254 |
desktop file, since we're no longer going with the Extras |
|
255 |
menu. |
|
256 |
||
1335 | 257 |
* Wed Oct 22 2003 - [email protected] |
258 |
- Update to 0.99.7 |
|
259 |
||
1243 | 260 |
* Fri Oct 13 2003 - [email protected] |
261 |
- Update to 0.99.6 |
|
262 |
||
1071 | 263 |
* Thu Aug 14 2003 - [email protected] |
264 |
- Removed totem totem.applications and totem.keys so that jmplay can |
|
265 |
become the default media player. |
|
1243 | 266 |
|
941 | 267 |
* Sat Aug 02 2003 - [email protected] |
268 |
- Update menu entry. |
|
1243 | 269 |
|
824 | 270 |
* Fri Jul 25 2003 - [email protected] |
271 |
- Initial Sun release |