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