author | dc144907 |
Tue, 03 Jan 2006 09:08:06 +0000 | |
changeset 6464 | 7f0a1deef016 |
parent 6299 | 4b3aea37c890 |
child 6538 | b87bbb060d7a |
permissions | -rw-r--r-- |
5518 | 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 |
# |
|
52 | 8 |
Name: file-roller |
9 |
License: GPL |
|
10 |
Group: System/GUI/GNOME |
|
6464 | 11 |
Version: 2.13.3 |
5518 | 12 |
Release: 1 |
13 |
Distribution: Java Desktop System |
|
575 | 14 |
Vendor: Sun Microsystems, Inc. |
52 | 15 |
Summary: An archive manager for GNOME |
6464 | 16 |
Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.13/%{name}-%{version}.tar.bz2 |
5518 | 17 |
Source1: file-roller.1.gz |
2221 | 18 |
Patch1: file-roller-01-rm-jar-association.diff |
5518 | 19 |
Patch2: file-roller-02-move-menuitem.diff |
20 |
Patch3: file-roller-03-zip-command.diff |
|
21 |
Patch4: file-roller-04-rename-contents.diff |
|
5168 | 22 |
|
1464 | 23 |
URL: http://www.gnome.org |
52 | 24 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
25 |
Docdir: %{_defaultdocdir} |
|
185 | 26 |
Autoreqprov: on |
5518 | 27 |
Prereq: GConf |
185 | 28 |
|
3628 | 29 |
%define scrollkeeper_version 0.3.14 |
30 |
%define nautilus_version 2.6.1 |
|
185 | 31 |
|
32 |
BuildRequires: scrollkeeper >= %{scrollkeeper_version} |
|
33 |
BuildRequires: nautilus-devel >= %{nautilus_version} |
|
34 |
Requires: nautilus >= %{nautilus_version} |
|
52 | 35 |
|
36 |
%description |
|
37 |
File Roller is an archive manager for the GNOME environment. This means that |
|
38 |
you can : create and modify archives; view the content of an archive; view a |
|
39 |
file contained in the archive; extract files from the archive. |
|
40 |
File Roller is only a front-end (a graphical interface) to archiving programs |
|
5518 | 41 |
like tar and zip. The supported file types are - |
42 |
||
43 |
* Tar archives uncompressed (.tar) or compressed with |
|
44 |
* gzip (.tar.gz , .tgz) |
|
45 |
* bzip (.tar.bz , .tbz) |
|
46 |
* bzip2 (.tar.bz2 , .tbz2) |
|
47 |
* compress (.tar.Z , .taz) |
|
48 |
* lzop (.tar.lzo , .tzo) |
|
49 |
* Zip archives (.zip) |
|
50 |
* Jar archives (.jar , .ear , .war) |
|
51 |
* Lha archives (.lzh) |
|
52 |
* Rar archives (.rar) |
|
53 |
* Single files compressed with gzip, bzip, bzip2, compress, lzop |
|
52 | 54 |
|
55 |
%prep |
|
1464 | 56 |
%setup -q |
758 | 57 |
%patch1 -p1 |
2569 | 58 |
%patch2 -p1 |
2759
cfd62ef8d270
2005-05-14 Balamurali Viswanathan <[email protected]>
bviswa
parents:
2736
diff
changeset
|
59 |
%patch3 -p1 |
3075
2d792390165e
2004-06-09 Balamurali Viswanathan - <[email protected]>
bviswa
parents:
2958
diff
changeset
|
60 |
%patch4 -p1 |
4455 | 61 |
|
52 | 62 |
%build |
3263 | 63 |
%ifos linux |
64 |
if [ -x /usr/bin/getconf ]; then |
|
65 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
66 |
fi |
|
67 |
%else |
|
3846 | 68 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 69 |
%endif |
70 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
71 |
CPUS=1 |
|
72 |
fi |
|
73 |
||
3254 | 74 |
libtoolize --force |
5518 | 75 |
aclocal $ACLOCAL_FLAGS |
3254 | 76 |
autoheader |
77 |
automake -a -c -f |
|
78 |
autoconf |
|
79 |
||
5647 | 80 |
#FIXME: Disable scrollkeeper for now. |
1014 | 81 |
CFLAGS="$RPM_OPT_FLAGS" \ |
82 |
./configure \ |
|
83 |
--prefix=%{_prefix} \ |
|
5647 | 84 |
--sysconfdir=%{_sysconfdir} \ |
85 |
--disable-scrollkeeper |
|
3263 | 86 |
make -j $CPUS |
52 | 87 |
|
88 |
%install |
|
89 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|
90 |
make DESTDIR=$RPM_BUILD_ROOT install |
|
91 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
|
1994 | 92 |
install -d $RPM_BUILD_ROOT%{_mandir}/man1 |
5518 | 93 |
install --mode=0644 %SOURCE1 $RPM_BUILD_ROOT%{_mandir}/man1 |
1464 | 94 |
#Copy zh_HK from zh_TW |
95 |
#Fixes bug 4930405 |
|
1994 | 96 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES |
97 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/ |
|
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
98 |
|
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
99 |
|
5518 | 100 |
rm $RPM_BUILD_ROOT%{_libdir}/bonobo/libfile-roller-component.a |
101 |
rm $RPM_BUILD_ROOT%{_libdir}/bonobo/libfile-roller-component.la |
|
102 |
rm $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-1.0/libnautilus-fileroller.a |
|
103 |
rm $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-1.0/libnautilus-fileroller.la |
|
3628 | 104 |
|
413 | 105 |
%clean |
106 |
rm -rf $RPM_BUILD_ROOT |
|
107 |
||
52 | 108 |
%post |
109 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
|
110 |
SCHEMAS="file-roller.schemas" |
|
111 |
for S in $SCHEMAS; do |
|
112 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null |
|
113 |
done |
|
114 |
||
115 |
%files |
|
116 |
%defattr(-, root, root) |
|
117 |
%doc AUTHORS NEWS README COPYING |
|
5518 | 118 |
%{_sysconfdir}/gconf/schemas/*.schemas |
119 |
%{_bindir}/file-roller |
|
1058 | 120 |
%{_libdir}/bonobo/libfile-roller-component.so* |
52 | 121 |
%{_libdir}/bonobo/servers/*.server |
5518 | 122 |
%{_libdir}/nautilus/extensions-1.0/libnautilus-fileroller.so |
52 | 123 |
%{_datadir}/application-registry/*.applications |
5518 | 124 |
%{_datadir}/applications/*.desktop |
125 |
%{_datadir}/file-roller |
|
126 |
%{_datadir}/gnome/help/file-roller |
|
52 | 127 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
5518 | 128 |
%{_datadir}/mime-info/* |
129 |
%{_datadir}/omf/file-roller |
|
52 | 130 |
%{_datadir}/pixmaps/*.png |
2214 | 131 |
%{_mandir}/man1/file-roller.1.gz |
52 | 132 |
|
1464 | 133 |
%changelog |
6464 | 134 |
* Tue Jan 03 2006 - [email protected] |
135 |
- Bump to 2.13.3. |
|
136 |
||
137 |
* Tue Nov 29 2005 - [email protected] |
|
6299 | 138 |
- remove javahelp stuff |
139 |
||
6297
325024482887
* eel.spec eog.spec evolution.spec evolution-data-server.spec
dc144907
parents:
6080
diff
changeset
|
140 |
* Tue Nov 29 2005 - [email protected] |
325024482887
* eel.spec eog.spec evolution.spec evolution-data-server.spec
dc144907
parents:
6080
diff
changeset
|
141 |
- Bump to 2.12.2. |
325024482887
* eel.spec eog.spec evolution.spec evolution-data-server.spec
dc144907
parents:
6080
diff
changeset
|
142 |
|
6080
4b30e2aa0fc7
* bug-buddy.spec control-center.spec eel.spec eog.spec
dc144907
parents:
5895
diff
changeset
|
143 |
* Tue Oct 11 2005 - [email protected] |
4b30e2aa0fc7
* bug-buddy.spec control-center.spec eel.spec eog.spec
dc144907
parents:
5895
diff
changeset
|
144 |
- Bump to 2.12.1 |
4b30e2aa0fc7
* bug-buddy.spec control-center.spec eel.spec eog.spec
dc144907
parents:
5895
diff
changeset
|
145 |
|
5895 | 146 |
* Sat Sep 17 2005 - [email protected] |
147 |
- Bump to 2.12.0 |
|
148 |
||
5719
2e95a68e5ca1
* GConf.spec at-spi.spec atk.spec bug-buddy.spec eel.spec eog.spec
dc144907
parents:
5647
diff
changeset
|
149 |
* Mon Sep 05 2005 - [email protected] |
2e95a68e5ca1
* GConf.spec at-spi.spec atk.spec bug-buddy.spec eel.spec eog.spec
dc144907
parents:
5647
diff
changeset
|
150 |
- Bump to 2.11.92. |
2e95a68e5ca1
* GConf.spec at-spi.spec atk.spec bug-buddy.spec eel.spec eog.spec
dc144907
parents:
5647
diff
changeset
|
151 |
|
5528
8eaf8a1cb170
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
152 |
* Mon Aug 15 2005 - [email protected] |
8eaf8a1cb170
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
153 |
- Bump to 2.11.91. |
8eaf8a1cb170
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
154 |
|
5518 | 155 |
* Fri May 20 2005 - [email protected] |
156 |
- Bump to 2.10.3 |
|
157 |
||
5245 | 158 |
* Tue Mar 15 2005 - [email protected] |
159 |
- add patch for 6238712 |
|
5518 | 160 |
|
5167 | 161 |
* Wed Mar 02 2005 - [email protected] |
162 |
- Add patch so that renaming archive contents, prompts for an |
|
163 |
overwrite if the file/directory already exists. |
|
164 |
||
4930
09d44a00403a
* eog.spec, file-roller.spec, gaim.spec, gedit.spec, ggv.spec,
dc144907
parents:
4867
diff
changeset
|
165 |
* Tue Jan 25 2005 - [email protected] |
09d44a00403a
* eog.spec, file-roller.spec, gaim.spec, gedit.spec, ggv.spec,
dc144907
parents:
4867
diff
changeset
|
166 |
- Update docs with Linux specific tarball from [email protected]. |
09d44a00403a
* eog.spec, file-roller.spec, gaim.spec, gedit.spec, ggv.spec,
dc144907
parents:
4867
diff
changeset
|
167 |
|
4844 | 168 |
* Fri Jan 14 2005 - [email protected] |
169 |
- Updated l10n help tarball for cinnabar-linux |
|
170 |
||
4352 | 171 |
* Thu Oct 28 2004 - [email protected] |
172 |
- Updated l10n help tarball and added pt_BR |
|
173 |
||
4280
dbe1f2c1e326
plaintext password in Extract dialog of file-roller fixed
lk86177
parents:
4276
diff
changeset
|
174 |
* Mon Oct 18 2004 - [email protected] |
dbe1f2c1e326
plaintext password in Extract dialog of file-roller fixed
lk86177
parents:
4276
diff
changeset
|
175 |
- file-roller-09-extract-password.diff added |
3892 | 176 |
* Fri Sep 10 2004 - [email protected] |
177 |
- Added patch file-roller-08-fix-dnd-crash.diff to fix the desktop icon |
|
178 |
dnd crash. Fixes bugtraq #5098546. |
|
179 |
||
3796 | 180 |
* Mon Aug 30 2004 - [email protected] |
181 |
- Add file-roller-07-g11n-potfiles.diff |
|
182 |
||
3734 | 183 |
* Wed Aug 25 2004 - [email protected] |
184 |
- Added l10n help contents |
|
185 |
||
3664
8cf0c5cfb717
* now.spec, gnome-address-applet.spec, file-roller.spec, bug-buddy.spec,
dc144907
parents:
3628
diff
changeset
|
186 |
* Fri Aug 20 2004 - [email protected] |
8cf0c5cfb717
* now.spec, gnome-address-applet.spec, file-roller.spec, bug-buddy.spec,
dc144907
parents:
3628
diff
changeset
|
187 |
- Integrate updated docs tarball from [email protected]. |
8cf0c5cfb717
* now.spec, gnome-address-applet.spec, file-roller.spec, bug-buddy.spec,
dc144907
parents:
3628
diff
changeset
|
188 |
|
3487 | 189 |
* Thu Aug 05 2004 - [email protected] |
190 |
- Incorporate new docs tarball from [email protected]. |
|
191 |
||
3436 | 192 |
* Tue Jul 27 2004 - [email protected] |
193 |
- Fix the file extraction for .zip/.jar. |
|
194 |
||
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
195 |
* Thu Jul 08 2004 - [email protected] |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
196 |
- Updated l10n content to file-roller-l10n-po-1.2.tar.bz2 |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
197 |
|
3628 | 198 |
* Wed Jul 07 2004 - [email protected] |
199 |
- ported to rpm4 |
|
200 |
||
3263 | 201 |
* Wed Jul 07 2004 - [email protected] |
202 |
- added "-j $CPUS" to make to speed up builds |
|
203 |
||
3246 | 204 |
* Mon Jul 05 2004 - [email protected] |
205 |
- Added patch file-roller-05-add-folder-option.diff to add the feature of |
|
206 |
folder addition in an archive. |
|
207 |
||
3075
2d792390165e
2004-06-09 Balamurali Viswanathan - <[email protected]>
bviswa
parents:
2958
diff
changeset
|
208 |
* Wed Jun 09 2004 - [email protected] |
3089
b50f0e492ae9
2004-06-10 Balamurali Viswanathan <[email protected]>
bviswa
parents:
3075
diff
changeset
|
209 |
- Modified patch file-roller-04-set-path-gtar.diff to use putenv instead of |
b50f0e492ae9
2004-06-10 Balamurali Viswanathan <[email protected]>
bviswa
parents:
3075
diff
changeset
|
210 |
setenv |
b50f0e492ae9
2004-06-10 Balamurali Viswanathan <[email protected]>
bviswa
parents:
3075
diff
changeset
|
211 |
|
b50f0e492ae9
2004-06-10 Balamurali Viswanathan <[email protected]>
bviswa
parents:
3075
diff
changeset
|
212 |
* Wed Jun 09 2004 - [email protected] |
3075
2d792390165e
2004-06-09 Balamurali Viswanathan - <[email protected]>
bviswa
parents:
2958
diff
changeset
|
213 |
- Added patch file-roller-04-set-path-gtar.diff to /usr/sfw/bin so that |
2d792390165e
2004-06-09 Balamurali Viswanathan - <[email protected]>
bviswa
parents:
2958
diff
changeset
|
214 |
gtar is picked up instead of tar |
2d792390165e
2004-06-09 Balamurali Viswanathan - <[email protected]>
bviswa
parents:
2958
diff
changeset
|
215 |
|
2942
36dd168a11be
* eog.spec, file-roller.spec, gcalctool.spec,gnome-applets.spec,
dc144907
parents:
2777
diff
changeset
|
216 |
* Fri May 28 2004 - [email protected] |
36dd168a11be
* eog.spec, file-roller.spec, gcalctool.spec,gnome-applets.spec,
dc144907
parents:
2777
diff
changeset
|
217 |
- Incorporate new docs tarball from [email protected]. |
36dd168a11be
* eog.spec, file-roller.spec, gcalctool.spec,gnome-applets.spec,
dc144907
parents:
2777
diff
changeset
|
218 |
|
2759
cfd62ef8d270
2005-05-14 Balamurali Viswanathan <[email protected]>
bviswa
parents:
2736
diff
changeset
|
219 |
* Fri May 14 2004 - [email protected] |
cfd62ef8d270
2005-05-14 Balamurali Viswanathan <[email protected]>
bviswa
parents:
2736
diff
changeset
|
220 |
- Don't show the password in plain text (file-roller-03-password-invisible.diff) |
cfd62ef8d270
2005-05-14 Balamurali Viswanathan <[email protected]>
bviswa
parents:
2736
diff
changeset
|
221 |
|
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2628
diff
changeset
|
222 |
* Wed May 12 2004 - [email protected] |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2628
diff
changeset
|
223 |
- Updated l10n content to file-roller-l10n-po-1.1.tar.bz2 |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2628
diff
changeset
|
224 |
|
2628 | 225 |
* Tue May 04 2004 - [email protected] |
226 |
- Bump to 2.6.1 |
|
227 |
||
2569 | 228 |
* Tue Apr 27 2004 - [email protected] |
229 |
- Move the position of "Archive Manager" from "System Tools" |
|
230 |
to "Accessories" in panel menu. |
|
231 |
||
2485 | 232 |
* Sun Apr 18 2004 - [email protected] |
233 |
- enable javahelp conversion on Solaris |
|
234 |
||
2449 | 235 |
* Tue Apr 13 2004 - [email protected] |
236 |
- upgraded tarball |
|
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
237 |
* Thu Apr 01 2004 - [email protected] |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
238 |
- javahelp conversion |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
239 |
|
2350 | 240 |
* Mon Mar 29 2004 - [email protected] |
241 |
- Updated l10n content to file-roller-l10n-po-1.0.tar.bz2 |
|
242 |
||
2214 | 243 |
* Tue Mar 16 2004 - [email protected] |
2221 | 244 |
- Remove validation of archive check since the patch is |
245 |
wrong. |
|
246 |
||
247 |
* Tue Mar 16 2004 - [email protected] |
|
2214 | 248 |
- Bump to 2.5.7 and remove localized documentation |
249 |
tarball as it no longer makes sense. Remove the menu |
|
250 |
patch and l10n patches. |
|
251 |
||
252 |
* Wed Feb 25 2004 - [email protected] |
|
1994 | 253 |
- change tar jxvf to bzcat | tar xf - |
254 |
- use proper path macros instead of hardcoded paths |
|
255 |
||
1464 | 256 |
* Wed Dec 17 2003 - [email protected] |
1782 | 257 |
- Bump to 2.5.4, re-apply patches 01/02 |
258 |
- Add l10n and patch 03 |
|
259 |
- Add libtoolize/automake etc... |
|
260 |
||
261 |
* Wed Dec 17 2003 - [email protected] |
|
1464 | 262 |
- Bump to 2.5.0 |
263 |
||
1366 | 264 |
* Fri Oct 31 2003 - [email protected] |
265 |
- Remove the Sun Supported keyword from the |
|
266 |
desktop file. |
|
267 |
||
1247 | 268 |
* Mon Oct 13 2003 - [email protected] |
269 |
- tarball upgrade |
|
1366 | 270 |
|
1169 | 271 |
* Fri Sep 26 2003 - <[email protected]> |
272 |
- integrate Sun docs |
|
273 |
||
1058 | 274 |
* Thu Aug 14 2003 - <[email protected]> |
275 |
- remove *.a, *.la |
|
276 |
||
1004 | 277 |
* Thu Aug 07 2003 - [email protected] |
278 |
- Update tarball, bump version, reset release. |
|
279 |
||
857 | 280 |
* Wed Jul 30 2003 - Laszlo [email protected] |
281 |
- added file-roller-02-validate-new-archive.diff |
|
1004 | 282 |
|
52 | 283 |
* Tue May 13 2002 - [email protected] |
284 |
- initial package for GNOME 2.2 |