2011-06-27 10:20:06 +02:00
|
|
|
#
|
|
|
|
# spec file for package ipcalc
|
|
|
|
#
|
|
|
|
# Copyright (c) 2011 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: ipcalc
|
|
|
|
Version: 0.41
|
|
|
|
Release: 0
|
|
|
|
License: GPL-2.0+
|
|
|
|
Summary: IPv4 Address Calculator
|
|
|
|
URL: http://jodies.de/ipcalc
|
|
|
|
Group: Productivity/Networking/System
|
|
|
|
Source0: http://jodies.de/ipcalc-archive/ipcalc-%{version}.tar.gz
|
|
|
|
Patch1: http://jodies.de/ipcalc-archive/patch-queue
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
2007-11-18 15:38:25 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
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
|
|
|
|
(255.255.255.0). Inverse netmasks are recognized. If you omit the
|
|
|
|
netmask ipcalc uses the default netmask for the class of your network.
|
|
|
|
|
2011-06-27 10:20:06 +02:00
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Krischan Jodies <ipcalc-200808@jodies.de>
|
|
|
|
|
2007-11-18 15:38:25 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%patch1
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%__install -D -m 0755 ipcalc "%{buildroot}%{_bindir}/ipcalc"
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%__rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc license changelog contributors
|
|
|
|
%{_bindir}/ipcalc
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
# Local Variables:
|
|
|
|
# mode: rpm-spec
|
|
|
|
# tab-width: 3
|
|
|
|
# End:
|