author | dcarbery |
Mon, 07 Jan 2008 23:03:50 +0000 | |
changeset 11405 | 83dbd19ba377 |
parent 11352 | 7ff900bd185f |
child 11442 | 41b4ce844578 |
permissions | -rw-r--r-- |
9397 | 1 |
# |
2 |
# spec file for package file-roller |
|
3 |
# |
|
11405 | 4 |
# Copyright (c) 2008 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 |
# |
|
8 |
# Owner: mattman |
|
9 |
# |
|
10 |
%include l10n.inc |
|
11 |
Name: file-roller |
|
12 |
License: GPL |
|
13 |
Group: System/GUI/GNOME |
|
11405 | 14 |
Version: 2.21.1 |
9397 | 15 |
Release: 1 |
16 |
Distribution: Java Desktop System |
|
17 |
Vendor: Sun Microsystems, Inc. |
|
18 |
Summary: An archive manager for GNOME |
|
11405 | 19 |
Source: http://ftp.gnome.org/pub/GNOME/sources/file-roller/2.21/%{name}-%{version}.tar.bz2 |
9417 | 20 |
Source1: %{name}-po-sun-%{po_sun_version}.tar.bz2 |
11352 | 21 |
Source2: l10n-configure.sh |
9397 | 22 |
# date:2003-07-24 type:branding owner:gman |
23 |
Patch1: file-roller-01-menu-entry.diff |
|
24 |
URL: http://www.gnome.org |
|
25 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
26 |
Docdir: %{_defaultdocdir} |
|
27 |
Autoreqprov: on |
|
28 |
Prereq: GConf |
|
29 |
||
30 |
%define scrollkeeper_version 0.3.14 |
|
31 |
%define nautilus_version 2.6.1 |
|
32 |
||
33 |
BuildRequires: scrollkeeper >= %{scrollkeeper_version} |
|
34 |
BuildRequires: nautilus-devel >= %{nautilus_version} |
|
35 |
Requires: nautilus >= %{nautilus_version} |
|
36 |
||
37 |
%description |
|
38 |
File Roller is an archive manager for the GNOME environment. This means that |
|
39 |
you can : create and modify archives; view the content of an archive; view a |
|
40 |
file contained in the archive; extract files from the archive. |
|
41 |
File Roller is only a front-end (a graphical interface) to archiving programs |
|
42 |
like tar and zip. The supported file types are - |
|
43 |
||
44 |
* Tar archives uncompressed (.tar) or compressed with |
|
45 |
* gzip (.tar.gz , .tgz) |
|
46 |
* bzip (.tar.bz , .tbz) |
|
47 |
* bzip2 (.tar.bz2 , .tbz2) |
|
48 |
* compress (.tar.Z , .taz) |
|
49 |
* lzop (.tar.lzo , .tzo) |
|
50 |
* Zip archives (.zip) |
|
51 |
* Jar archives (.jar , .ear , .war) |
|
52 |
* Lha archives (.lzh) |
|
53 |
* Rar archives (.rar) |
|
54 |
* Single files compressed with gzip, bzip, bzip2, compress, lzop |
|
55 |
||
56 |
%prep |
|
57 |
%setup -q |
|
58 |
%if %build_l10n |
|
11352 | 59 |
#bugster 6643604 |
60 |
sh -x %SOURCE2 --disable-gnu-extensions --disable-sun-linguas |
|
9417 | 61 |
bzcat %SOURCE1 | tar xf - |
9397 | 62 |
cd po-sun; make; cd .. |
63 |
%endif |
|
64 |
%patch1 -p1 |
|
65 |
for po in po/*.po; do |
|
66 |
dos2unix -ascii $po $po |
|
67 |
done |
|
68 |
||
69 |
%build |
|
70 |
%ifos linux |
|
71 |
if [ -x /usr/bin/getconf ]; then |
|
72 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
73 |
fi |
|
74 |
%else |
|
75 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
76 |
%endif |
|
77 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
78 |
CPUS=1 |
|
79 |
fi |
|
80 |
||
81 |
libtoolize --force |
|
10407 | 82 |
intltoolize --force --copy --automake |
9397 | 83 |
aclocal $ACLOCAL_FLAGS |
84 |
autoheader |
|
85 |
automake -a -c -f |
|
86 |
autoconf |
|
87 |
||
88 |
#FIXME: Disable scrollkeeper for now. |
|
89 |
CFLAGS="$RPM_OPT_FLAGS" \ |
|
90 |
./configure \ |
|
91 |
--prefix=%{_prefix} \ |
|
92 |
--libexecdir=%{_libexecdir} \ |
|
93 |
--sysconfdir=%{_sysconfdir} \ |
|
94 |
--disable-scrollkeeper |
|
95 |
make -j $CPUS |
|
96 |
||
97 |
%install |
|
98 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|
99 |
make DESTDIR=$RPM_BUILD_ROOT install |
|
100 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
|
101 |
#Copy zh_HK from zh_TW |
|
102 |
#Fixes bug 4930405 |
|
103 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES |
|
104 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/ |
|
105 |
||
106 |
||
107 |
rm $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-1.0/libnautilus-fileroller.a |
|
108 |
rm $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-1.0/libnautilus-fileroller.la |
|
109 |
||
110 |
%clean |
|
111 |
rm -rf $RPM_BUILD_ROOT |
|
112 |
||
113 |
%post |
|
114 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
|
115 |
SCHEMAS="file-roller.schemas" |
|
116 |
for S in $SCHEMAS; do |
|
117 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null |
|
118 |
done |
|
119 |
||
120 |
%files |
|
121 |
%defattr(-, root, root) |
|
122 |
%doc AUTHORS NEWS README COPYING |
|
123 |
%{_sysconfdir}/gconf/schemas/*.schemas |
|
124 |
%{_bindir}/file-roller |
|
125 |
%{_libdir}/nautilus/extensions-1.0/libnautilus-fileroller.so |
|
126 |
%{_datadir}/applications/*.desktop |
|
127 |
%{_datadir}/file-roller |
|
128 |
%{_datadir}/gnome/help/file-roller |
|
129 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
130 |
%{_datadir}/omf/file-roller |
|
131 |
%{_datadir}/pixmaps/*.png |
|
132 |
||
133 |
%changelog |
|
11405 | 134 |
* Mon Jan 07 2008 - [email protected] |
135 |
- Bump to 2.21.1. |
|
11352 | 136 |
* Wed Dec 26 2007 - [email protected] |
137 |
- Add l10n-configure.sh to remove "%-m" and "%-d". Fixes 6643604 |
|
11247 | 138 |
* Tue Nov 27 2007 - [email protected] |
139 |
- Bump to 2.20.2. |
|
10674 | 140 |
* Fri Oct 19 2007 - [email protected] |
141 |
- Bump to 2.20.1. |
|
10498 | 142 |
* Tue Sep 18 2007 - [email protected] |
143 |
- Bump to 2.20.0. |
|
10443 | 144 |
* Tue Sep 04 2007 - [email protected] |
145 |
- Bump to 2.19.92. |
|
10407 | 146 |
* Thu Aug 30 2007 - [email protected] |
147 |
- Add intltoolize call to update intltool scripts. |
|
10381 | 148 |
* Tue Aug 28 2007 - [email protected] |
149 |
- Bump to 2.19.91. |
|
10327 | 150 |
* Wed Aug 15 2007 - [email protected] |
151 |
- Bump to 2.19.90. |
|
10237 | 152 |
* Tue Jul 31 2007 - [email protected] |
153 |
- Bump to 2.19.4. |
|
10182
36a5c358d3bf
* base-specs/file-roller.spec : Remove obsolete patch :
mattman
parents:
10075
diff
changeset
|
154 |
* Wed Jul 11 2007 - [email protected] |
36a5c358d3bf
* base-specs/file-roller.spec : Remove obsolete patch :
mattman
parents:
10075
diff
changeset
|
155 |
- Remove obsolete patch file-roller-02-properties-dialog-crash.diff |
10075 | 156 |
* Tue Jun 19 2007 - [email protected] |
157 |
- Bump to 2.19.3. |
|
9900 | 158 |
* Tue May 15 2007 - [email protected] |
159 |
- Bump to 2.19.1. |
|
9859 | 160 |
* Wed May 09 2007 - [email protected] |
161 |
- Bump to 2.18.2. |
|
162 |
* Tue Apr 10 2007 - [email protected] |
|
9712 | 163 |
- Bump to 2.18.1. |
9859 | 164 |
* Tue Mar 13 2007 - [email protected] |
9538 | 165 |
- Bump to 2.18.0. |
9859 | 166 |
* Tue Mar 06 2007 - [email protected] |
9457 | 167 |
- Bump to 2.17.92. |
9410
9950ff76d019
* base-specs/file-roller.spec : Add patch to fix crasher bug i
mattman
parents:
9400
diff
changeset
|
168 |
* Thu Mar 01 2007 - [email protected] |
9950ff76d019
* base-specs/file-roller.spec : Add patch to fix crasher bug i
mattman
parents:
9400
diff
changeset
|
169 |
- Add patch file-roller-02-properties-dialog-crash.diff |
9397 | 170 |
* Tue Feb 13 2007 - [email protected] |
171 |
- Add l10n tarball. |
|
172 |
* Tue Feb 13 2007 - [email protected] |
|
173 |
- Bump to 2.17.91. |
|
174 |
* Tue Jan 23 2007 - [email protected] |
|
175 |
- Bump to 2.17.90. |
|
176 |
* Tue Jan 09 2007 - [email protected] |
|
177 |
- Bump to 2.17.5. |
|
178 |
* Tue Dec 19 2006 - [email protected] |
|
179 |
- Bump to 2.17.4. |
|
180 |
* Tue Dec 05 2006 - [email protected] |
|
181 |
- Bump to 2.17.3. |
|
182 |
* Fri Nov 24 2006 - [email protected] |
|
183 |
- Add --libexecdir to configure call. |
|
184 |
* Thu Nov 23 2006 - [email protected] |
|
185 |
- Remove upstream patch, 02-rpm-cpio. |
|
186 |
* Mon Nov 20 2006 - [email protected] |
|
187 |
- Bump to 2.17.2. |
|
188 |
* Wed Oct 04 2006 - [email protected] |
|
189 |
- Add patch 02-rpm-cpio.diff : bugster : 6478062, bugzilla : 359629 |
|
190 |
* Tue Oct 03 2006 - [email protected] |
|
191 |
- Bump to 2.16.1. |
|
192 |
* Wed Sep 27 2006 - [email protected] |
|
193 |
- file-roller-01-rename-contents.diff : bugster:6232106 / bugzilla:168287 |
|
194 |
- Remove fixed upstream. |
|
195 |
* Wed Sep 27 2006 - [email protected] |
|
196 |
- Remove patch 01-zip-command.diff, re-enable password option for archives |
|
197 |
CR 6397899. |
|
198 |
- Re-align the remaining patches. |
|
199 |
* Mon Sep 04 2006 - [email protected] |
|
200 |
- Bump to 2.16.0. |
|
201 |
* Tue Aug 22 2006 - [email protected] |
|
202 |
- Bump to 2.15.93. |
|
203 |
* Wed Aug 09 2006 - [email protected] |
|
204 |
- Bump to 2.15.92. |
|
205 |
* Tue Aug 08 2006 - [email protected] |
|
206 |
- Bump to 2.15.91. |
|
207 |
* Mon Jul 24 2006 - [email protected] |
|
208 |
- Bump to 2.15.90. |
|
209 |
* Wed Jul 20 2006 - [email protected] |
|
210 |
- Bump to 2.15.1. |
|
211 |
* Fri Jun 02 2006 - [email protected] |
|
212 |
- Add patch to update the menu entry. |
|
213 |
* Wed Apr 19 2006 - [email protected] |
|
214 |
- Call dos2unix to fix po files. |
|
215 |
* Tue Apr 18 2006 - [email protected] |
|
216 |
- Bump to 2.14.2. |
|
217 |
* Tue Apr 11 2006 - [email protected] |
|
218 |
- Bump to 2.14.1. |
|
219 |
* Tue Mar 14 2006 - [email protected] |
|
220 |
- Bump to 2.14.0. |
|
221 |
* Tue Feb 28 2006 - [email protected] |
|
222 |
- Bump to 2.13.92. |
|
223 |
* Tue Feb 14 2006 - [email protected] |
|
224 |
- Bump to 2.13.91. |
|
225 |
* Tue Jan 31 2006 - [email protected] |
|
226 |
- Remove obsolete patch, 01-rm-jar-association. Reorder remainder. |
|
227 |
* Tue Jan 31 2006 - [email protected] |
|
228 |
- Bump to 2.13.90. |
|
229 |
* Sun Jan 22 2006 - [email protected] |
|
230 |
- Remove upstream patch, 02-move-menuitem. Renumber rest. |
|
231 |
* Tue Jan 17 2006 - [email protected] |
|
232 |
- Bump to 2.13.4 |
|
233 |
* Sat Jan 07 2006 - [email protected] |
|
234 |
- Remove ref to bonobo files that are no longer present. |
|
235 |
* Tue Jan 03 2006 - [email protected] |
|
236 |
- Bump to 2.13.3. |
|
237 |
* Tue Nov 29 2005 - [email protected] |
|
238 |
- remove javahelp stuff |
|
239 |
* Tue Nov 29 2005 - [email protected] |
|
240 |
- Bump to 2.12.2. |
|
241 |
* Tue Oct 11 2005 - [email protected] |
|
242 |
- Bump to 2.12.1 |
|
243 |
* Sat Sep 17 2005 - [email protected] |
|
244 |
- Bump to 2.12.0 |
|
245 |
* Mon Sep 05 2005 - [email protected] |
|
246 |
- Bump to 2.11.92. |
|
247 |
* Mon Aug 15 2005 - [email protected] |
|
248 |
- Bump to 2.11.91. |
|
249 |
* Fri May 20 2005 - [email protected] |
|
250 |
- Bump to 2.10.3 |
|
251 |
* Tue Mar 15 2005 - [email protected] |
|
252 |
- add patch for 6238712 |
|
253 |
* Wed Mar 02 2005 - [email protected] |
|
254 |
- Add patch so that renaming archive contents, prompts for an |
|
255 |
overwrite if the file/directory already exists. |
|
256 |
* Tue Jan 25 2005 - [email protected] |
|
257 |
- Update docs with Linux specific tarball from [email protected]. |
|
258 |
* Fri Jan 14 2005 - [email protected] |
|
259 |
- Updated l10n help tarball for cinnabar-linux |
|
260 |
* Thu Oct 28 2004 - [email protected] |
|
261 |
- Updated l10n help tarball and added pt_BR |
|
262 |
* Mon Oct 18 2004 - [email protected] |
|
263 |
- file-roller-09-extract-password.diff added |
|
264 |
* Fri Sep 10 2004 - [email protected] |
|
265 |
- Added patch file-roller-08-fix-dnd-crash.diff to fix the desktop icon |
|
266 |
dnd crash. Fixes bugtraq #5098546. |
|
267 |
* Mon Aug 30 2004 - [email protected] |
|
268 |
- Add file-roller-07-g11n-potfiles.diff |
|
269 |
* Wed Aug 25 2004 - [email protected] |
|
270 |
- Added l10n help contents |
|
271 |
* Fri Aug 20 2004 - [email protected] |
|
272 |
- Integrate updated docs tarball from [email protected]. |
|
273 |
* Thu Aug 05 2004 - [email protected] |
|
274 |
- Incorporate new docs tarball from [email protected]. |
|
275 |
* Tue Jul 27 2004 - [email protected] |
|
276 |
- Fix the file extraction for .zip/.jar. |
|
277 |
* Thu Jul 08 2004 - [email protected] |
|
278 |
- Updated l10n content to file-roller-l10n-po-1.2.tar.bz2 |
|
279 |
* Wed Jul 07 2004 - [email protected] |
|
280 |
- ported to rpm4 |
|
281 |
* Wed Jul 07 2004 - [email protected] |
|
282 |
- added "-j $CPUS" to make to speed up builds |
|
283 |
* Mon Jul 05 2004 - [email protected] |
|
284 |
- Added patch file-roller-05-add-folder-option.diff to add the feature of |
|
285 |
folder addition in an archive. |
|
286 |
* Wed Jun 09 2004 - [email protected] |
|
287 |
- Modified patch file-roller-04-set-path-gtar.diff to use putenv instead of |
|
288 |
setenv |
|
289 |
* Wed Jun 09 2004 - [email protected] |
|
290 |
- Added patch file-roller-04-set-path-gtar.diff to /usr/sfw/bin so that |
|
291 |
gtar is picked up instead of tar |
|
292 |
* Fri May 28 2004 - [email protected] |
|
293 |
- Incorporate new docs tarball from [email protected]. |
|
294 |
* Fri May 14 2004 - [email protected] |
|
295 |
- Don't show the password in plain text: file-roller-03-password-invisible.diff |
|
296 |
* Wed May 12 2004 - [email protected] |
|
297 |
- Updated l10n content to file-roller-l10n-po-1.1.tar.bz2 |
|
298 |
* Tue May 04 2004 - [email protected] |
|
299 |
- Bump to 2.6.1 |
|
300 |
* Tue Apr 27 2004 - [email protected] |
|
301 |
- Move the position of "Archive Manager" from "System Tools" |
|
302 |
to "Accessories" in panel menu. |
|
303 |
* Sun Apr 18 2004 - [email protected] |
|
304 |
- enable javahelp conversion on Solaris |
|
305 |
* Tue Apr 13 2004 - [email protected] |
|
306 |
- upgraded tarball |
|
307 |
* Thu Apr 01 2004 - [email protected] |
|
308 |
- javahelp conversion |
|
309 |
* Mon Mar 29 2004 - [email protected] |
|
310 |
- Updated l10n content to file-roller-l10n-po-1.0.tar.bz2 |
|
311 |
* Tue Mar 16 2004 - [email protected] |
|
312 |
- Remove validation of archive check since the patch is |
|
313 |
wrong. |
|
314 |
* Tue Mar 16 2004 - [email protected] |
|
315 |
- Bump to 2.5.7 and remove localized documentation |
|
316 |
tarball as it no longer makes sense. Remove the menu |
|
317 |
patch and l10n patches. |
|
318 |
* Wed Feb 25 2004 - [email protected] |
|
319 |
- change tar jxvf to bzcat | tar xf - |
|
320 |
- use proper path macros instead of hardcoded paths |
|
321 |
* Wed Dec 17 2003 - [email protected] |
|
322 |
- Bump to 2.5.4, re-apply patches 01/02 |
|
323 |
- Add l10n and patch 03 |
|
324 |
- Add libtoolize/automake etc... |
|
325 |
* Wed Dec 17 2003 - [email protected] |
|
326 |
- Bump to 2.5.0 |
|
327 |
* Fri Oct 31 2003 - [email protected] |
|
328 |
- Remove the Sun Supported keyword from the |
|
329 |
desktop file. |
|
330 |
* Mon Oct 13 2003 - [email protected] |
|
331 |
- tarball upgrade |
|
332 |
* Fri Sep 26 2003 - <[email protected]> |
|
333 |
- integrate Sun docs |
|
334 |
* Thu Aug 14 2003 - <[email protected]> |
|
335 |
- remove *.a, *.la |
|
336 |
* Thu Aug 07 2003 - [email protected] |
|
337 |
- Update tarball, bump version, reset release. |
|
338 |
* Wed Jul 30 2003 - Laszlo [email protected] |
|
339 |
- added file-roller-02-validate-new-archive.diff |
|
340 |
* Tue May 13 2002 - [email protected] |
|
341 |
- initial package for GNOME 2.2 |