]> git.pld-linux.org Git - packages/conntrack-viewer.git/blob - conntrack-viewer.spec
- bconds, few cleanups
[packages/conntrack-viewer.git] / conntrack-viewer.spec
1 # Conditional build:
2 %bcond_without  dist_kernel     # without distribution kernel
3 #
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
7 Name:           conntrack-viewer
8 Version:        1.3
9 Release:        1
10 License:        GPL v2
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 %{?with_dist_kernel:Requires:   kernel >= 2.4 }
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Conntrack Viewer is a perl script to view the masquerading connections
20 with iptables, it uses /proc/net/ip_conntrack.
21
22 %description -l pl
23 Conntrack Viewer jest skryptem perlowym do ogl±dania po³±czeñ
24 maskowanych za pomoc± iptables, u¿ywa /proc/net/ip_conntrack.
25
26 %prep
27 %setup -q
28
29 %install
30 rm -rf $RPM_BUILD_ROOT
31 install -d $RPM_BUILD_ROOT%{_bindir}
32
33 install %{name}.pl              $RPM_BUILD_ROOT%{_bindir}/%{name}
34
35 %clean
36 rm -rf $RPM_BUILD_ROOT
37
38 %files
39 %defattr(644,root,root,755)
40 %doc README
41 %attr(755,root,root) %{_bindir}/*
This page took 0.070933 seconds and 3 git commands to generate.