1 Summary: Address format change and calculation utility
2 Summary(pl.UTF-8): Narzędzie do zmiany formatu i przeliczania adresów
7 Group: Networking/Utilities
8 Source0: http://jodies.de/ipcalc-archive/%{name}-%{version}.tar.gz
9 # Source0-md5: fb791e9a5220fc8e624d915e18fc4697
10 URL: http://jodies.de/ipcalc/
11 BuildRequires: rpm-perlprov
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 ipcalc takes an IP address and netmask and calculates the resulting
16 broadcast, network, Cisco wildcard mask, and host range. By giving a
17 second netmask, you can design sub- and supernetworks. It is also
18 intended to be a teaching tool and presents the results as
19 easy-to-understand binary values.
21 %description -l pl.UTF-8
22 ipcalc pobiera adres IP oraz maskę sieci i oblicza wynikający z nich
23 adres sieci, broadcastu, maskę wildcard dla Cisco i zakres hostów.
24 Podając drugą maskę, możesz projektować pod- i nadsieci. Program ten
25 ma być także narzędziem do nauki i prezentuje wyniki w łatwej do
26 zrozumienia binarnej postaci.
32 rm -rf $RPM_BUILD_ROOT
33 install -d $RPM_BUILD_ROOT%{_bindir}
34 install %{name} $RPM_BUILD_ROOT%{_bindir}/ipv4calc
37 rm -rf $RPM_BUILD_ROOT
40 %defattr(644,root,root,755)
41 %doc changelog contributors
42 %attr(755,root,root) %{_bindir}/ipv4calc