]> git.pld-linux.org Git - packages/conntrack-tools.git/blame - conntrack-tools.spec
- attr(755,root,root) for libs
[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
b4d1581d 5License: GPL v2
1c7c561b 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
a72c2921 35find -name .svn -print0 | xargs -0 rm -rf
1c7c561b 36
37%build
38%{__libtoolize}
39%{__aclocal}
40%{__autoconf}
41%{__automake}
a72c2921 42CFLAGS="%{rpmcflags} -D__KERNEL_STRICT_NAMES=1"
1c7c561b 43%configure
44%{__make}
45
46%install
47rm -rf $RPM_BUILD_ROOT
48
49%{__make} install \
50 DESTDIR=$RPM_BUILD_ROOT
51
52#install -D %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
53#install -D %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
54#install -D %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/
55
56%clean
57rm -rf $RPM_BUILD_ROOT
58
59%post
60#/sbin/chkconfig --add %{name}
61#%service %{name} restart
62
63%preun
64#if [ "$1" = "0" ]; then
65# %service -q %{name} stop
66# /sbin/chkconfig --del %{name}
67#fi
68
69%files
70%defattr(644,root,root,755)
a72c2921 71%doc AUTHORS ChangeLog TODO examples
1c7c561b 72%attr(755,root,root) %{_sbindir}/*
e839f0c7 73%attr(755,root,root) %{_libdir}/%{name}/ct_proto*.so
1c7c561b 74%{_mandir}/man8/*
75#%attr(754,root,root) /etc/rc.d/init.d/%{name}
76#%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/
77#%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
This page took 0.085803 seconds and 4 git commands to generate.