author | sh162551 |
Tue, 11 Dec 2007 07:23:54 +0000 | |
changeset 11310 | b2bedd08666c |
parent 11161 | 286c0ef27e12 |
child 11349 | fcc038811614 |
permissions | -rw-r--r-- |
9397 | 1 |
# |
2 |
# spec file for package rhythmbox |
|
3 |
# |
|
4 |
# Copyright (c) 2005 Sun Microsystems, Inc. |
|
5 |
# This file and all modifications and additions to the pristine |
|
6 |
# package are under the same license as the package itself. |
|
7 |
# |
|
8 |
# Owner: yippi |
|
9 |
# |
|
10 |
Name: rhythmbox |
|
11 |
License: GPL |
|
12 |
Group: System/GUI/GNOME |
|
11161 | 13 |
Version: 0.11.3 |
9397 | 14 |
Release: 1 |
15 |
Distribution: Java Desktop System |
|
16 |
Vendor: Sun Microsystems, Inc. |
|
17 |
Summary: Rhythmbox Multimedia Player |
|
9944 | 18 |
Source: http://ftp.gnome.org/pub/GNOME/sources/rhythmbox/0.11/%{name}-%{version}.tar.bz2 |
9397 | 19 |
#owner:yippi date:2006-06-22 type:branding |
20 |
Patch1: rhythmbox-01-nocheck.diff |
|
10313
d5ab419d1133
Add patch comments. I don't own these patches, but they seem like they
yippi
parents:
10147
diff
changeset
|
21 |
#owner:sh162551 date:2007-03-14 bugster:6532865 type:branding bugzilla:466752 |
9580 | 22 |
Patch2: rhythmbox-02-null-title.diff |
11310 | 23 |
#owner:sh162551 date:2007-03-14 bugster:6638218 type:bug bugzilla:502265 |
24 |
Patch3: rhythmbox-03-empty-dialog.diff |
|
9397 | 25 |
URL: http://www.gnome.org |
26 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
27 |
Docdir: %{_defaultdocdir}/%{name} |
|
28 |
Autoreqprov: on |
|
29 |
||
30 |
%define libgnomeui_version 2.6.0 |
|
31 |
%define gstreamer_version 0.8.1 |
|
32 |
%define gstreamer_plugins_version 0.8.1 |
|
33 |
%define gnome_desktop_version 2.6.1 |
|
34 |
||
35 |
Requires: libgnomeui >= %{libgnomeui_version} |
|
36 |
Requires: gstreamer >= %{gstreamer_version} |
|
37 |
Requires: gstreamer-plugins >= %{gstreamer_plugins_version} |
|
38 |
Requires: gnome-desktop >= %{gnome_desktop_version} |
|
39 |
Requires: iso-codes |
|
40 |
BuildRequires: libgnomeui-devel >= %{libgnomeui_version} |
|
41 |
BuildRequires: gstreamer-devel >= %{gstreamer_version} |
|
42 |
BuildRequires: gstreamer-plugins-devel >= %{gstreamer_plugins_version} |
|
43 |
BuildRequires: gnome-desktop-devel >= %{gnome_desktop_version} |
|
44 |
||
45 |
%description |
|
46 |
Rhythmbox is an integrated music management application |
|
47 |
||
48 |
%prep |
|
49 |
%setup -q |
|
50 |
%patch1 -p1 |
|
9580 | 51 |
%patch2 -p1 |
11310 | 52 |
%patch3 -p1 |
9397 | 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 |
||
66 |
if test "x$x_includes" = "x"; then |
|
67 |
x_includes="/usr/X11/include" |
|
68 |
fi |
|
69 |
||
70 |
if test "x$x_libraries" = "x"; then |
|
71 |
x_libraries="/usr/X11/lib" |
|
72 |
fi |
|
73 |
||
10561 | 74 |
intltoolize --copy --force --automake |
9397 | 75 |
libtoolize --force |
76 |
## FIXME: Swap aclocal dir order to pick up gnome-doc-utils.m4 in 'macros'. |
|
77 |
##aclocal $ACLOCAL_FLAGS -I ./macros |
|
78 |
aclocal -I ./macros $ACLOCAL_FLAGS |
|
79 |
autoheader |
|
80 |
automake -a -c -f |
|
81 |
autoconf |
|
82 |
||
83 |
CFLAGS="$RPM_OPT_FLAGS" \ |
|
84 |
||
85 |
# --with-ipod requires that gtkpod be installed or configure will fail. |
|
86 |
./configure \ |
|
87 |
--prefix=%{_prefix} \ |
|
88 |
--sysconfdir=%{_sysconfdir} \ |
|
89 |
--libdir=%{_libdir} \ |
|
90 |
--bindir=%{_bindir} \ |
|
91 |
--libexecdir=%{_libexecdir} \ |
|
92 |
--mandir=%{_mandir} \ |
|
93 |
--localstatedir=/var/lib \ |
|
10065 | 94 |
--disable-daap \ |
9397 | 95 |
--enable-gstreamer |
96 |
#FIXME -j is breaking the build removing for now. |
|
97 |
#make -j $CPUS |
|
98 |
make |
|
99 |
||
100 |
%install |
|
101 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|
102 |
make -i install DESTDIR=$RPM_BUILD_ROOT |
|
103 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
|
9531 | 104 |
rm $RPM_BUILD_ROOT%{_libdir}/rhythmbox/plugins/*/lib*a |
9397 | 105 |
|
106 |
%clean |
|
107 |
rm -rf $RPM_BUILD_ROOT |
|
108 |
||
109 |
%post |
|
110 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
|
111 |
SCHEMAS="totem.schemas totem-video-thumbnail.schemas" |
|
112 |
for S in $SCHEMAS; do |
|
113 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null |
|
114 |
done |
|
115 |
||
116 |
%files |
|
117 |
%defattr (-, root, root) |
|
118 |
%{_bindir}/* |
|
119 |
%{_sysconfdir}/gconf/schemas |
|
120 |
%{_libdir}/* |
|
121 |
%{_libexecdir}/* |
|
122 |
%{_datadir}/applications |
|
123 |
%{_datadir}/gnome/help/totem/* |
|
124 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
125 |
%{_datadir}/pixmaps/* |
|
126 |
||
127 |
%changelog |
|
11310 | 128 |
* Tue Dec 11 2007 - [email protected] |
129 |
- Added patch rhythmbox-03-empty-dialog.diff |
|
11161 | 130 |
* Fri Nov 09 2007 - [email protected] |
131 |
- Bump to 0.11.3. |
|
10561 | 132 |
* Wed Sep 26 2007 - [email protected] |
133 |
- Call intltoolize so that the desktop file gets built. |
|
10332 | 134 |
* Thu Aug 16 2007 - [email protected] |
135 |
- Bump to 0.11.2. |
|
10147 | 136 |
* Mon Jul 02 2007 - [email protected] |
137 |
- Bump to 0.11.1. |
|
9953 | 138 |
* Mon May 28 2007 - [email protected] |
139 |
- Bump to 0.11.0. |
|
9948 | 140 |
* Mon May 28 2007 - [email protected] |
141 |
- change patch -02-null-title to be branding |
|
9944 | 142 |
* Fri May 25 2007 - [email protected] |
143 |
- Bump to 0.10.90. |
|
9772 | 144 |
* Tue Apr 24 2007 - [email protected] |
145 |
- Modify bug number for patch null-title.diff |
|
9649 | 146 |
* Mon Apr 02 2007 - [email protected] |
147 |
- Bump to 0.10.0. Remove upstream patch, 03-wronglocking. |
|
9607 | 148 |
* Wed Mar 22 2007 - [email protected] |
149 |
- add patch rhythmbox-03-wronglocking.diff |
|
9580 | 150 |
* Wed Mar 14 2007 - [email protected] |
151 |
- add patch rhythmbox-02-null-title.diff. |
|
9531 | 152 |
* Mon Mar 12 2007 - [email protected] |
153 |
- delete .la files |
|
9397 | 154 |
* Wed Feb 28 2007 - [email protected] |
155 |
- Remove patch 02-gnome-doc-utils since g-d-u is upgrade to 0.9.x. |
|
156 |
* Thu Feb 22 2007 - [email protected] |
|
157 |
- Add patch, 02-gnome-doc-utils, to create gnome-doc-utils.m4 in macros subdir. |
|
158 |
This is needed because g-d-u is too old (it's blocked waiting for docbook |
|
159 |
update). The dir order in the aclocal call is also reversed to pick up the |
|
160 |
new gnome-doc-utils.m4 before the (older) system one. When g-d-u is updated |
|
161 |
the patch can be removed and aclocal call restored. |
|
162 |
* Tue Dec 19 2006 - [email protected] |
|
163 |
- Bump to 0.9.7. Remove upstream patch, rhythmbox-02-audiocd.diff. |
|
164 |
- Remove code that deletes the .la/.a files as none are generated. |
|
165 |
* Wed Oct 18 2006 - [email protected] |
|
166 |
- Add rhythmbox-02-audiocd.diff to fix linking of audiocd plugin |
|
167 |
to include nautilus-burn library. Without this, rhythmbox fails |
|
168 |
to start. |
|
169 |
* Tue Oct 03 2006 - [email protected] |
|
170 |
- Remove 'rm' line from %install as the files listed are not installed. |
|
171 |
* Mon Oct 02 2006 - [email protected] |
|
172 |
- Bump to 0.9.6. |
|
173 |
- Remove '-f' from 'rm' calls to force failure when source changes need |
|
174 |
attention. |
|
175 |
* Fri Sep 15 2006 - [email protected] |
|
176 |
- Remove patch 2, no longer needed. |
|
177 |
* Wed Jun 21 2006 - [email protected] |
|
178 |
- Bump to 0.9.5. |
|
179 |
* Mon May 01 2006 - [email protected] |
|
180 |
- Add patch to fix compile issue that appears when building with HAL. |
|
181 |
* Wed Apr 26 2006 - [email protected] |
|
182 |
- Removed upstream patch rhythmbox-01-fixcompile.diff. |
|
183 |
* Tue Apr 25 2006 - [email protected] |
|
184 |
- Bump to 0.9.4.1. |
|
185 |
* Tue Apr 18 2006 - [email protected] |
|
186 |
- Bump to 0.9.4. |
|
187 |
* Wed Apr 5 2006 - [email protected] |
|
188 |
- Remove --with-ipod option as gtkpod is not in build. |
|
189 |
* Mon Mar 20 2006 - [email protected] |
|
190 |
- Created |