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