File worker.spec of Package worker
#
# spec file for package worker
#
# Copyright (c) 2020 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
Name: worker
Version: 4.5.1
Release: 0
Summary: Worker file manager
License: GPL-2.0-or-later
Group: Productivity/File utilities
URL: http://www.boomerangsworld.de/worker/
Source0: http://www.boomerangsworld.de/worker/downloads/%{name}-%{version}.tar.bz2
BuildRequires: avfs-devel
BuildRequires: fdupes
BuildRequires: file-devel
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: pkgconfig(dbus-glib-1)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(lua5.3)
BuildRequires: pkgconfig(xft)
BuildRequires: pkgconfig(xinerama)
Recommends: python3-base
%description
Worker is a filemanager for X-Window on UNIX. It's a clone of the filemanager
"Directory Opus 4", a very famous program for Amiga-systems.
The dirs and files are shown in two independent panels (similar to MidnightCommander).
%prep
%setup -q
sed -i '1{s:^#!.*$:#!%{_bindir}/python3:}' scripts/find_file_by_chksum.py
%build
%configure
%make_build
%install
make DESTDIR=%{buildroot} install-strip
%fdupes %{buildroot}%{_datadir}
%files
%doc ChangeLog NEWS README
%license AUTHORS COPYING
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1%{?ext_man}
%{_mandir}/*/man1/%{name}.1%{?ext_man}
%{_datadir}/pixmaps/*.xpm
%dir %{_datadir}/worker
%{_datadir}/worker/*
%{_datadir}/appdata/worker.appdata.xml
%{_datadir}/applications/worker.desktop
%changelog