File ipcalc.spec of Package ipcalc
#
# spec file for package ipcalc (Version 0.41)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: ipcalc
URL: http://jodies.de/ipcalc
Summary: A IPv4 Address Calculator
Version: 0.41
Release: 0.7
License: GNU General Public License (GPL)
Prefix: /usr
Group: Productivity/Networking/System
Source: http://jodies.de/ipcalc-archive/ipcalc-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArchitectures: noarch
%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.
%prep
%setup -q
%install
mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
install -m 755 ipcalc ${RPM_BUILD_ROOT}%{_bindir}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc license
%{_bindir}/ipcalc
%changelog
* Thu Nov 30 2006 - kukuk@suse.de
- Update to version 0.41 [FATE #300888]
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Nov 25 2005 - kukuk@suse.de
- Initial release