File ipcalc.spec of Package ipcalc

# spec file for package ipcalc
# Copyright (c) 2015 SUSE LINUX 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

Name:           ipcalc
Version:        0.41
Release:        0
Summary:        IPv4 Address Calculator
License:        GPL-2.0+
Group:          Productivity/Networking/System
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

ipcalc takes an IP address and netmask and calculates the resulting
broadcast, network, Cisco wildcard mask, and host range. By giving a
second netmask, you can design subnets and supernets. It is also
presents the subnetting results as easy-to-understand binary values.

Enter your netmask(s) in CIDR notation (/25) or dotted decimals
( Inverse netmasks are recognized. If you omit the
netmask ipcalc uses the default netmask for the class of your network.

%setup -q


install -D -m 0755 ipcalc "%{buildroot}%{_bindir}/ipcalc"

%doc license changelog contributors

openSUSE Build Service is sponsored by