File dfshow.spec of Package dfshow

#
# spec file for package dfshow
#
# Copyright (c) 2023 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/
#


%define _over   0.9.7-beta
Name:           dfshow
Version:        0.9.7_beta
Release:        0
Summary:        Directory File Show
License:        GPL-3.0-or-later
Group:          Productivity/File utilities
URL:            https://dfshow.op-ezy.co.uk
Source0:        https://github.com/roberthawdon/dfshow/archive/v%{_over}.tar.gz#/%{name}-%{_over}.tar.gz
BuildRequires:  autoconf
BuildRequires:  libtool
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(libacl)
BuildRequires:  pkgconfig(libconfig)
BuildRequires:  pkgconfig(ncurses)

%description
An interactive directory/file browser written for Unix-like systems.
Based on the applications from the PC-DOS DF-EDIT suite by Larry
Kroeker.

%prep
%setup -q -n %{name}-%{_over}

%build
autoreconf -fiv
%configure
%make_build

%install
%make_install

%files
%license LICENSE
%doc README.rst
%{_bindir}/sf
%{_bindir}/show
%config %{_sysconfdir}/%{name}.conf
%{_datadir}/%{name}
%{_mandir}/man1/sf.1%{ext_man}
%{_mandir}/man1/show.1%{ext_man}

%changelog
openSUSE Build Service is sponsored by