File rc.spec of Package rc

#
# spec file for package rc
#
# Copyright (c) 2021 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 rev ceb59bb2a644f4ebc1645fe15f1063029579fa7c
Name:           rc
Version:        1.7.4
Release:        0
Summary:        Reimplementation of the Plan 9 rc shell
License:        Zlib
URL:            https://github.com/rakitzis/rc
Source:         https://github.com/rakitzis/rc/archive/%{rev}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  bison
BuildRequires:  readline-devel

%description
Original implementation of the Plan 9 shell.

Linked with readline.

%prep
%autosetup -n %{name}-%{rev}

%build
./bootstrap
%configure --with-edit=readline
%make_build

%install
%make_install

%files
%license COPYING
%doc NEWS ChangeLog README AUTHORS EXAMPLES
%{_bindir}/rc
%{_mandir}/man1/rc.1%{?ext_man}

%changelog
openSUSE Build Service is sponsored by