File iprange.spec of Package iprange

#
# spec file for package iprange
#
# Copyright (c) 2016 SUSE LINUX Products 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:           iprange
Version:        1.0.3
Release:        0
License:        GPL-2.0+
Summary:        IP Range Tool for Firehol
Url:            http://firehol.org/
Group:          Productivity/Networking/Security
Source:         http://firehol.org/download/iprange/latest/iprange-%{version}.tar.xz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
IP Range Tool used by Firehol

%prep
%setup -q

%build
%configure --docdir=%{_datadir}/doc/packages/%{name}/
make %{?_smp_mflags}

%install
make install DESTDIR=%{buildroot} %{?_smp_mflags}

%files
%defattr(-,root,root)
%doc ChangeLog COPYING README.md
%{_bindir}/iprange
%{_mandir}/man1/iprange.1*
openSUSE Build Service is sponsored by