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