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: https://gitlab.com/ipcalc/ipcalc/-/archive/%{version}/%{name}-%{version}.tar.bz2
9 # Source0-md5: d4ea985eff73bcaa49e85a81b12f544c
10 URL: https://gitlab.com/ipcalc/ipcalc
11 BuildRequires: libmaxminddb-devel
12 BuildRequires: meson >= 0.49
13 BuildRequires: pkgconfig
15 BuildRequires: rpmbuild(macros) >= 1.726
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 ipcalc takes an IP address and netmask and calculates the resulting
20 broadcast, network, Cisco wildcard mask, and host range. By giving a
21 second netmask, you can design sub- and supernetworks. It is also
22 intended to be a teaching tool and presents the results as
23 easy-to-understand binary values.
25 %description -l pl.UTF-8
26 ipcalc pobiera adres IP oraz maskę sieci i oblicza wynikający z nich
27 adres sieci, broadcastu, maskę wildcard dla Cisco i zakres hostów.
28 Podając drugą maskę, możesz projektować pod- i nadsieci. Program ten
29 ma być także narzędziem do nauki i prezentuje wyniki w łatwej do
30 zrozumienia binarnej postaci.
40 rm -rf $RPM_BUILD_ROOT
41 %ninja_install -C build
44 rm -rf $RPM_BUILD_ROOT
47 %defattr(644,root,root,755)
49 %attr(755,root,root) %{_bindir}/ipcalc
50 %{_mandir}/man1/ipcalc.1*