author | Jon Tibble <meths@btinternet.com> |
Thu, 15 Mar 2012 09:58:35 +0000 | |
branch | s11express-2010-11 |
changeset 22104 | cde243cbe3f6 |
parent 18010 | e463a1fc8d80 |
child 19973 | f05dadadf325 |
child 20196 | a71e5d0d3281 |
permissions | -rw-r--r-- |
11275 | 1 |
# |
2 |
# spec file for package totem-pl-parser |
|
3 |
# |
|
11405 | 4 |
# Copyright (c) 2008 Sun Microsystems, Inc. |
11275 | 5 |
# This file and all modifications and additions to the pristine |
6 |
# package are under the same license as the package itself. |
|
7 |
# |
|
17988 | 8 |
%define owner yippi |
11275 | 9 |
# |
16431 | 10 |
|
17852 | 11 |
%define OSR LFI#105446 (gnome Exec. summary):n/a |
16431 | 12 |
|
11275 | 13 |
%include l10n.inc |
14 |
Name: totem-pl-parser |
|
14571 | 15 |
License: LGPL v2 |
11275 | 16 |
Group: System/GUI/GNOME |
18010 | 17 |
Version: 2.30.1 |
11275 | 18 |
Release: 1 |
19 |
Distribution: Java Desktop System |
|
17865 | 20 |
Vendor: Gnome Community |
11275 | 21 |
Summary: Totem Multimedia Player |
17825 | 22 |
Source: http://ftp.gnome.org/pub/GNOME/sources/totem-pl-parser/2.30/%{name}-%{version}.tar.bz2 |
14672 | 23 |
|
17988 | 24 |
#owner:yippi date:2008-11-27 type:branding |
15464 | 25 |
Patch1: totem-pl-parser-01-ignore-cdda.diff |
17988 | 26 |
#owner:yippi date:2009-03-27 type:branding |
15518
57f1bb699e1b
add patch to fix rdsk/dsk problem for totem-pl-parser
jerrytan
parents:
15506
diff
changeset
|
27 |
Patch2: %{name}-02-replace-rdsk-with-dsk.diff |
17988 | 28 |
#owner:yippi date:2009-06-03 type:branding |
15849 | 29 |
Patch3: %{name}-03-token-size.diff |
17988 | 30 |
#owner:yippi date:2009-12-15 type:branding |
17184 | 31 |
Patch4: %{name}-04-memmem.diff |
15464 | 32 |
|
33 |
||
12031 | 34 |
%if %build_l10n |
35 |
Source1: l10n-configure.sh |
|
36 |
%endif |
|
11275 | 37 |
URL: http://www.gnome.org |
38 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
39 |
Docdir: %{_defaultdocdir}/%{name} |
|
40 |
Autoreqprov: on |
|
41 |
||
42 |
%define libgnomeui_version 2.6.0 |
|
43 |
%define gstreamer_version 0.8.1 |
|
44 |
%define gstreamer_plugins_version 0.8.1 |
|
45 |
%define gnome_desktop_version 2.6.1 |
|
46 |
||
47 |
Requires: libgnomeui >= %{libgnomeui_version} |
|
48 |
Requires: gstreamer >= %{gstreamer_version} |
|
49 |
Requires: gstreamer-plugins >= %{gstreamer_plugins_version} |
|
50 |
Requires: gnome-desktop >= %{gnome_desktop_version} |
|
51 |
Requires: iso-codes |
|
52 |
BuildRequires: libgnomeui-devel >= %{libgnomeui_version} |
|
53 |
BuildRequires: gstreamer-devel >= %{gstreamer_version} |
|
54 |
BuildRequires: gstreamer-plugins-devel >= %{gstreamer_plugins_version} |
|
55 |
BuildRequires: gnome-desktop-devel >= %{gnome_desktop_version} |
|
56 |
||
57 |
%description |
|
11760
34f8909f824b
Add better description for totem-pl-parser, not just
yippi
parents:
11709
diff
changeset
|
58 |
A simple GObject-based library to parse and save a variety of |
34f8909f824b
Add better description for totem-pl-parser, not just
yippi
parents:
11709
diff
changeset
|
59 |
playlist formats. |
11275 | 60 |
|
61 |
%prep |
|
62 |
%setup -q |
|
15464 | 63 |
%patch1 -p1 |
15518
57f1bb699e1b
add patch to fix rdsk/dsk problem for totem-pl-parser
jerrytan
parents:
15506
diff
changeset
|
64 |
%patch2 -p1 |
15849 | 65 |
%patch3 -p1 |
17184 | 66 |
%patch4 -p1 |
11275 | 67 |
|
68 |
%build |
|
69 |
%ifos linux |
|
70 |
if [ -x /usr/bin/getconf ]; then |
|
71 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
72 |
fi |
|
73 |
%else |
|
74 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
75 |
%endif |
|
76 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
77 |
CPUS=1 |
|
78 |
fi |
|
79 |
||
80 |
if test "x$x_includes" = "x"; then |
|
81 |
x_includes="/usr/X11/include" |
|
82 |
fi |
|
83 |
||
84 |
if test "x$x_libraries" = "x"; then |
|
85 |
x_libraries="/usr/X11/lib" |
|
86 |
fi |
|
87 |
||
88 |
libtoolize --force |
|
89 |
intltoolize --force --copy --automake |
|
12031 | 90 |
|
91 |
%if %build_l10n |
|
92 |
bash -x %SOURCE1 --enable-copyright |
|
93 |
%endif |
|
94 |
||
11275 | 95 |
aclocal $ACLOCAL_FLAGS |
96 |
autoheader |
|
97 |
automake -a -c -f |
|
98 |
autoconf |
|
99 |
||
15059
010cddb0f5c4
set AR=/usr/sfw/bin/gar to fix build issue(bz571265).
davelam
parents:
15024
diff
changeset
|
100 |
export AR="/usr/sfw/bin/gar" |
11275 | 101 |
export MOZILLA_PLUGINDIR="%{_libdir}/firefox/plugins" |
102 |
CFLAGS="$RPM_OPT_FLAGS" \ |
|
103 |
./configure \ |
|
104 |
--prefix=%{_prefix} \ |
|
105 |
--sysconfdir=%{_sysconfdir} \ |
|
106 |
--libdir=%{_libdir} \ |
|
107 |
--bindir=%{_bindir} \ |
|
108 |
--libexecdir=%{_libexecdir} \ |
|
109 |
--mandir=%{_mandir} \ |
|
110 |
--localstatedir=/var/lib |
|
17773 | 111 |
gmake -j $CPUS |
11275 | 112 |
|
113 |
%install |
|
114 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|
17773 | 115 |
gmake -i install DESTDIR=$RPM_BUILD_ROOT |
11275 | 116 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
117 |
||
118 |
%clean |
|
119 |
rm -rf $RPM_BUILD_ROOT |
|
120 |
||
121 |
%post |
|
122 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
|
123 |
SCHEMAS="totem.schemas totem-video-thumbnail.schemas" |
|
124 |
for S in $SCHEMAS; do |
|
125 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null |
|
126 |
done |
|
127 |
||
128 |
%files |
|
129 |
%defattr (-, root, root) |
|
130 |
%{_bindir}/* |
|
131 |
%{_sysconfdir}/gconf/schemas |
|
132 |
%{_libdir}/* |
|
133 |
%{_libexecdir}/* |
|
134 |
%{_datadir}/applications |
|
135 |
%{_datadir}/gnome/help/totem/* |
|
136 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
137 |
%{_datadir}/omf/totem/* |
|
138 |
%{_datadir}/pixmaps/* |
|
139 |
%{_datadir}/totem/* |
|
140 |
%{_mandir}/man1/totem* |
|
141 |
%{_includedir}/totem/* |
|
142 |
||
143 |
%changelog |
|
18010 | 144 |
* Fri May 21 2010 - [email protected] |
145 |
- Bump to 2.30.1. |
|
17825 | 146 |
* Mon Apr 12 2010 - [email protected] |
147 |
- Bump to 2.30.0. |
|
17733 | 148 |
* Fri Mar 19 2010 - [email protected] |
149 |
- Bump to 2.29.92. |
|
17675 | 150 |
* Thu Mar 11 2010 - [email protected] |
151 |
- Bump to 2.29.91. |
|
16745 | 152 |
* Wed Oct 14 2009 - [email protected] |
153 |
- Bump to 2.28.1 |
|
16638 | 154 |
* Thu Sep 24 2009 - [email protected] |
155 |
- Bump to 2.28.0. |
|
15731 | 156 |
* Thu May 7 2009 - [email protected] |
157 |
- Bump to 2.26.2 |
|
15617 | 158 |
* Tue Apr 14 2009 - [email protected] |
159 |
- Bump to 2.26.1. |
|
15518
57f1bb699e1b
add patch to fix rdsk/dsk problem for totem-pl-parser
jerrytan
parents:
15506
diff
changeset
|
160 |
* Fri Mar 27 2009 - [email protected] |
57f1bb699e1b
add patch to fix rdsk/dsk problem for totem-pl-parser
jerrytan
parents:
15506
diff
changeset
|
161 |
- add totem-pl-parser-02-replace-rdsk-with-dsk.diff to fix the bug of rhythmbox |
57f1bb699e1b
add patch to fix rdsk/dsk problem for totem-pl-parser
jerrytan
parents:
15506
diff
changeset
|
162 |
unable to display playlist from cd |
15408 | 163 |
* Tue Mar 17 2009 - [email protected] |
15617 | 164 |
- Bump to 2.26.0. |
15378 | 165 |
* Thu Mar 12 2009 - [email protected] |
166 |
- Bump to 2.25.92. |
|
15059
010cddb0f5c4
set AR=/usr/sfw/bin/gar to fix build issue(bz571265).
davelam
parents:
15024
diff
changeset
|
167 |
* Wed Feb 11 2009 - [email protected] |
010cddb0f5c4
set AR=/usr/sfw/bin/gar to fix build issue(bz571265).
davelam
parents:
15024
diff
changeset
|
168 |
- set AR=/usr/sfw/bin/gar to fix build issue(bz571265). |
15024 | 169 |
* Thu Feb 05 2009 - [email protected] |
170 |
- Bump to 2.25.90. |
|
14945 | 171 |
* Tue Jan 20 2009 - [email protected] |
172 |
- Bump to 2.25.1. Remove upstream patch totem-pl-parser-01-ignore-cdda.diff. |
|
13745 | 173 |
* Wed Sep 24 2008 - [email protected] |
174 |
- Bump to 2.24.0. |
|
13344 | 175 |
* Mon Sep 01 2008 - [email protected] |
176 |
- Bump to 2.23.91. |
|
177 |
- Remove patch 01-stat-header, fixed upstream, bugzilla:543119. |
|
178 |
- Remove patch 02-save-playlist-crash, fixed upstream, bugzilla:542178. |
|
12812 | 179 |
* Mon Jun 14 2008 - [email protected] |
180 |
- Bump to 2.23.3. |
|
12762 | 181 |
* Sun Jul 06 2008 - [email protected] |
182 |
- Add patch 01-stat-header to include sys/stat.h to get module to build. |
|
12651 | 183 |
* Thu Jun 12 2008 - [email protected] |
184 |
- Bump to 2.23.2. |
|
12289 | 185 |
* Tue May 13 2008 - [email protected] |
186 |
- Bump to 2.22.3. |
|
12066 | 187 |
* Wed Apr 09 2008 - [email protected] |
188 |
- Bump to 2.22.2. |
|
11831 | 189 |
* Mon Mar 10 2008 - [email protected] |
190 |
- Bump to 2.22.1. |
|
11709 | 191 |
* Mon Feb 25 2008 - [email protected] |
192 |
- Bump to 2.21.92. Remove upstream patch, 01-memmem. |
|
11507 | 193 |
* Wed Jan 23 2008 - [email protected] |
194 |
- Reintroduce patch 01-memmem as it is not actually upstream. |
|
11504 | 195 |
* Tue Jan 22 2008 - [email protected] |
196 |
- Bump to 2.21.91. Remove upstream patch, 01-memmem. |
|
11429 | 197 |
* Wed Jan 09 2008 - [email protected] |
198 |
- Add patch 01-memmem to fix build errors. |
|
11405 | 199 |
* Mon Jan 07 2008 - [email protected] |
200 |
- Bump to 2.21.90. |
|
11275 | 201 |
* Mon Dec 03 2007 - [email protected] |
202 |
- Initial Sun release |