File num-utils.spec of Package num-utils

#
# spec file for package num-utils
#
# 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/
#


Name:           num-utils
Version:        0.5
Release:        0
Summary:        Set of programs for dealing with numbers
License:        GPL-2.0-or-later
URL:            https://suso.suso.org/programs/num-utils/index.phtml
Source:         https://suso.suso.org/programs/num-utils/downloads/num-utils-%{version}.tar.gz
# PATCH-FIX-OPENSUSE build-suse.patch mcepl@suse.com
# Make package work according to our expectations
Patch0:         build-suse.patch
BuildArch:      noarch

%description
The num-utils, short for numeric utilities are a set of programs designed
to work together from the unix shell to do numeric operations on input.
They are basically the numeric equivilent of common unix text utilities
and aim to help complete the unix shell vocabulary.

%prep
%autosetup -p1


%build
%make_build

%install
make ROOT=%{buildroot} rpminstall

%files
%{_bindir}/average
%{_bindir}/bound
%{_bindir}/interval
%{_bindir}/normalize
%{_bindir}/numgrep
%{_bindir}/numprocess
%{_bindir}/numsum
%{_bindir}/random
%{_bindir}/range
%{_bindir}/round
%license COPYING LICENSE
%doc CHANGELOG GOALS README WARNING template
%doc tests/
%{_mandir}/man1/average.1%{?ext_man}
%{_mandir}/man1/bound.1%{?ext_man}
%{_mandir}/man1/interval.1%{?ext_man}
%{_mandir}/man1/normalize.1%{?ext_man}
%{_mandir}/man1/numgrep.1%{?ext_man}
%{_mandir}/man1/numprocess.1%{?ext_man}
%{_mandir}/man1/numsum.1%{?ext_man}
%{_mandir}/man1/random.1%{?ext_man}
%{_mandir}/man1/range.1%{?ext_man}
%{_mandir}/man1/round.1%{?ext_man}

%changelog
openSUSE Build Service is sponsored by