]> git.pld-linux.org Git - SPECS.git/blob - netmask.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / netmask.spec
1 Summary:        Utility for determining network masks
2 Summary(pl.UTF-8):      Narzędzie do wyznaczania masek sieci
3 Name:           netmask
4 Version:        2.3.12
5 Release:        1
6 License:        GPL v2
7 Group:          Networking/Utilities
8 Source0:        http://http.us.debian.org/debian/pool/main/n/netmask/%{name}_%{version}.tar.gz
9 # Source0-md5:  802cf8e2a310aaee367bda930b048520
10 BuildRequires:  autoconf
11 BuildRequires:  automake
12 BuildRequires:  texinfo
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 This is a handy tool for generating terse netmasks in several common
17 formats. If you've ever maintained a firewall with more than a few
18 rules in it, you might use netmask to clean up and generalize sloppy
19 rules left by the netadmin before you. It will also convert netmasks
20 from one format to another for the day you change your firewall
21 software.
22
23 %description -l pl.UTF-8
24 Podręczne narzędzie do generowania zwięzłych masek sieci w kilku
25 popularnych formatach. Jest szczególnie przydatne przy tworzeniu
26 długich regułek firewalla i konwersji ich dla innego oprogramowania
27 obsługującego firewall.
28
29 %prep
30 %setup -q
31
32 %build
33 %{__aclocal}
34 %{__autoconf}
35 %{__automake}
36 %configure
37 %{__make}
38 makeinfo netmask.texi
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42 %{__make} install \
43         DESTDIR=$RPM_BUILD_ROOT
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %post   -p      /sbin/postshell
49 -/usr/sbin/fix-info-dir -c %{_infodir}
50
51 %postun -p      /sbin/postshell
52 -/usr/sbin/fix-info-dir -c %{_infodir}
53
54 %files
55 %defattr(644,root,root,755)
56 %doc AUTHORS ChangeLog NEWS README
57 %attr(755,root,root) %{_bindir}/*
58 %{_mandir}/man1/*
59 %{_infodir}/*.info*
This page took 0.363212 seconds and 3 git commands to generate.