]>
Commit | Line | Data |
---|---|---|
31c27243 | 1 | Summary: An archive manager for GNOME |
ae212014 ER |
2 | Summary(pl.UTF-8): Zarządca archiwów dla GNOME |
3 | Summary(pt_BR.UTF-8): Gerenciador de arquivos compactados para o GNOME | |
31c27243 | 4 | Name: file-roller |
d9e1efe9 | 5 | Version: 2.19.92 |
0012084e | 6 | Release: 1 |
31c27243 | 7 | License: GPL v2 |
bc516785 | 8 | Group: X11/Applications |
d9e1efe9 PZ |
9 | Source0: http://ftp.gnome.org/pub/GNOME/sources/file-roller/2.19/%{name}-%{version}.tar.bz2 |
10 | # Source0-md5: f19d29d7406e5773202da1782d7d1d0b | |
00c5670b | 11 | Patch0: %{name}-desktop.patch |
bc516785 | 12 | URL: http://www.gnome.org/ |
d9e1efe9 | 13 | BuildRequires: GConf2-devel >= 2.19.1 |
e1d9d17c | 14 | BuildRequires: autoconf >= 2.52 |
31c27243 | 15 | BuildRequires: automake |
7c894f94 | 16 | BuildRequires: gettext-devel |
d9e1efe9 PZ |
17 | BuildRequires: gnome-doc-utils >= 0.12.0 |
18 | BuildRequires: gnome-vfs2-devel >= 2.20.0 | |
19 | BuildRequires: gtk+2-devel >= 2:2.12.0 | |
20 | BuildRequires: libglade2-devel >= 1:2.6.2 | |
21 | BuildRequires: libgnomeui-devel >= 2.19.1 | |
5d6c3424 | 22 | BuildRequires: libtool |
d9e1efe9 | 23 | BuildRequires: nautilus-devel >= 2.19.91 |
8a61b2ca | 24 | BuildRequires: pkgconfig |
0012084e | 25 | BuildRequires: rpmbuild(macros) >= 1.311 |
cbc37441 | 26 | BuildRequires: scrollkeeper |
00c5670b | 27 | Requires(post,postun): desktop-file-utils |
84d723ef | 28 | Requires(post,postun): gtk+2 |
cd244210 | 29 | Requires(post,postun): hicolor-icon-theme |
f9bd93bf | 30 | Requires(post,postun): scrollkeeper |
cd244210 | 31 | Requires(post,preun): GConf2 |
d9e1efe9 PZ |
32 | Requires: gnome-vfs2 >= 2.20.0 |
33 | Requires: libgnomeui >= 2.19.1 | |
34 | Requires: nautilus-libs >= 2.19.91 | |
31c27243 | 35 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
cec9f965 | 36 | |
37 | %description | |
31c27243 | 38 | File Roller is an archive manager for the GNOME environment. With File |
b9656a53 | 39 | Roller you can: create and modify archives; view the content of an |
31c27243 | 40 | archive; view a file contained in the archive; extract files from the |
41 | archive. File Roller is only a front-end (a graphical interface) to | |
b9656a53 | 42 | various archiving programs. The supported file types are: |
48b730b6 | 43 | - Tar archives uncompressed (.tar) or compressed with |
84d723ef MB |
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) | |
48b730b6 | 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. | |
b9656a53 | 54 | |
10ce1a3a JR |
55 | %description -l pl.UTF-8 |
56 | File Roller to zarządca archiwów dla środowiska GNOME. Przy jego | |
57 | pomocy można: tworzyć i modyfikować archiwa, oglądać ich zawartość, | |
58 | oglądać poszczególne pliki zawarte w archiwum oraz rozpakowywać pliki | |
59 | z archiwów. File Roller jest tylko interfejsem graficznym do | |
60 | właściwych programów archiwizujących. Obsługiwane typy plików to: | |
b9656a53 | 61 | - archiwa tar nieskompresowane (.tar) lub skompresowane programami: |
84d723ef MB |
62 | - gzip (.tar.gz, .tgz) |
63 | - bzip (.tar.bz, .tbz) | |
64 | - bzip2 (.tar.bz2, .tbz2) | |
65 | - compress (.tar.Z, .taz) | |
66 | - lzop (.tar.lzo, .tzo) | |
b9656a53 JB |
67 | - archiwa zip (.zip) |
68 | - archiwa jar (.jar, .ear, .war) | |
69 | - archiwa lha (.lzh) | |
70 | - archiwa rar (.rar) | |
71 | - pojedyncze pliki skompresowane programami gzip, bzip, bzip2, | |
72 | compress, lzop. | |
cec9f965 | 73 | |
10ce1a3a JR |
74 | %description -l pt_BR.UTF-8 |
75 | File Roller é um gerenciador de pacotes de arquivos compactados para o | |
76 | ambiente GNOME. Com ele é possível criar arquivos, visualizar o | |
77 | conteúdo de arquivos existentes, visualizar um arquivo contido em um | |
aede5ef1 | 78 | pacote e extrair os arquivos de um pacote. |
79 | ||
cec9f965 | 80 | %prep |
31c27243 | 81 | %setup -q |
c4cdc1c0 | 82 | %patch0 -p1 |
cec9f965 | 83 | |
84 | %build | |
0012084e | 85 | %{__gnome_doc_prepare} |
d9e1efe9 | 86 | %{__intltoolize} |
5c218afb | 87 | %{__libtoolize} |
bc516785 | 88 | %{__aclocal} |
049c5ec9 | 89 | %{__autoconf} |
90 | %{__automake} | |
e9169a43 | 91 | %configure \ |
8c6f0e5d JB |
92 | --disable-schemas-install \ |
93 | --disable-static | |
31c27243 | 94 | %{__make} |
cec9f965 | 95 | |
96 | %install | |
97 | rm -rf $RPM_BUILD_ROOT | |
31c27243 | 98 | |
99 | %{__make} install \ | |
100 | DESTDIR=$RPM_BUILD_ROOT \ | |
2cf8bbdf | 101 | omf_dest_dir=%{_omf_dest_dir}/%{name} \ |
102 | GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 | |
31c27243 | 103 | |
744e6885 | 104 | rm -f $RPM_BUILD_ROOT%{_libdir}/bonobo/*.la |
00c5670b | 105 | rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-1.0/*.la |
106 | rm -rf $RPM_BUILD_ROOT%{_datadir}/{mime-info,application-registry} | |
f9bd93bf | 107 | |
bc516785 | 108 | %find_lang %{name} --with-gnome |
cec9f965 | 109 | |
110 | %clean | |
111 | rm -rf $RPM_BUILD_ROOT | |
112 | ||
bc516785 | 113 | %post |
f52ca67d | 114 | %gconf_schema_install file-roller.schemas |
115 | %scrollkeeper_update_post | |
116 | %update_desktop_database_post | |
0012084e | 117 | %update_icon_cache hicolor |
00c5670b | 118 | %banner %{name} -e << EOF |
119 | For fully operational File Roller you need to install archiving | |
120 | programs described in README. | |
121 | EOF | |
122 | ||
123 | %preun | |
f52ca67d | 124 | %gconf_schema_uninstall file-roller.schemas |
bc516785 | 125 | |
f9bd93bf | 126 | %postun |
f52ca67d | 127 | %scrollkeeper_update_postun |
128 | %update_desktop_database_postun | |
0012084e | 129 | %update_icon_cache hicolor |
bc516785 | 130 | |
31c27243 | 131 | %files -f %{name}.lang |
132 | %defattr(644,root,root,755) | |
bc516785 | 133 | %doc AUTHORS NEWS README |
31c27243 | 134 | %attr(755,root,root) %{_bindir}/file-roller |
e1d9d17c | 135 | %attr(755,root,root) %{_libdir}/nautilus/extensions-1.0/*.so |
cd244210 MB |
136 | %dir %{_libdir}/file-roller |
137 | %attr(755,root,root) %{_libdir}/file-roller/*.sh | |
31c27243 | 138 | %{_datadir}/file-roller |
85363890 | 139 | %{_desktopdir}/*.desktop |
cd244210 | 140 | %{_iconsdir}/hicolor/*/apps/file-roller.* |
d9e1efe9 PZ |
141 | %dir %{_omf_dest_dir}/%{name} |
142 | %{_omf_dest_dir}/file-roller/file-roller-C.omf | |
143 | %lang(bg) %{_omf_dest_dir}/file-roller/file-roller-bg.omf | |
144 | %lang(de) %{_omf_dest_dir}/file-roller/file-roller-de.omf | |
145 | %lang(es) %{_omf_dest_dir}/file-roller/file-roller-es.omf | |
146 | %lang(fr) %{_omf_dest_dir}/file-roller/file-roller-fr.omf | |
147 | %lang(it) %{_omf_dest_dir}/file-roller/file-roller-it.omf | |
148 | %lang(nl) %{_omf_dest_dir}/file-roller/file-roller-nl.omf | |
149 | %lang(oc) %{_omf_dest_dir}/file-roller/file-roller-oc.omf | |
150 | %lang(ru) %{_omf_dest_dir}/file-roller/file-roller-ru.omf | |
151 | %lang(sv) %{_omf_dest_dir}/file-roller/file-roller-sv.omf | |
152 | %lang(uk) %{_omf_dest_dir}/file-roller/file-roller-uk.omf | |
cbc37441 | 153 | %{_sysconfdir}/gconf/schemas/file-roller.schemas |