]>
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 |
d67d598c | 5 | Version: 2.18.1 |
0012084e | 6 | Release: 1 |
31c27243 | 7 | License: GPL v2 |
bc516785 | 8 | Group: X11/Applications |
cd244210 | 9 | Source0: http://ftp.gnome.org/pub/gnome/sources/file-roller/2.18/%{name}-%{version}.tar.bz2 |
d67d598c | 10 | # Source0-md5: 8cbd7292146da7d6fe3a586c77263079 |
00c5670b | 11 | Patch0: %{name}-desktop.patch |
bc516785 | 12 | URL: http://www.gnome.org/ |
cd244210 | 13 | BuildRequires: GConf2-devel >= 2.18.0.1 |
e1d9d17c | 14 | BuildRequires: autoconf >= 2.52 |
31c27243 | 15 | BuildRequires: automake |
7c894f94 | 16 | BuildRequires: gettext-devel |
d67d598c | 17 | BuildRequires: gnome-doc-utils >= 0.10.3 |
cd244210 MB |
18 | BuildRequires: gnome-vfs2-devel >= 2.18.0.1 |
19 | BuildRequires: gtk+2-devel >= 2:2.10.10 | |
17fbf40e | 20 | BuildRequires: libglade2-devel >= 1:2.6.0 |
cd244210 | 21 | BuildRequires: libgnomeui-devel >= 2.18.1 |
5d6c3424 | 22 | BuildRequires: libtool |
cd244210 | 23 | BuildRequires: nautilus-devel >= 2.18.0.1 |
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 MB |
31 | Requires(post,preun): GConf2 |
32 | Requires: gnome-vfs2 >= 2.18.0.1 | |
33 | Requires: libgnomeui >= 2.18.1 | |
34 | Requires: nautilus-libs >= 2.18.0.1 | |
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} |
5c218afb | 86 | %{__libtoolize} |
bc516785 | 87 | %{__aclocal} |
049c5ec9 | 88 | %{__autoconf} |
89 | %{__automake} | |
e9169a43 | 90 | %configure \ |
8c6f0e5d JB |
91 | --disable-schemas-install \ |
92 | --disable-static | |
31c27243 | 93 | %{__make} |
cec9f965 | 94 | |
95 | %install | |
96 | rm -rf $RPM_BUILD_ROOT | |
31c27243 | 97 | |
98 | %{__make} install \ | |
99 | DESTDIR=$RPM_BUILD_ROOT \ | |
2cf8bbdf | 100 | omf_dest_dir=%{_omf_dest_dir}/%{name} \ |
101 | GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 | |
31c27243 | 102 | |
744e6885 | 103 | rm -f $RPM_BUILD_ROOT%{_libdir}/bonobo/*.la |
00c5670b | 104 | rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-1.0/*.la |
105 | rm -rf $RPM_BUILD_ROOT%{_datadir}/{mime-info,application-registry} | |
f9bd93bf | 106 | |
bc516785 | 107 | %find_lang %{name} --with-gnome |
cec9f965 | 108 | |
109 | %clean | |
110 | rm -rf $RPM_BUILD_ROOT | |
111 | ||
bc516785 | 112 | %post |
f52ca67d | 113 | %gconf_schema_install file-roller.schemas |
114 | %scrollkeeper_update_post | |
115 | %update_desktop_database_post | |
0012084e | 116 | %update_icon_cache hicolor |
00c5670b | 117 | %banner %{name} -e << EOF |
118 | For fully operational File Roller you need to install archiving | |
119 | programs described in README. | |
120 | EOF | |
121 | ||
122 | %preun | |
f52ca67d | 123 | %gconf_schema_uninstall file-roller.schemas |
bc516785 | 124 | |
f9bd93bf | 125 | %postun |
f52ca67d | 126 | %scrollkeeper_update_postun |
127 | %update_desktop_database_postun | |
0012084e | 128 | %update_icon_cache hicolor |
bc516785 | 129 | |
31c27243 | 130 | %files -f %{name}.lang |
131 | %defattr(644,root,root,755) | |
bc516785 | 132 | %doc AUTHORS NEWS README |
31c27243 | 133 | %attr(755,root,root) %{_bindir}/file-roller |
e1d9d17c | 134 | %attr(755,root,root) %{_libdir}/nautilus/extensions-1.0/*.so |
cd244210 MB |
135 | %dir %{_libdir}/file-roller |
136 | %attr(755,root,root) %{_libdir}/file-roller/*.sh | |
31c27243 | 137 | %{_datadir}/file-roller |
85363890 | 138 | %{_desktopdir}/*.desktop |
cd244210 | 139 | %{_iconsdir}/hicolor/*/apps/file-roller.* |
bc516785 | 140 | %{_omf_dest_dir}/%{name} |
cbc37441 | 141 | %{_sysconfdir}/gconf/schemas/file-roller.schemas |