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