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