]>
Commit | Line | Data |
---|---|---|
f89c2874 | 1 | # Conditional build: |
f70896b1 | 2 | %bcond_without dist_kernel # without distribution kernel |
f89c2874 | 3 | # |
7237b9cd PG |
4 | %include /usr/lib/rpm/macros.perl |
5 | Summary: Conntrack Viewer - view the masquerading connection with iptables | |
8f1cb2bf | 6 | Summary(pl.UTF-8): Conntrack Viewer - podgląd połączeń maskowanych przez iptables |
7237b9cd | 7 | Name: conntrack-viewer |
3d268958 | 8 | Version: 1.3 |
7237b9cd PG |
9 | Release: 1 |
10 | License: GPL v2 | |
11 | Group: Networking/Utilities | |
12 | Source0: http://cv.intellos.net/%{name}-%{version}/%{name}-%{version}.tar.gz | |
f54dab64 | 13 | # Source0-md5: 21d12842f8f1eb57dec8848fc853e252 |
7237b9cd | 14 | URL: http://cv.intellos.net/ |
08b51a3e | 15 | BuildRequires: rpm-perlprov |
f89c2874 | 16 | %{?with_dist_kernel:Requires: kernel >= 2.4 } |
def557fe | 17 | BuildArch: noarch |
7237b9cd PG |
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 | ||
8f1cb2bf JR |
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. | |
7237b9cd PG |
27 | |
28 | %prep | |
29 | %setup -q | |
30 | ||
31 | %install | |
32 | rm -rf $RPM_BUILD_ROOT | |
33 | install -d $RPM_BUILD_ROOT%{_bindir} | |
34 | ||
3d268958 | 35 | install %{name}.pl $RPM_BUILD_ROOT%{_bindir}/%{name} |
7237b9cd PG |
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}/* |