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