4 # - Requires and BuildRequires with proper versions
6 Summary: IP sets utility
7 Summary(pl): Narzêdzie do zarz±dzania zbiorami IP
9 %define version_base 2.2.7
10 %define version_tstamp 20051124
11 Version: %{version_base}_%{version_tstamp}
14 Group: Networking/Admin
15 Source0: http://ipset.netfilter.org/%{name}-%{version_base}-%{version_tstamp}.tar.bz2
16 # Source0-md5: 17ab7fab906409cab984e009a6b5032e
17 Patch0: %{name}-no_kernel_headers.patch
18 URL: http://ipset.netfilter.org/
19 BuildRequires: linux-libc-headers >= 7:2.6.12.0-10
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 IP sets are a framework inside the Linux 2.4.x and 2.6.x kernel, which
24 can be administered by the ipset utility. Depending on the type,
25 currently an IP set may store IP addresses, (TCP/UDP) port numbers or
26 IP addresses with MAC addresses in a way, which ensures lightning
27 speed when matching an entry against a set.
30 Zbiory IP to szkielet w j±drze Linuksa 2.4.x i 2.6.x, którym mo¿na
31 administrowaæ przy u¿yciu narzêdzia ipset. W zale¿no¶ci od rodzaju
32 aktualnie zbiór IP mo¿e przechowywaæ adresy IP, numery portów
33 (TCP/UDP) lub adresy IP z adresami MAC - w sposób zapewniaj±cy
34 maksymaln± szybko¶æ przy dopasowywaniu elementu do zbioru.
37 %setup -qn %{name}-%{version_base}
45 BINDIR="%{_sbindir}" \
46 COPT_FLAGS:="%{rpmcflags}"
49 rm -rf $RPM_BUILD_ROOT
52 DESTDIR="$RPM_BUILD_ROOT" \
59 rm -rf $RPM_BUILD_ROOT
62 %defattr(644,root,root,755)
63 %doc ChangeLog ChangeLog.ippool TODO
64 %attr(755,root,root) %{_sbindir}/*
66 %attr(755,root,root) %{_libdir}/ipset/*.so