]> git.pld-linux.org Git - packages/whatmask.git/blob - whatmask.spec
- pl fixes
[packages/whatmask.git] / whatmask.spec
1 Summary:        Address format change and calculation utility
2 Summary(pl.UTF-8):      Narzędzie do zmiany formatu i przeliczania adresów
3 Name:           whatmask
4 Version:        1.2
5 Release:        1
6 License:        GPL v2+
7 Group:          Networking/Utilities
8 Source0:        http://downloads.laffeycomputer.com/current_builds/whatmask/%{name}-%{version}.tar.gz
9 # Source0-md5:  26aeff74dbba70262ccd426e681dcf4a
10 URL:            http://www.laffeycomputer.com/whatmask.html
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 Whatmask is a small C program that helps with network settings.
17 Notations supported are CIDR (e.g. /24), Netmask (e.g. 255.255.255.0),
18 and Wilcard Bits (e.g. 0.0.0.255). These notations are all identical.
19 CIDR notation commonly has a "/" in front of the number (representing
20 the number of bits). Whatmask can accept these notations with or
21 without a slash. It can take any IP in the subnet along with the
22 netmask in any format, and it will echo back the netmask in three
23 formats, the network address, the broadcast address, the number of
24 useable IPs, and the range of IPs in the subnet.
25
26 %description -l pl.UTF-8
27 Whatmask to niewielki program napisany w C pomagający przy
28 konfiguracji sieci. Obsługiwane notacje to CIDR (np. /24), maska sieci
29 (np. 255.255.255.0) i maska Wildcard (np. 0.0.0.255). Wszytkie notacje
30 są zamienne. Notacja CIDR zazwyczaj posiada "/" przed liczbą
31 (oznaczającą liczbę bitów). whatmask akceptuje te notacje z lub bez
32 "/". Może przyjąć dowolny adres IP w podsieci wraz z maską w dowolnym
33 formacie, a wypisze maskę w trzech formatach, adres sieci, adres
34 broadcastu, liczbę używalnych IP oraz zakres IP w podsieci.
35
36 %prep
37 %setup -q
38
39 %build
40 %{__rm} -r missing
41 %{__aclocal}
42 %{__autoconf}
43 %{__automake}
44 %configure
45 %{__make}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49
50 %{__make} install \
51         DESTDIR=$RPM_BUILD_ROOT
52
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc README AUTHORS NEWS ChangeLog
60 %attr(755,root,root) %{_bindir}/whatmask
61 %{_mandir}/man1/whatmask.1*
This page took 0.100507 seconds and 4 git commands to generate.