xarchiver/xarchiver.spec
2021-06-25 15:53:28 +08:00

63 lines
1.9 KiB
RPMSpec

Name: xarchiver
Version: 0.5.4.17
Release: 1
Summary: Archive manager for Xfce
License: GPLv2+
URL: https://github.com/ib/xarchiver
Source0: https://github.com/ib/xarchiver/archive/%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gtk2-devel, libxml2-devel, gettext, desktop-file-utils
BuildRequires: xfce4-dev-tools >= 4.3.90.2
BuildRequires: autoconf >= 2.69
BuildRequires: libtool
BuildRequires: automake
BuildRequires: intltool
%description
Xarchiver is a lightweight desktop independent GTK+ frontend for manipulating
xz, 7z, lzma, arj, bzip2, gzip, rar, tar, zip, rpm, lz4, compress, zstd, lzip,
lrzip, lzop, lha, ar files including the deb format and self-extracting
exe files, if they were internally compressed with either 7zip, arj, lha, rar
or zip. Multi-threading tools such as lbzip2, pbzip2, pigz and plzip can be
used as replacements for their respective counterparts.
Xarchiver allows you to create archives and add, extract, and delete files
from them. Password protected archives in the arj, 7z, rar, zip and lrzip
formats are supported.
%prep
%autosetup
%build
./autogen.sh
%configure
%make_build
%install
make install DESTDIR=%{buildroot} INSTALL="install -p"
%find_lang %{name}
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
# remove duplicate docs
rm %{buildroot}%{_docdir}/%{name}/{COPYING,ChangeLog,README}
%files -f %{name}.lang
%doc COPYING ChangeLog README
%doc %{_docdir}/%{name}/
%{_bindir}/%{name}
%{_datadir}/applications/*%{name}.desktop
%{_datadir}/icons/hicolor/*/*/*
%{_datadir}/pixmaps/%{name}/
%{_libexecdir}/thunar-archive-plugin/
%{_mandir}/man1/%{name}.1*
%changelog
* Fri Jun 18 2021 zhanglin <lin.zhang@turbolinux.com.cn> - 0.5.4.17-1
- Update to 0.5.4.17
* Mon Jul 27 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 0.5.4.15-1
- Init package