]> git.pld-linux.org Git - packages/conntrack-viewer.git/blob - conntrack-viewer.spec
- drop obsolete and outdated manual inclusion of rpm macros
[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.UTF-8):      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 BuildRequires:  rpm-perlprov
16 %{?with_dist_kernel:Requires:   kernel >= 2.4 }
17 BuildArch:      noarch
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 Conntrack Viewer is a perl script to view the masquerading connections
22 with iptables, it uses /proc/net/ip_conntrack.
23
24 %description -l pl.UTF-8
25 Conntrack Viewer jest skryptem perlowym do oglądania połączeń
26 maskowanych za pomocą iptables, używa /proc/net/ip_conntrack.
27
28 %prep
29 %setup -q
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33 install -d $RPM_BUILD_ROOT%{_bindir}
34
35 install %{name}.pl              $RPM_BUILD_ROOT%{_bindir}/%{name}
36
37 %clean
38 rm -rf $RPM_BUILD_ROOT
39
40 %files
41 %defattr(644,root,root,755)
42 %doc README
43 %attr(755,root,root) %{_bindir}/*
This page took 0.045892 seconds and 3 git commands to generate.