A new user interface for you!

File xarchiver.spec of Package xarchiver

# spec file for package xarchiver
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/

Name:           xarchiver
Release:        0
Summary:        Lightweight, desktop-independent archive manager
License:        GPL-2.0-or-later
Group:          Productivity/Archiving/Compression
URL:            http://xarchiver.sourceforge.net/
Source0:        https://github.com/ib/xarchiver/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires:  fdupes
BuildRequires:  intltool
BuildRequires:  libxslt-tools
BuildRequires:  pkgconfig
BuildRequires:  update-desktop-files
BuildRequires:  pkgconfig(gdk-pixbuf-2.0)
BuildRequires:  pkgconfig(gdk-x11-2.0)
BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(gobject-2.0)
BuildRequires:  pkgconfig(gtk+-x11-2.0)
Recommends:     %{name}-lang
Recommends:     bzip2
Recommends:     gzip
Recommends:     p7zip
Recommends:     rar
Recommends:     unrar
Recommends:     unzip
Recommends:     xdg-utils
Recommends:     xz
Recommends:     zip


Xarchiver is a lightweight, desktop-independent archive manager, it has been
designed from the ground up to be fast and with a clean and intuitive user
interface. It supports the 7-zip, arj, bzip2, gzip, rar (v4 and v5), lha,
lzma, lzop, deb, rpm, tar, xz and zip archive formats.

%setup -q

%configure --docdir=%{_datadir}/xfce4/xarchiver/html
make %{?_smp_mflags}

rm -f %{buildroot}%{_datadir}/xfce4/xarchiver/html/COPYING \
      %{buildroot}%{_datadir}/xfce4/xarchiver/html/ChangeLog \
install -D -m 0644 ./icons/48x48/xarchiver.png %{buildroot}%{_datadir}/pixmaps/xarchiver.png
%suse_update_desktop_file -i %{name} GTK Archiving Utility
%fdupes %{buildroot}%{_datadir}
%find_lang %{name}

%if 0%{?suse_version} && 0%{?suse_version} < 1330


%license COPYING
%doc ChangeLog README
%dir %{_datadir}/xfce4/
%dir %{_datadir}/xfce4/xarchiver
%doc %{_datadir}/xfce4/xarchiver/html/

%files lang -f %{name}.lang