57 lines
1.4 KiB
RPMSpec
57 lines
1.4 KiB
RPMSpec
|
# norootforbuild
|
||
|
|
||
|
%define _prefix /usr
|
||
|
|
||
|
Name: ipcalc
|
||
|
Version: 0.41
|
||
|
Release: 0
|
||
|
Summary: IPv4 Address Calculator
|
||
|
Source: http://jodies.de/ipcalc-archive/ipcalc-%{version}.tar.gz
|
||
|
Patch1: http://jodies.de/ipcalc-archive/patch-queue
|
||
|
URL: http://jodies.de/ipcalc
|
||
|
Group: Productivity/Networking/System
|
||
|
License: GNU General Public License (GPL)
|
||
|
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
||
|
BuildArch: 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
|
||
|
%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
|
||
|
* Sun Nov 18 2007 Pascal Bleser <guru@unixtech.be> 0.41
|
||
|
- moved to openSUSE Build Service
|
||
|
- added minor patch
|
||
|
|
||
|
* Sun Oct 22 2006 Pascal Bleser <guru@unixtech.be> 0.41-1
|
||
|
- new upstream version
|
||
|
- rewrote spec file
|
||
|
|
||
|
# Local Variables:
|
||
|
# mode: rpm-spec
|
||
|
# tab-width: 3
|
||
|
# End:
|