author | dc144907 |
Tue, 16 Aug 2005 16:09:17 +0000 | |
changeset 5548 | ddbd17ae3838 |
parent 5518 | 235b0b4aa324 |
child 5655 | aae805c19004 |
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 |
|
5548
ddbd17ae3838
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
13 |
Version: 1.1.4 |
5518 | 14 |
Release: 1 |
15 |
Distribution: Java Desktop System |
|
824 | 16 |
Vendor: Sun Microsystems, Inc. |
17 |
Summary: Totem Multimedia Player |
|
5548
ddbd17ae3838
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
18 |
Source: http://ftp.gnome.org/pub/GNOME/sources/totem/1.1/%{name}-%{version}.tar.bz2 |
824 | 19 |
Patch1: totem-01-init-threads.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} |
824 | 37 |
BuildRequires: libgnomeui-devel >= %{libgnomeui_version} |
38 |
BuildRequires: gstreamer-devel >= %{gstreamer_version} |
|
39 |
BuildRequires: gstreamer-plugins-devel >= %{gstreamer_plugins_version} |
|
4363 | 40 |
BuildRequires: gnome-desktop-devel >= %{gnome_desktop_version} |
4873 | 41 |
BuildRequires: javahelp-convert |
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 |
|
49 |
%patch1 -p1 |
|
1413 | 50 |
%patch2 -p1 |
3361 | 51 |
%patch3 -p1 |
3366 | 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 |
||
3897 | 74 |
CFLAGS="$RPM_OPT_FLAGS" \ |
3895
caf5571f7b66
* control-center.spec, gtk2.spec, gnome-session.spec, metacity.spec,
dc144907
parents:
3858
diff
changeset
|
75 |
./configure \ |
824 | 76 |
--prefix=%{_prefix} \ |
77 |
--sysconfdir=%{_sysconfdir} \ |
|
4570 | 78 |
--libdir=%{_libdir} \ |
79 |
--bindir=%{_bindir} \ |
|
3361 | 80 |
--libexecdir=%{_libexecdir} \ |
3628 | 81 |
--mandir=%{_mandir} \ |
824 | 82 |
--localstatedir=/var/lib \ |
83 |
--enable-gstreamer \ |
|
4111 | 84 |
--disable-lirc \ |
85 |
--x-includes="$x_includes" \ |
|
86 |
--x-libraries="$x_libraries" |
|
3263 | 87 |
make -j $CPUS |
824 | 88 |
|
89 |
%install |
|
90 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|
91 |
make -i install DESTDIR=$RPM_BUILD_ROOT |
|
92 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
|
93 |
rm -rf $RPM_BUILD_ROOT%{_bindir}/vanity |
|
94 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/applications/vanity.desktop |
|
95 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/totem/vanity.glade |
|
96 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/totem/vanity.png |
|
97 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/pixmaps/vanity.png |
|
3628 | 98 |
rm -f $RPM_BUILD_ROOT%{_datadir}/mime-info/totem.keys |
99 |
rm -f $RPM_BUILD_ROOT%{_datadir}/application-registry/totem.applications |
|
824 | 100 |
|
5400
46e96785b77d
* gtkam.spec, totem.spec: Fix 6227253: Change xml file in [gtkam|totem]-C.omf
dc144907
parents:
5370
diff
changeset
|
101 |
# 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
|
102 |
# (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
|
103 |
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
|
104 |
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
|
105 |
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
|
106 |
|
4873 | 107 |
javahelp-convert-install $RPM_BUILD_ROOT %{name} %{name}.xml |
108 |
||
824 | 109 |
%clean |
110 |
rm -rf $RPM_BUILD_ROOT |
|
111 |
||
112 |
%post |
|
113 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
|
114 |
SCHEMAS="totem.schemas totem-video-thumbnail.schemas" |
|
115 |
for S in $SCHEMAS; do |
|
116 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null |
|
117 |
done |
|
118 |
||
119 |
%files |
|
120 |
%defattr (-, root, root) |
|
121 |
%{_bindir}/* |
|
122 |
%{_sysconfdir}/gconf/schemas |
|
5518 | 123 |
%{_libdir}/* |
824 | 124 |
%{_datadir}/applications |
5518 | 125 |
%{_datadir}/gnome/help/totem/* |
126 |
%{_datadir}/gnome/javahelp/totem/* |
|
127 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
128 |
%{_datadir}/omf/totem/* |
|
824 | 129 |
%{_datadir}/pixmaps/* |
130 |
%{_datadir}/totem/* |
|
3628 | 131 |
%{_mandir}/man1/totem* |
5518 | 132 |
%{_includedir}/totem/* |
824 | 133 |
|
134 |
%changelog |
|
5548
ddbd17ae3838
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
135 |
* Tue Aug 16 2005 - [email protected] |
ddbd17ae3838
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
136 |
- Bump to 1.1.4. |
ddbd17ae3838
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
137 |
|
5518 | 138 |
* Tue Jul 12 2005 - [email protected] |
139 |
- Add patch 5 to build CD-ROM code (src/totem-disc.c) on Solaris. |
|
140 |
http://bugzilla.gnome.org/show_bug.cgi?id=310149 |
|
141 |
||
142 |
* Thu Jun 16 2005 - [email protected] |
|
143 |
- Bump to 1.0.3 |
|
144 |
||
145 |
* Thu Jun 09 2005 - [email protected] |
|
146 |
- Bump to 1.0.1 |
|
147 |
- Remove patchs 02, 03, 04 |
|
148 |
- Rename patch 05 to 03 |
|
149 |
||
5400
46e96785b77d
* gtkam.spec, totem.spec: Fix 6227253: Change xml file in [gtkam|totem]-C.omf
dc144907
parents:
5370
diff
changeset
|
150 |
* 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
|
151 |
- 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
|
152 |
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
|
153 |
one to maintain. |
46e96785b77d
* gtkam.spec, totem.spec: Fix 6227253: Change xml file in [gtkam|totem]-C.omf
dc144907
parents:
5370
diff
changeset
|
154 |
|
5133 | 155 |
* Fri Feb 25 2005 - [email protected] |
156 |
- Added dummy l10n help files to follow base update |
|
157 |
||
5088 | 158 |
* 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
|
159 |
- 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
|
160 |
|
5051 | 161 |
* Thu Feb 10 2005 - [email protected] |
162 |
- 6227304 : install german help correctly |
|
163 |
||
4873 | 164 |
* Wed Jan 19 2005 - [email protected] |
165 |
- Add Javahelp convert #6197736 |
|
166 |
||
4570 | 167 |
* Sun Nov 14 2004 - [email protected] |
168 |
- add --bindir=%{_bindir} and --libdir=%{_libdir} to configure opts |
|
169 |
||
4363 | 170 |
* Fri Oct 29 2004 - [email protected] |
171 |
- Add missing deps |
|
172 |
||
4111 | 173 |
* Fri Oct 01 2004 - [email protected] |
174 |
- Added '--x-libraries' option in configure to fix bug 5081938 |
|
175 |
||
3897 | 176 |
* Sat Sep 11 2004 - [email protected] |
177 |
- Move Solaris specific LDFLAGS to the Solaris spec file |
|
178 |
||
3895
caf5571f7b66
* control-center.spec, gtk2.spec, gnome-session.spec, metacity.spec,
dc144907
parents:
3858
diff
changeset
|
179 |
* Fri Sep 10 2004 - [email protected] |
caf5571f7b66
* control-center.spec, gtk2.spec, gnome-session.spec, metacity.spec,
dc144907
parents:
3858
diff
changeset
|
180 |
- 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
|
181 |
|
3839 | 182 |
* Fri Sep 03 2004 - [email protected] |
183 |
- Added patch 05 to let jmplay handle wav and mp3 files. |
|
184 |
Fixes bugtraq #5093284. |
|
185 |
||
3366 | 186 |
* Mon Jul 19 2004 - [email protected] |
187 |
- Added patch 04 so that icons get displayed on Solaris. |
|
188 |
Patch approved by totem maintainer. |
|
189 |
||
3361 | 190 |
* Fri Jul 16 2004 - [email protected] |
191 |
- Added patch 03 to support building on Solaris. |
|
192 |
||
3628 | 193 |
* Wed Jul 14 2004 - [email protected] |
194 |
- packaging fixes for rpm4 |
|
195 |
||
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
196 |
* 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
|
197 |
- 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
|
198 |
|
3263 | 199 |
* Wed Jul 07 2004 - [email protected] |
200 |
- added "-j $CPUS" to make to speed up builds |
|
201 |
||
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
202 |
* 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
|
203 |
- 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
|
204 |
|
2556 | 205 |
* Mon Apr 26 2004 - [email protected] |
206 |
- Bump to 0.99.11 |
|
207 |
||
2467 | 208 |
* Thu Apr 15 2004 - [email protected] |
209 |
- Bump to 0.99.10, and remove Ghee's temporary workaround |
|
210 |
patch. |
|
211 |
||
2408 | 212 |
* Tue Apr 06 2004 - [email protected] |
213 |
- Created a totem-03-temporary-workaround-build.diff to resolve the |
|
214 |
hardcoded GST_MAJORMINOR=0.7 problem. This patch should be removed |
|
215 |
once a new release totem is available. |
|
216 |
||
2355 | 217 |
* Wed Mar 31 2004 - [email protected] |
218 |
- replace tar jxf with the more solaris friendly |
|
219 |
bzcat piped through tar |
|
220 |
||
2350 | 221 |
* Mon Mar 29 2004 - [email protected] |
222 |
- Adding totem-l10n-po-1.0.tar.bz2 l10n content |
|
223 |
||
1668 | 224 |
* Fri Feb 13 2004 - [email protected] |
225 |
- Bump tarball to 0.99.9, redo patch 01 |
|
226 |
||
1525 | 227 |
* Mon Jan 12 2004 - [email protected] |
228 |
- Bump tarball to 0.99.8, patch for compile errors |
|
229 |
||
1413 | 230 |
* Fri Nov 14 2003 - [email protected] |
231 |
- Re add the desktop patch to change the menu entry. |
|
232 |
||
1361 | 233 |
* Fri Oct 31 2003 - [email protected] |
234 |
- Remove the Sun Supported keyword from the |
|
235 |
desktop file, since we're no longer going with the Extras |
|
236 |
menu. |
|
237 |
||
1335 | 238 |
* Wed Oct 22 2003 - [email protected] |
239 |
- Update to 0.99.7 |
|
240 |
||
1243 | 241 |
* Fri Oct 13 2003 - [email protected] |
242 |
- Update to 0.99.6 |
|
243 |
||
1071 | 244 |
* Thu Aug 14 2003 - [email protected] |
245 |
- Removed totem totem.applications and totem.keys so that jmplay can |
|
246 |
become the default media player. |
|
1243 | 247 |
|
941 | 248 |
* Sat Aug 02 2003 - [email protected] |
249 |
- Update menu entry. |
|
1243 | 250 |
|
824 | 251 |
* Fri Jul 25 2003 - [email protected] |
252 |
- Initial Sun release |