author | yippi |
Thu, 05 Aug 2010 11:47:22 +0000 | |
changeset 19973 | f05dadadf325 |
parent 18221 | 6d31dcc2c25f |
child 20198 | 13b497e7691a |
permissions | -rw-r--r-- |
9397 | 1 |
# |
2 |
# spec file for package rhythmbox |
|
3 |
# |
|
19973 | 4 |
# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. |
9397 | 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 yippi |
9397 | 9 |
# |
16427 | 10 |
|
17852 | 11 |
%define OSR LFI#105446 (gnome Exec. summary):n/a |
16427 | 12 |
|
9397 | 13 |
Name: rhythmbox |
14571 | 14 |
License: GPL v2, MIT, BSD |
9397 | 15 |
Group: System/GUI/GNOME |
18221 | 16 |
Version: 0.13.0 |
9397 | 17 |
Release: 1 |
18 |
Distribution: Java Desktop System |
|
17865 | 19 |
Vendor: Gnome Community |
9397 | 20 |
Summary: Rhythmbox Multimedia Player |
18221 | 21 |
Source: http://ftp.gnome.org/pub/GNOME/sources/rhythmbox/0.13/%{name}-%{version}.tar.bz2 |
12031 | 22 |
%if %build_l10n |
23 |
Source1: l10n-configure.sh |
|
24 |
%endif |
|
17988 | 25 |
#owner:yippi date:2008-01-16 type:bug bugzilla:509846 |
11983 | 26 |
Patch1: rhythmbox-01-playcd.diff |
18022 | 27 |
#owner:yippi date:2009-10-26 type:branding bugzilla:599294 |
17015 | 28 |
Patch2: rhythmbox-02-coherence.diff |
17312 | 29 |
#owner:wangke date:2010-01-12 type:branding |
30 |
Patch3: rhythmbox-03-context.diff |
|
17915 | 31 |
#owner:yippi date:2010-04-22 type:branding |
32 |
Patch4: rhythmbox-04-gvfs.diff |
|
18221 | 33 |
#owner:yippi date:2010-07-09 type:bug bugzilla:623992 |
34 |
Patch5: rhythmbox-05-compile.diff |
|
9397 | 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 |
|
56 |
Rhythmbox is an integrated music management application |
|
57 |
||
58 |
%prep |
|
59 |
%setup -q |
|
60 |
%patch1 -p1 |
|
16722 | 61 |
%patch2 -p1 |
17312 | 62 |
%patch3 -p1 |
17915 | 63 |
%patch4 -p1 |
18221 | 64 |
%patch5 -p1 |
9397 | 65 |
|
66 |
%build |
|
67 |
%ifos linux |
|
68 |
if [ -x /usr/bin/getconf ]; then |
|
69 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
70 |
fi |
|
71 |
%else |
|
72 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
73 |
%endif |
|
74 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
75 |
CPUS=1 |
|
76 |
fi |
|
77 |
||
16709
d10063945a92
Use %default_python_version instead of %python_version
yippi
parents:
16614
diff
changeset
|
78 |
export PYTHON=/usr/bin/python%{default_python_version} |
15378 | 79 |
|
9397 | 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 |
||
10561 | 88 |
intltoolize --copy --force --automake |
12031 | 89 |
|
90 |
%if %build_l10n |
|
91 |
bash -x %SOURCE1 --enable-copyright |
|
92 |
%endif |
|
93 |
||
9397 | 94 |
## FIXME: Swap aclocal dir order to pick up gnome-doc-utils.m4 in 'macros'. |
95 |
##aclocal $ACLOCAL_FLAGS -I ./macros |
|
96 |
aclocal -I ./macros $ACLOCAL_FLAGS |
|
97 |
autoheader |
|
98 |
automake -a -c -f |
|
99 |
autoconf |
|
100 |
||
11431 | 101 |
export MOZILLA_PLUGINDIR="%{_libdir}/firefox/plugins" |
102 |
# --with-ipod requires that gtkpod be installed or configure will fail. |
|
9397 | 103 |
CFLAGS="$RPM_OPT_FLAGS" \ |
104 |
./configure \ |
|
105 |
--prefix=%{_prefix} \ |
|
106 |
--sysconfdir=%{_sysconfdir} \ |
|
107 |
--libdir=%{_libdir} \ |
|
108 |
--bindir=%{_bindir} \ |
|
109 |
--libexecdir=%{_libexecdir} \ |
|
110 |
--mandir=%{_mandir} \ |
|
111 |
--localstatedir=/var/lib \ |
|
13221
8e2cda137692
* base-specs/rhythmbox.spec: add disable-browser-plugin at configuring.
jyu_mit
parents:
13043
diff
changeset
|
112 |
--disable-browser-plugin \ |
9397 | 113 |
--enable-gstreamer |
114 |
#FIXME -j is breaking the build removing for now. |
|
115 |
#make -j $CPUS |
|
116 |
make |
|
117 |
||
118 |
%install |
|
119 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|
120 |
make -i install DESTDIR=$RPM_BUILD_ROOT |
|
121 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
|
9531 | 122 |
rm $RPM_BUILD_ROOT%{_libdir}/rhythmbox/plugins/*/lib*a |
9397 | 123 |
|
124 |
%clean |
|
125 |
rm -rf $RPM_BUILD_ROOT |
|
126 |
||
127 |
%post |
|
128 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
|
129 |
SCHEMAS="totem.schemas totem-video-thumbnail.schemas" |
|
130 |
for S in $SCHEMAS; do |
|
131 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null |
|
132 |
done |
|
133 |
||
134 |
%files |
|
135 |
%defattr (-, root, root) |
|
136 |
%{_bindir}/* |
|
137 |
%{_sysconfdir}/gconf/schemas |
|
138 |
%{_libdir}/* |
|
139 |
%{_libexecdir}/* |
|
140 |
%{_datadir}/applications |
|
141 |
%{_datadir}/gnome/help/totem/* |
|
142 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
143 |
%{_datadir}/pixmaps/* |
|
144 |
||
145 |
%changelog |
|
18221 | 146 |
* Fri Jul 09 2010 - [email protected] |
147 |
- Bump to 0.13.0. |
|
17915 | 148 |
* Thu Apr 22 2010 - [email protected] |
149 |
- Add patch rhythmbox-04-gvfs.diff so that rhythmbox makes use of gvfs when |
|
150 |
accessing CDDA metadata. |
|
17773 | 151 |
* Mon Mar 29 2010 - [email protected] |
152 |
- No longer disable daap plugin since GNOME bugzilla bug #447951 has been |
|
153 |
fixed. |
|
17679 | 154 |
* Thu Mar 11 2010 - [email protected] |
155 |
- Bump to 0.12.7. |
|
17312 | 156 |
* Tue Jan 12 2010 - [email protected] |
157 |
- Add patch to fix bugzilla #13643 - Rhythmbox: can't enable "context panel" |
|
158 |
plugin. |
|
17015 | 159 |
* Mon Nov 23 2009 - [email protected] |
160 |
- Bump to 0.12.6. |
|
16610 | 161 |
* Tue Sep 22 2009 - [email protected] |
162 |
- Bump to 0.12.5. |
|
16355 | 163 |
* Tue Aug 25 2009 - [email protected] |
164 |
- Bump to 0.12.4. |
|
16033 | 165 |
* Wed Jul 15 2009 - [email protected] |
16355 | 166 |
- Bump to 0.12.3. |
15995 | 167 |
* Mon Jul 06 2009 - [email protected] |
168 |
- Bump to 0.12.2. |
|
15689 | 169 |
* Tue Apr 28 2009 - [email protected] |
170 |
- Bump to 0.12.1. |
|
15378 | 171 |
* Thu Mar 12 2009 - [email protected] |
172 |
- Set PYTHON environment variable in %build section. |
|
14857 | 173 |
* Wed Jan 07 2009 - [email protected] |
174 |
- Add patch po.diff for zh_CN. SVN revision 6121. |
|
13221
8e2cda137692
* base-specs/rhythmbox.spec: add disable-browser-plugin at configuring.
jyu_mit
parents:
13043
diff
changeset
|
175 |
* Thu Aug 21 2008 - [email protected] |
8e2cda137692
* base-specs/rhythmbox.spec: add disable-browser-plugin at configuring.
jyu_mit
parents:
13043
diff
changeset
|
176 |
- add --disable-browser-plugin option at configuring. |
12782 | 177 |
* Wed Jul 09 2008 - [email protected] |
178 |
- Bump to 0.11.6. |
|
11916 | 179 |
* Wed Mar 26 2008 - [email protected] |
12782 | 180 |
- Bump to 0.11.5. |
11803 | 181 |
* Wed Mar 05 2008 - [email protected] |
182 |
- Patch to fix linking with soup to avoid crash on startup. Fixes #6671873. |
|
11568 | 183 |
* Thu Jan 31 2008 - [email protected] |
11573 | 184 |
- Add patch 05-libsoup to allow building with libsoup 2.3.x. Fixes #509701. |
11463
ac9094d0c9b9
Tidy ChangeLog entry, add %changelog entry and actually bump glib to 2.15.2.
dcarbery
parents:
11462
diff
changeset
|
185 |
* Wed Jan 16 2008 - [email protected] |
ac9094d0c9b9
Tidy ChangeLog entry, add %changelog entry and actually bump glib to 2.15.2.
dcarbery
parents:
11462
diff
changeset
|
186 |
- Add patch for fix the bug that rhythmbox can not play CD. Fixes bugzilla |
ac9094d0c9b9
Tidy ChangeLog entry, add %changelog entry and actually bump glib to 2.15.2.
dcarbery
parents:
11462
diff
changeset
|
187 |
509846. |
11431 | 188 |
* Thu Jan 10 2008 - [email protected] |
189 |
- Add patch 03-mozilla-plugindir to allow specifying of mozilla plugin dir via |
|
190 |
MOZILLA_PLUGINDIR env var. Code copied from totem. Bug 508499. |
|
11349 | 191 |
* Sun Dec 23 2007 - [email protected] |
192 |
- Bump to 0.11.4. Remove upstream patch, 03-empty-dialog. |
|
11310 | 193 |
* Tue Dec 11 2007 - [email protected] |
194 |
- Added patch rhythmbox-03-empty-dialog.diff |
|
11161 | 195 |
* Fri Nov 09 2007 - [email protected] |
196 |
- Bump to 0.11.3. |
|
10561 | 197 |
* Wed Sep 26 2007 - [email protected] |
198 |
- Call intltoolize so that the desktop file gets built. |
|
10332 | 199 |
* Thu Aug 16 2007 - [email protected] |
200 |
- Bump to 0.11.2. |
|
10147 | 201 |
* Mon Jul 02 2007 - [email protected] |
202 |
- Bump to 0.11.1. |
|
9953 | 203 |
* Mon May 28 2007 - [email protected] |
204 |
- Bump to 0.11.0. |
|
9948 | 205 |
* Mon May 28 2007 - [email protected] |
206 |
- change patch -02-null-title to be branding |
|
9944 | 207 |
* Fri May 25 2007 - [email protected] |
208 |
- Bump to 0.10.90. |
|
9772 | 209 |
* Tue Apr 24 2007 - [email protected] |
210 |
- Modify bug number for patch null-title.diff |
|
9649 | 211 |
* Mon Apr 02 2007 - [email protected] |
212 |
- Bump to 0.10.0. Remove upstream patch, 03-wronglocking. |
|
9607 | 213 |
* Wed Mar 22 2007 - [email protected] |
214 |
- add patch rhythmbox-03-wronglocking.diff |
|
9580 | 215 |
* Wed Mar 14 2007 - [email protected] |
216 |
- add patch rhythmbox-02-null-title.diff. |
|
9531 | 217 |
* Mon Mar 12 2007 - [email protected] |
218 |
- delete .la files |
|
9397 | 219 |
* Wed Feb 28 2007 - [email protected] |
220 |
- Remove patch 02-gnome-doc-utils since g-d-u is upgrade to 0.9.x. |
|
221 |
* Thu Feb 22 2007 - [email protected] |
|
222 |
- Add patch, 02-gnome-doc-utils, to create gnome-doc-utils.m4 in macros subdir. |
|
223 |
This is needed because g-d-u is too old (it's blocked waiting for docbook |
|
224 |
update). The dir order in the aclocal call is also reversed to pick up the |
|
225 |
new gnome-doc-utils.m4 before the (older) system one. When g-d-u is updated |
|
226 |
the patch can be removed and aclocal call restored. |
|
227 |
* Tue Dec 19 2006 - [email protected] |
|
228 |
- Bump to 0.9.7. Remove upstream patch, rhythmbox-02-audiocd.diff. |
|
229 |
- Remove code that deletes the .la/.a files as none are generated. |
|
230 |
* Wed Oct 18 2006 - [email protected] |
|
231 |
- Add rhythmbox-02-audiocd.diff to fix linking of audiocd plugin |
|
232 |
to include nautilus-burn library. Without this, rhythmbox fails |
|
233 |
to start. |
|
234 |
* Tue Oct 03 2006 - [email protected] |
|
235 |
- Remove 'rm' line from %install as the files listed are not installed. |
|
236 |
* Mon Oct 02 2006 - [email protected] |
|
237 |
- Bump to 0.9.6. |
|
238 |
- Remove '-f' from 'rm' calls to force failure when source changes need |
|
239 |
attention. |
|
240 |
* Fri Sep 15 2006 - [email protected] |
|
241 |
- Remove patch 2, no longer needed. |
|
242 |
* Wed Jun 21 2006 - [email protected] |
|
243 |
- Bump to 0.9.5. |
|
244 |
* Mon May 01 2006 - [email protected] |
|
245 |
- Add patch to fix compile issue that appears when building with HAL. |
|
246 |
* Wed Apr 26 2006 - [email protected] |
|
247 |
- Removed upstream patch rhythmbox-01-fixcompile.diff. |
|
248 |
* Tue Apr 25 2006 - [email protected] |
|
249 |
- Bump to 0.9.4.1. |
|
250 |
* Tue Apr 18 2006 - [email protected] |
|
251 |
- Bump to 0.9.4. |
|
252 |
* Wed Apr 5 2006 - [email protected] |
|
253 |
- Remove --with-ipod option as gtkpod is not in build. |
|
254 |
* Mon Mar 20 2006 - [email protected] |
|
255 |
- Created |