]> git.pld-linux.org Git - packages/nftables.git/blob - nftables.spec
509012472ff1db70002a0da05f51a6240055344b
[packages/nftables.git] / nftables.spec
1 Summary:        Administration tool for packet filtering and classification
2 Summary(pl.UTF-8):      Narzędzie administracyjne do filtrowania i klasyfikacji pakietów
3 Name:           nftables
4 Version:        0.8.3
5 Release:        1
6 License:        GPL v2
7 Group:          Applications/Networking
8 Source0:        https://netfilter.org/projects/nftables/files/%{name}-%{version}.tar.bz2
9 # Source0-md5:  a604501c10a302fa417410b16f293d2c
10 URL:            https://netfilter.org/projects/nftables/
11 BuildRequires:  autoconf >= 2.61
12 BuildRequires:  automake >= 1.6
13 BuildRequires:  bison
14 BuildRequires:  dblatex
15 BuildRequires:  docbook2X
16 BuildRequires:  flex
17 BuildRequires:  gmp-devel
18 BuildRequires:  iptables-devel >= 1.6.1
19 BuildRequires:  libmnl-devel >= 1.0.3
20 BuildRequires:  libnftnl-devel >= 1.0.9
21 BuildRequires:  libtool
22 BuildRequires:  pkgconfig
23 BuildRequires:  readline-devel
24 Requires:       iptables-libs >= 1.6.1
25 Requires:       libmnl >= 1.0.3
26 Requires:       libnftnl >= 1.0.9
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 nftables is the project that aims to replace the existing
31 {ip,ip6,arp,eb}tables framework. Basically, this project provides a
32 new packet filtering framework, a new userspace utility and also a
33 compatibility layer for {ip,ip6}tables. nftables is built upon the
34 building blocks of the Netfilter infrastructure such as the existing
35 hooks, the connection tracking system, the userspace queueing
36 component and the logging subsystem.
37
38 %description -l pl.UTF-8
39 nftables to projekt mający na celu zastąpienie istniejącego szkieletu
40 {ip,ip6,arp,eb}tables. Ten projekt przede wszystkim dostarcza nowy
41 szkielet filtrowania, nowe narzędzie linii poleceń oraz warstwę
42 zgodności dla {ip,ip6}tables. nftables jest zbudowane w oparciu o
43 bloki tworzące infrastrukturę Netfilter, takie jak istniejące uchwyty,
44 system śledzenia połączeń, komponent kolejkowania w przestrzeni
45 użytkownika oraz podsystem logowania.
46
47 %prep
48 %setup -q
49
50 %build
51 %{__libtoolize}
52 %{__aclocal} -I m4
53 %{__autoconf}
54 %{__autoheader}
55 %{__automake}
56 %configure \
57         DOCBOOK2X_MAN=/usr/bin/docbook2X2man \
58         --disable-silent-rules \
59         --with-xtables
60
61 %{__make}
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65
66 %{__make} install \
67         DESTDIR=$RPM_BUILD_ROOT
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %files
73 %defattr(644,root,root,755)
74 %doc TODO files/examples
75 %attr(755,root,root) %{_sbindir}/nft
76 %{_mandir}/man8/nft.8*
This page took 0.060531 seconds and 2 git commands to generate.