]> git.pld-linux.org Git - packages/conntrack-tools.git/blame - conntrack-tools.spec
- raw PLD spec, NFY
[packages/conntrack-tools.git] / conntrack-tools.spec
CommitLineData
1c7c561b 1Summary: The userspace connection tracking table administration program
2Name: conntrack-tools
3Version: 0.9.3
4Release: 0.1
5License: BSD
6Group: Applications/Networking
7Source0: http://www.netfilter.org/projects/conntrack-tools/files/%{name}-%{version}.tar.bz2
8# Source0-md5: b8a0297c538bd1fb708b2c9ed3f31676
9#Source1: %{name}.init
10#Source2: %{name}.sysconfig
11#Source3: %{name}.conf
12URL: http://people.netfilter.org/pablo/conntrack-tools/
13BuildRequires: autoconf
14BuildRequires: automake
15BuildRequires: libnetfilter_conntrack-devel >= 0.0.75
16BuildRequires: libnfnetlink-devel >= 0.0.25-1
17BuildRequires: libtool
18BuildRequires: rpmbuild(macros) >= 1.228
19Requires(post,preun): /sbin/chkconfig
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23The conntrack-tools are a set of tools targeted at system
24administrators. They are conntrack, the userspace command line
25interface, and conntrackd, the userspace daemon. The tool conntrack
26provides a full featured interface that is intended to replace the old
27/proc/net/ip_conntrack interface. Using conntrack, you can view and
28manage the in-kernel connection tracking state table from userspace.
29On the other hand, conntrackd covers the specific aspects of stateful
30firewalls to enable highly available scenarios, and can be used as
31statistics collector as well.
32
33%prep
34%setup -q
35
36%build
37%{__libtoolize}
38%{__aclocal}
39%{__autoconf}
40%{__automake}
41%configure
42%{__make}
43
44%install
45rm -rf $RPM_BUILD_ROOT
46
47%{__make} install \
48 DESTDIR=$RPM_BUILD_ROOT
49
50#install -D %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
51#install -D %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
52#install -D %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/
53
54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%post
58#/sbin/chkconfig --add %{name}
59#%service %{name} restart
60
61%preun
62#if [ "$1" = "0" ]; then
63# %service -q %{name} stop
64# /sbin/chkconfig --del %{name}
65#fi
66
67%files
68%defattr(644,root,root,755)
69%doc ChangeLog README NEWS TODO
70%attr(755,root,root) %{_sbindir}/*
71%{_mandir}/man8/*
72#%attr(754,root,root) /etc/rc.d/init.d/%{name}
73#%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/
74#%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
This page took 0.052542 seconds and 4 git commands to generate.