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