]> git.pld-linux.org Git - packages/ipset.git/blob - ipset.spec
- updated for 2.2.7.
[packages/ipset.git] / ipset.spec
1 #
2 # TODO:
3 #       - -devel subpackage
4 #       - Requires and BuildRequires with proper versions
5 #
6 Summary:        IP sets utility
7 Summary(pl):    Narzêdzie do zarz±dzania zbiorami IP
8 Name:           ipset
9 %define         version_base    2.2.7
10 %define         version_tstamp  20051124
11 Version:        %{version_base}_%{version_tstamp}
12 Release:        1
13 License:        GPL
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)
21
22 %description
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.
28
29 %description -l pl
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.
35
36 %prep
37 %setup -qn %{name}-%{version_base}
38 %patch0 -p1
39
40 %build
41 %{__make} \
42         PREFIX="%{_prefix}" \
43         LIBDIR="%{_libdir}" \
44         MANDIR="%{_mandir}" \
45         BINDIR="%{_sbindir}" \
46         COPT_FLAGS:="%{rpmcflags}"
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %{__make} install \
52         DESTDIR="$RPM_BUILD_ROOT" \
53         PREFIX="%{_prefix}" \
54         LIBDIR="%{_libdir}" \
55         MANDIR="%{_mandir}" \
56         BINDIR="%{_sbindir}"
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %doc ChangeLog ChangeLog.ippool TODO
64 %attr(755,root,root) %{_sbindir}/*
65 %dir %{_libdir}/ipset
66 %attr(755,root,root) %{_libdir}/ipset/*.so
67 %{_mandir}/man8/*
This page took 0.035199 seconds and 4 git commands to generate.