author | yippi |
Thu, 31 May 2012 20:16:52 +0000 | |
changeset 22481 | 1ff6784d9b6f |
parent 21740 | 28fb1341a432 |
permissions | -rw-r--r-- |
9397 | 1 |
# |
2 |
# spec file for package sound-juicer |
|
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 |
# |
16426 | 10 |
|
17852 | 11 |
%define OSR LFI#105446 (gnome Exec. summary):n/a |
16426 | 12 |
|
9397 | 13 |
%include l10n.inc |
14 |
Name: sound-juicer |
|
14571 | 15 |
License: GPL v2, LGPL v2 |
9397 | 16 |
Group: System/GUI/GNOME |
17793 | 17 |
Version: 2.28.2 |
9397 | 18 |
Release: 1 |
19 |
Distribution: Java Desktop System |
|
17865 | 20 |
Vendor: Gnome Community |
9397 | 21 |
Summary: CD ripping tool |
16610 | 22 |
Source: http://ftp.gnome.org/pub/GNOME/sources/sound-juicer/2.28/%{name}-%{version}.tar.bz2 |
9397 | 23 |
Source1: %{name}-po-sun-%{po_sun_version}.tar.bz2 |
12031 | 24 |
%if %build_l10n |
25 |
Source2: l10n-configure.sh |
|
26 |
%endif |
|
9397 | 27 |
#owner:yippi date:2006-06-05 type:branding |
9885 | 28 |
Patch1: sound-juicer-01-menu-entry.diff |
17988 | 29 |
#owner:yippi date:2008-07-02 type:bug bugzilla:540857 |
15166 | 30 |
Patch2: sound-juicer-02-dev.diff |
17988 | 31 |
#owner:yippi date:2009-06-23 type:branding |
15955 | 32 |
Patch3: sound-juicer-03-gconf.diff |
17988 | 33 |
#owner:yippi date:2009-07-17 type:branding |
16042 | 34 |
Patch4: sound-juicer-04-gvfs.diff |
17849 | 35 |
#owner:gheet date:2010-04-15 type:bug bugzilla:615951 doo:15602 |
36 |
Patch5: sound-juicer-05-wait-eject.diff |
|
21740 | 37 |
#owner:laca date:2011-04-27 type:bug state:upstream |
38 |
#http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=614452 |
|
39 |
Patch6: sound-juicer-06-pause.diff |
|
9397 | 40 |
URL: http://www.gnome.org |
41 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
42 |
Docdir: %{_defaultdocdir}/%{name} |
|
43 |
Autoreqprov: on |
|
44 |
||
45 |
%define scrollkeeper_version 0.3.12 |
|
46 |
%define libgnomeui_version 2.2.0 |
|
47 |
%define nautilus_cd_burner_version 2.6.0 |
|
48 |
%define gstreamer_version 0.8.0 |
|
49 |
%define gnome_media_version 2.10.0 |
|
50 |
%define music_brainz_version 2.10.0 |
|
51 |
||
52 |
Requires: libgnomeui >= %{libgnomeui_version} |
|
53 |
Requires: gstreamer >= %{gstreamer_version} |
|
54 |
Requires: gstreamer-plugins >= %{gstreamer_version} |
|
55 |
Requires: nautilus-cd-burner >= %{nautilus_cd_burner_version} |
|
56 |
Requires: gnome-media >= %{gnome_media_version} |
|
57 |
||
58 |
BuildRequires: libgnomeui-devel >= %{libgnomeui_version} |
|
59 |
BuildRequires: gstreamer-devel >= %{gstreamer_version} |
|
60 |
BuildRequires: gstreamer-plugins-devel >= %{gstreamer_version} |
|
61 |
BuildRequires: nautilus-cd-burner >= %{nautilus_cd_burner_version} |
|
62 |
BuildRequires: scrollkeeper >= %{scrollkeeper_version} |
|
63 |
BuildRequires: gnome-media >= %{gnome_media_version} |
|
64 |
||
65 |
%description |
|
66 |
sound-juicer is a CD ripping tool based on GTK+ and GStreamer |
|
67 |
||
68 |
%prep |
|
69 |
%setup -q |
|
70 |
%if %build_l10n |
|
71 |
bzcat %SOURCE1 | tar xf - |
|
72 |
cd po-sun; make; cd .. |
|
73 |
%endif |
|
74 |
%patch1 -p1 |
|
11998 | 75 |
%patch2 -p1 |
15955 | 76 |
%patch3 -p1 |
16619 | 77 |
%patch4 -p1 |
17849 | 78 |
%patch5 -p1 |
21740 | 79 |
%patch6 -p1 |
9397 | 80 |
|
81 |
%build |
|
82 |
%ifos linux |
|
83 |
if [ -x /usr/bin/getconf ]; then |
|
84 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
85 |
fi |
|
86 |
%else |
|
87 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
88 |
%endif |
|
89 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
90 |
CPUS=1 |
|
91 |
fi |
|
92 |
||
93 |
libtoolize --force |
|
94 |
intltoolize -c -f --automake |
|
12031 | 95 |
|
96 |
%if %build_l10n |
|
97 |
bash -x %SOURCE2 --enable-copyright |
|
98 |
%endif |
|
99 |
||
9397 | 100 |
aclocal $ACLOCAL_FLAGS |
101 |
autoheader |
|
102 |
automake -a -c -f |
|
103 |
autoconf |
|
104 |
CFLAGS="$RPM_OPT_FLAGS" \ |
|
105 |
./configure \ |
|
106 |
--prefix=%{_prefix} \ |
|
107 |
--sysconfdir=%{_sysconfdir} \ |
|
108 |
--mandir=%{_mandir} \ |
|
109 |
--disable-scrollkeeper \ |
|
110 |
--localstatedir=%{_localstatedir} |
|
111 |
make |
|
112 |
||
113 |
%install |
|
114 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|
115 |
make -i install DESTDIR=$RPM_BUILD_ROOT |
|
116 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
|
117 |
||
118 |
||
119 |
%clean |
|
120 |
rm -rf $RPM_BUILD_ROOT |
|
121 |
||
122 |
%files |
|
123 |
%defattr (-, root, root) |
|
124 |
%{_sysconfdir}/gconf/schemas/* |
|
125 |
%{_bindir}/sound-juicer |
|
126 |
%{_datadir}/applications/sound-juicer.desktop |
|
127 |
%{_datadir}/gnome/help/sound-juicer |
|
128 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
129 |
%{_datadir}/omf/sound-juicer/*.omf |
|
130 |
%{_datadir}/pixmaps/* |
|
131 |
%{_datadir}/sound-juicer |
|
132 |
||
133 |
%changelog |
|
17793 | 134 |
* Sat Apr 3 2010 - [email protected] |
135 |
- Bump to 2.28.2. |
|
17143 | 136 |
* Tue Dec 08 2009 - [email protected] |
137 |
- Bump to 2.28.1. |
|
16610 | 138 |
* Tue Sep 22 2009 - [email protected] |
139 |
- Bump to 2.28.0. |
|
15617 | 140 |
* Tue Apr 14 2009 - [email protected] |
141 |
- Bump to 2.26.1. |
|
15427 | 142 |
* Wed Mar 18 2009 - [email protected] |
15617 | 143 |
- Bump to 2.26.0. |
15392 | 144 |
* Fri Mar 13 2009 - [email protected] |
15617 | 145 |
- Bump to 2.25.92. |
15166 | 146 |
* Tue Feb 17 2009 - [email protected] |
147 |
- Bump to 2.25.3. Remove upstream patch sound-juicer-02-add-libsocket.diff. |
|
14945 | 148 |
* Tue Jan 20 2009 - [email protected] |
149 |
- Bump to 2.25.1. |
|
13768 | 150 |
* Thu Sep 25 2008 - [email protected] |
151 |
- Bump to 2.24.0. |
|
13473 | 152 |
* Tue Sep 09 2008 - [email protected] |
153 |
- Bump to 2.23.3, rework patches/sound-juicer-03-dev.diff. |
|
13212 | 154 |
* Tue Aug 19 2008 - [email protected] |
155 |
- Bump to 2.23.2 |
|
13031 | 156 |
* Tue Aug 05 2008 - [email protected] |
157 |
- Bump to 2.23.1. |
|
158 |
||
12754
bbba5a547a25
Add patch sound-juicer-03-dev.diff to fix wrong dev path error
jerrytan
parents:
12602
diff
changeset
|
159 |
* Thu Jul 3 2008 - [email protected] |
bbba5a547a25
Add patch sound-juicer-03-dev.diff to fix wrong dev path error
jerrytan
parents:
12602
diff
changeset
|
160 |
- Add patch sound-juicer-03-dev.diff to fix wrong dev path error |
bbba5a547a25
Add patch sound-juicer-03-dev.diff to fix wrong dev path error
jerrytan
parents:
12602
diff
changeset
|
161 |
|
12602 | 162 |
* Thu Jun 05 2008 - [email protected] |
163 |
- Bump to 2.23.0. |
|
164 |
||
12315 | 165 |
* Fri May 16 2008 - [email protected] |
166 |
- Remove sound-juicer-02-eject-cd.diff to enable eject for cdrom. |
|
167 |
||
12292
9fea8698dbfd
Add ld flags in Makefile.am to fix the build error.
davelam
parents:
12290
diff
changeset
|
168 |
* Wed May 14 2008 - [email protected] |
12315 | 169 |
- Add patch sound-juicer-03-add-libsocket.diff to fix build error. |
12292
9fea8698dbfd
Add ld flags in Makefile.am to fix the build error.
davelam
parents:
12290
diff
changeset
|
170 |
|
12315 | 171 |
* Mon Mar 10 2008 - [email protected] |
11829 | 172 |
- Bump to 2.22.0. |
173 |
||
11738 | 174 |
* Wed Feb 27 2008 - [email protected] |
175 |
- Bump to 2.21.92. |
|
176 |
||
11638 | 177 |
* Thu Feb 14 2008 - [email protected] |
178 |
- Bump to 2.21.91. |
|
179 |
||
11573 | 180 |
* Thu Jan 31 2008 - [email protected] |
181 |
- Bump to 2.21.3. |
|
182 |
||
11475 | 183 |
* Thu Jan 17 2008 - [email protected] |
184 |
- Bump to 2.21.2. |
|
185 |
||
11364 | 186 |
* Wed Jan 02 2008 - [email protected] |
187 |
- Bump to 2.21.1. |
|
188 |
||
11349 | 189 |
* Sun Dec 23 2007 - [email protected] |
190 |
- Bump to 2.21.0. |
|
191 |
||
10674 | 192 |
* Fri Oct 19 2007 - [email protected] |
193 |
- Bump to 2.20.1. Remove upstream patch, 02-unlock-device. |
|
194 |
||
10523 | 195 |
* Wed Sep 19 2007 - [email protected] |
196 |
- Bump to 2.20.0. |
|
197 |
||
10324 | 198 |
* Wed Aug 15 2007 - [email protected] |
199 |
- Bump to 2.19.3. |
|
200 |
||
10070 | 201 |
* Mon Jun 18 2007 - [email protected] |
202 |
- Bump to 2.19.2. |
|
203 |
||
9894 | 204 |
* Tue May 15 2007 - [email protected] |
205 |
- Bump to 2.19.1. |
|
206 |
||
9885 | 207 |
* Mon May 14 2007 - [email protected] |
208 |
- Bump to 2.19.0. Remove upstream patch, 01-fixplugin, renumber rest. |
|
209 |
||
9746 | 210 |
* Mon Apr 16 2007 - [email protected] |
211 |
- Bump to 2.16.4. |
|
212 |
||
9570 | 213 |
* Thu Mar 15 2007 - [email protected] |
214 |
- Bump to 2.16.3. |
|
215 |
||
9397 | 216 |
* Tue Feb 13 2007 - [email protected] |
217 |
- Add l10n tarball. |
|
218 |
||
219 |
* Mon Nov 27 2006 - [email protected] |
|
220 |
- Bump to 2.16.2. |
|
221 |
||
222 |
* Tue Oct 31 2006 - [email protected] |
|
223 |
- Added intltoolize to read LINGAS. Fixes 6488189. |
|
224 |
||
225 |
* Mon Oct 02 2006 - [email protected] |
|
226 |
- Bump to 2.16.1. |
|
227 |
||
228 |
* Mon Sep 04 2006 - [email protected] |
|
229 |
- Bump to 2.16.0. |
|
230 |
||
231 |
* Mon Aug 21 2006 - [email protected] |
|
232 |
- Bump to 2.15.5.1. |
|
233 |
||
234 |
* Sun Jul 30 2006 - [email protected] |
|
235 |
- Use single thread 'make' because of build problems with multiple threads. |
|
236 |
||
237 |
* Mon Jul 24 2006 - [email protected] |
|
238 |
- Bump to 2.15.4. |
|
239 |
||
240 |
* Fri Jul 21 2006 - [email protected] |
|
241 |
- Remove patch to fix duration, since this was just hiding the |
|
242 |
real problem in musicbrainz. Patch added to musicbrainz to fix |
|
243 |
the problem. |
|
244 |
||
245 |
* Thu Jul 20 2006 - [email protected] |
|
246 |
- Bump to 2.15.3. |
|
247 |
||
248 |
* Tue Jul 11 2006 - [email protected] |
|
249 |
- Fix so duration values are correct when running in offline mode |
|
250 |
(where soundjuicer cannot connect to musicbrainz server). |
|
251 |
||
252 |
* Wed Jun 21 2006 - [email protected] |
|
253 |
- Bump to 2.14.4. |
|
254 |
||
255 |
* Fri Jun 02 2006 - [email protected] |
|
256 |
- Add patch for menu entry according to the UI |
|
257 |
spec. |
|
258 |
||
259 |
* Tue May 04 2006 - [email protected] |
|
260 |
- Fix plugin to the correct one for Solaris. |
|
261 |
||
262 |
* Tue Apr 18 2006 - [email protected] |
|
263 |
- Bump to 2.14.3. |
|
264 |
||
265 |
* Fri Apr 10 2006 - [email protected] |
|
266 |
- Bump to 2.14.2. |
|
267 |
||
268 |
* Tue Apr 4 2006 - [email protected] |
|
269 |
- Bump to 2.14.1. |
|
270 |
||
271 |
* Tue Mar 28 2006 - [email protected] |
|
272 |
- Update patch and fix compile on Solaris. |
|
273 |
||
274 |
* Mon Mar 13 2006 - [email protected] |
|
275 |
- Bump to 2.14.0. |
|
276 |
||
277 |
* Tue Feb 28 2006 - [email protected] |
|
278 |
- Bump to 2.13.6. |
|
279 |
||
280 |
* Mon Feb 13 2006 - [email protected] |
|
281 |
- Bump to 2.13.5. |
|
282 |
||
283 |
* Mon Jan 30 2006 - [email protected] |
|
284 |
- Bump to 2.13.4. |
|
285 |
||
286 |
* Tue Jan 17 2006 - [email protected] |
|
287 |
- Bump to 2.13.2 |
|
288 |
||
289 |
* Tue Dec 20 2005 - [email protected] |
|
290 |
- Bump to 2.13.1 |
|
291 |
||
292 |
* Tue Nov 29 2005 - laca.com |
|
293 |
- remove javahelp stuff |
|
294 |
||
295 |
* Tue Nov 29 2005 - [email protected] |
|
296 |
- Bump to 2.12.3. |
|
297 |
||
298 |
* Tue Sep 27 2005 - [email protected] |
|
299 |
- Bump to 2.12.2 |
|
300 |
||
301 |
* Sat Sep 17 2005 - [email protected] |
|
302 |
- Bump to 2.12.0 |
|
303 |
||
304 |
* Mon Sep 05 2005 - [email protected] |
|
305 |
- Bump to 2.11.92. |
|
306 |
||
307 |
* Tue Aug 16 2005 - [email protected] |
|
308 |
- Bump to 2.11.91. |
|
309 |
||
310 |
* Thu Jun 16 2005 - [email protected] |
|
311 |
- Specify %files to package |
|
312 |
||
313 |
* Fri Mar 13 2005 - [email protected] |
|
314 |
- Bump to 2.10.1 |