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