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