]>
Commit | Line | Data |
---|---|---|
f89c2874 | 1 | # Conditional build: |
f70896b1 | 2 | %bcond_without dist_kernel # without distribution kernel |
f89c2874 | 3 | # |
7237b9cd | 4 | Summary: Conntrack Viewer - view the masquerading connection with iptables |
d187ff7e | 5 | Summary(pl.UTF-8): Conntrack Viewer - podgląd połączeń maskowanych przez iptables |
7237b9cd | 6 | Name: conntrack-viewer |
3d268958 | 7 | Version: 1.3 |
7237b9cd PG |
8 | Release: 1 |
9 | License: GPL v2 | |
10 | Group: Networking/Utilities | |
11 | Source0: http://cv.intellos.net/%{name}-%{version}/%{name}-%{version}.tar.gz | |
f54dab64 | 12 | # Source0-md5: 21d12842f8f1eb57dec8848fc853e252 |
7237b9cd | 13 | URL: http://cv.intellos.net/ |
08b51a3e | 14 | BuildRequires: rpm-perlprov |
f89c2874 | 15 | %{?with_dist_kernel:Requires: kernel >= 2.4 } |
def557fe | 16 | BuildArch: noarch |
7237b9cd PG |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
18 | ||
19 | %description | |
20 | Conntrack Viewer is a perl script to view the masquerading connections | |
21 | with iptables, it uses /proc/net/ip_conntrack. | |
22 | ||
8f1cb2bf JR |
23 | %description -l pl.UTF-8 |
24 | Conntrack Viewer jest skryptem perlowym do oglądania połączeń | |
25 | maskowanych za pomocą iptables, używa /proc/net/ip_conntrack. | |
7237b9cd PG |
26 | |
27 | %prep | |
28 | %setup -q | |
29 | ||
30 | %install | |
31 | rm -rf $RPM_BUILD_ROOT | |
32 | install -d $RPM_BUILD_ROOT%{_bindir} | |
33 | ||
3d268958 | 34 | install %{name}.pl $RPM_BUILD_ROOT%{_bindir}/%{name} |
7237b9cd PG |
35 | |
36 | %clean | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | ||
39 | %files | |
40 | %defattr(644,root,root,755) | |
41 | %doc README | |
42 | %attr(755,root,root) %{_bindir}/* |