2 %bcond_without dist_kernel # without distribution kernel
4 %include /usr/lib/rpm/macros.perl
5 Summary: Conntrack Viewer - view the masquerading connection with iptables
6 Summary(pl): Conntrack Viewer - podgl±d po³±czeñ maskowanych przez iptables
11 Group: Networking/Utilities
12 Source0: http://cv.intellos.net/%{name}-%{version}/%{name}-%{version}.tar.gz
13 # Source0-md5: 21d12842f8f1eb57dec8848fc853e252
14 URL: http://cv.intellos.net/
15 BuildRequires: rpm-perlprov
16 %{?with_dist_kernel:Requires: kernel >= 2.4 }
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 Conntrack Viewer is a perl script to view the masquerading connections
22 with iptables, it uses /proc/net/ip_conntrack.
25 Conntrack Viewer jest skryptem perlowym do ogl±dania po³±czeñ
26 maskowanych za pomoc± iptables, u¿ywa /proc/net/ip_conntrack.
32 rm -rf $RPM_BUILD_ROOT
33 install -d $RPM_BUILD_ROOT%{_bindir}
35 install %{name}.pl $RPM_BUILD_ROOT%{_bindir}/%{name}
38 rm -rf $RPM_BUILD_ROOT
41 %defattr(644,root,root,755)
43 %attr(755,root,root) %{_bindir}/*