author | yippi |
Wed, 23 Sep 2009 00:51:56 +0000 | |
changeset 16614 | c151ffbda133 |
parent 16610 | 667806a42058 |
child 16709 | d10063945a92 |
permissions | -rw-r--r-- |
9397 | 1 |
# |
2 |
# spec file for package rhythmbox |
|
3 |
# |
|
16614 | 4 |
# Copyright (c) 2009 Sun Microsystems, Inc. |
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 |
|
11 |
%define OSR gnome.org:0 |
|
12 |
||
9397 | 13 |
Name: rhythmbox |
14571 | 14 |
License: GPL v2, MIT, BSD |
9397 | 15 |
Group: System/GUI/GNOME |
16610 | 16 |
Version: 0.12.5 |
9397 | 17 |
Release: 1 |
18 |
Distribution: Java Desktop System |
|
19 |
Vendor: Sun Microsystems, Inc. |
|
20 |
Summary: Rhythmbox Multimedia Player |
|
15464 | 21 |
Source: http://ftp.gnome.org/pub/GNOME/sources/rhythmbox/0.12/%{name}-%{version}.tar.bz2 |
12031 | 22 |
%if %build_l10n |
23 |
Source1: l10n-configure.sh |
|
24 |
%endif |
|
11462 | 25 |
#owner:jerrytan date:2008-01-16 type:bug bugzilla:509846 |
11983 | 26 |
Patch1: rhythmbox-01-playcd.diff |
9397 | 27 |
URL: http://www.gnome.org |
28 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
29 |
Docdir: %{_defaultdocdir}/%{name} |
|
30 |
Autoreqprov: on |
|
31 |
||
32 |
%define libgnomeui_version 2.6.0 |
|
33 |
%define gstreamer_version 0.8.1 |
|
34 |
%define gstreamer_plugins_version 0.8.1 |
|
35 |
%define gnome_desktop_version 2.6.1 |
|
36 |
||
37 |
Requires: libgnomeui >= %{libgnomeui_version} |
|
38 |
Requires: gstreamer >= %{gstreamer_version} |
|
39 |
Requires: gstreamer-plugins >= %{gstreamer_plugins_version} |
|
40 |
Requires: gnome-desktop >= %{gnome_desktop_version} |
|
41 |
Requires: iso-codes |
|
42 |
BuildRequires: libgnomeui-devel >= %{libgnomeui_version} |
|
43 |
BuildRequires: gstreamer-devel >= %{gstreamer_version} |
|
44 |
BuildRequires: gstreamer-plugins-devel >= %{gstreamer_plugins_version} |
|
45 |
BuildRequires: gnome-desktop-devel >= %{gnome_desktop_version} |
|
46 |
||
47 |
%description |
|
48 |
Rhythmbox is an integrated music management application |
|
49 |
||
50 |
%prep |
|
51 |
%setup -q |
|
52 |
%patch1 -p1 |
|
53 |
||
54 |
%build |
|
55 |
%ifos linux |
|
56 |
if [ -x /usr/bin/getconf ]; then |
|
57 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
58 |
fi |
|
59 |
%else |
|
60 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
61 |
%endif |
|
62 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
63 |
CPUS=1 |
|
64 |
fi |
|
65 |
||
15378 | 66 |
export PYTHON=/usr/bin/python%{pythonver} |
67 |
||
9397 | 68 |
if test "x$x_includes" = "x"; then |
69 |
x_includes="/usr/X11/include" |
|
70 |
fi |
|
71 |
||
72 |
if test "x$x_libraries" = "x"; then |
|
73 |
x_libraries="/usr/X11/lib" |
|
74 |
fi |
|
75 |
||
10561 | 76 |
intltoolize --copy --force --automake |
12031 | 77 |
|
78 |
%if %build_l10n |
|
79 |
bash -x %SOURCE1 --enable-copyright |
|
80 |
%endif |
|
81 |
||
9397 | 82 |
## FIXME: Swap aclocal dir order to pick up gnome-doc-utils.m4 in 'macros'. |
83 |
##aclocal $ACLOCAL_FLAGS -I ./macros |
|
84 |
aclocal -I ./macros $ACLOCAL_FLAGS |
|
85 |
autoheader |
|
86 |
automake -a -c -f |
|
87 |
autoconf |
|
88 |
||
11431 | 89 |
export MOZILLA_PLUGINDIR="%{_libdir}/firefox/plugins" |
90 |
# --with-ipod requires that gtkpod be installed or configure will fail. |
|
9397 | 91 |
CFLAGS="$RPM_OPT_FLAGS" \ |
92 |
./configure \ |
|
93 |
--prefix=%{_prefix} \ |
|
94 |
--sysconfdir=%{_sysconfdir} \ |
|
95 |
--libdir=%{_libdir} \ |
|
96 |
--bindir=%{_bindir} \ |
|
97 |
--libexecdir=%{_libexecdir} \ |
|
98 |
--mandir=%{_mandir} \ |
|
99 |
--localstatedir=/var/lib \ |
|
10065 | 100 |
--disable-daap \ |
13221
8e2cda137692
* base-specs/rhythmbox.spec: add disable-browser-plugin at configuring.
jyu_mit
parents:
13043
diff
changeset
|
101 |
--disable-browser-plugin \ |
9397 | 102 |
--enable-gstreamer |
103 |
#FIXME -j is breaking the build removing for now. |
|
104 |
#make -j $CPUS |
|
105 |
make |
|
106 |
||
107 |
%install |
|
108 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|
109 |
make -i install DESTDIR=$RPM_BUILD_ROOT |
|
110 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
|
9531 | 111 |
rm $RPM_BUILD_ROOT%{_libdir}/rhythmbox/plugins/*/lib*a |
9397 | 112 |
|
113 |
%clean |
|
114 |
rm -rf $RPM_BUILD_ROOT |
|
115 |
||
116 |
%post |
|
117 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
|
118 |
SCHEMAS="totem.schemas totem-video-thumbnail.schemas" |
|
119 |
for S in $SCHEMAS; do |
|
120 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null |
|
121 |
done |
|
122 |
||
123 |
%files |
|
124 |
%defattr (-, root, root) |
|
125 |
%{_bindir}/* |
|
126 |
%{_sysconfdir}/gconf/schemas |
|
127 |
%{_libdir}/* |
|
128 |
%{_libexecdir}/* |
|
129 |
%{_datadir}/applications |
|
130 |
%{_datadir}/gnome/help/totem/* |
|
131 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
132 |
%{_datadir}/pixmaps/* |
|
133 |
||
134 |
%changelog |
|
16610 | 135 |
* Tue Sep 22 2009 - [email protected] |
136 |
- Bump to 0.12.5. |
|
16355 | 137 |
* Tue Aug 25 2009 - [email protected] |
138 |
- Bump to 0.12.4. |
|
16033 | 139 |
* Wed Jul 15 2009 - [email protected] |
16355 | 140 |
- Bump to 0.12.3. |
15995 | 141 |
* Mon Jul 06 2009 - [email protected] |
142 |
- Bump to 0.12.2. |
|
15689 | 143 |
* Tue Apr 28 2009 - [email protected] |
144 |
- Bump to 0.12.1. |
|
15378 | 145 |
* Thu Mar 12 2009 - [email protected] |
146 |
- Set PYTHON environment variable in %build section. |
|
14857 | 147 |
* Wed Jan 07 2009 - [email protected] |
148 |
- 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
|
149 |
* Thu Aug 21 2008 - [email protected] |
8e2cda137692
* base-specs/rhythmbox.spec: add disable-browser-plugin at configuring.
jyu_mit
parents:
13043
diff
changeset
|
150 |
- add --disable-browser-plugin option at configuring. |
12782 | 151 |
* Wed Jul 09 2008 - [email protected] |
152 |
- Bump to 0.11.6. |
|
11916 | 153 |
* Wed Mar 26 2008 - [email protected] |
12782 | 154 |
- Bump to 0.11.5. |
11803 | 155 |
* Wed Mar 05 2008 - [email protected] |
156 |
- Patch to fix linking with soup to avoid crash on startup. Fixes #6671873. |
|
11568 | 157 |
* Thu Jan 31 2008 - [email protected] |
11573 | 158 |
- 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
|
159 |
* 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
|
160 |
- 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
|
161 |
509846. |
11431 | 162 |
* Thu Jan 10 2008 - [email protected] |
163 |
- Add patch 03-mozilla-plugindir to allow specifying of mozilla plugin dir via |
|
164 |
MOZILLA_PLUGINDIR env var. Code copied from totem. Bug 508499. |
|
11349 | 165 |
* Sun Dec 23 2007 - [email protected] |
166 |
- Bump to 0.11.4. Remove upstream patch, 03-empty-dialog. |
|
11310 | 167 |
* Tue Dec 11 2007 - [email protected] |
168 |
- Added patch rhythmbox-03-empty-dialog.diff |
|
11161 | 169 |
* Fri Nov 09 2007 - [email protected] |
170 |
- Bump to 0.11.3. |
|
10561 | 171 |
* Wed Sep 26 2007 - [email protected] |
172 |
- Call intltoolize so that the desktop file gets built. |
|
10332 | 173 |
* Thu Aug 16 2007 - [email protected] |
174 |
- Bump to 0.11.2. |
|
10147 | 175 |
* Mon Jul 02 2007 - [email protected] |
176 |
- Bump to 0.11.1. |
|
9953 | 177 |
* Mon May 28 2007 - [email protected] |
178 |
- Bump to 0.11.0. |
|
9948 | 179 |
* Mon May 28 2007 - [email protected] |
180 |
- change patch -02-null-title to be branding |
|
9944 | 181 |
* Fri May 25 2007 - [email protected] |
182 |
- Bump to 0.10.90. |
|
9772 | 183 |
* Tue Apr 24 2007 - [email protected] |
184 |
- Modify bug number for patch null-title.diff |
|
9649 | 185 |
* Mon Apr 02 2007 - [email protected] |
186 |
- Bump to 0.10.0. Remove upstream patch, 03-wronglocking. |
|
9607 | 187 |
* Wed Mar 22 2007 - [email protected] |
188 |
- add patch rhythmbox-03-wronglocking.diff |
|
9580 | 189 |
* Wed Mar 14 2007 - [email protected] |
190 |
- add patch rhythmbox-02-null-title.diff. |
|
9531 | 191 |
* Mon Mar 12 2007 - [email protected] |
192 |
- delete .la files |
|
9397 | 193 |
* Wed Feb 28 2007 - [email protected] |
194 |
- Remove patch 02-gnome-doc-utils since g-d-u is upgrade to 0.9.x. |
|
195 |
* Thu Feb 22 2007 - [email protected] |
|
196 |
- Add patch, 02-gnome-doc-utils, to create gnome-doc-utils.m4 in macros subdir. |
|
197 |
This is needed because g-d-u is too old (it's blocked waiting for docbook |
|
198 |
update). The dir order in the aclocal call is also reversed to pick up the |
|
199 |
new gnome-doc-utils.m4 before the (older) system one. When g-d-u is updated |
|
200 |
the patch can be removed and aclocal call restored. |
|
201 |
* Tue Dec 19 2006 - [email protected] |
|
202 |
- Bump to 0.9.7. Remove upstream patch, rhythmbox-02-audiocd.diff. |
|
203 |
- Remove code that deletes the .la/.a files as none are generated. |
|
204 |
* Wed Oct 18 2006 - [email protected] |
|
205 |
- Add rhythmbox-02-audiocd.diff to fix linking of audiocd plugin |
|
206 |
to include nautilus-burn library. Without this, rhythmbox fails |
|
207 |
to start. |
|
208 |
* Tue Oct 03 2006 - [email protected] |
|
209 |
- Remove 'rm' line from %install as the files listed are not installed. |
|
210 |
* Mon Oct 02 2006 - [email protected] |
|
211 |
- Bump to 0.9.6. |
|
212 |
- Remove '-f' from 'rm' calls to force failure when source changes need |
|
213 |
attention. |
|
214 |
* Fri Sep 15 2006 - [email protected] |
|
215 |
- Remove patch 2, no longer needed. |
|
216 |
* Wed Jun 21 2006 - [email protected] |
|
217 |
- Bump to 0.9.5. |
|
218 |
* Mon May 01 2006 - [email protected] |
|
219 |
- Add patch to fix compile issue that appears when building with HAL. |
|
220 |
* Wed Apr 26 2006 - [email protected] |
|
221 |
- Removed upstream patch rhythmbox-01-fixcompile.diff. |
|
222 |
* Tue Apr 25 2006 - [email protected] |
|
223 |
- Bump to 0.9.4.1. |
|
224 |
* Tue Apr 18 2006 - [email protected] |
|
225 |
- Bump to 0.9.4. |
|
226 |
* Wed Apr 5 2006 - [email protected] |
|
227 |
- Remove --with-ipod option as gtkpod is not in build. |
|
228 |
* Mon Mar 20 2006 - [email protected] |
|
229 |
- Created |