X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=conntrack-viewer.spec;h=fc57919e681312c59a71393ba9c935d92c5b89fd;hb=8f1cb2bf54a82f52e5e108b22037d3373d21816f;hp=a51798f47211a778b49b493889fe1cd3f9765e53;hpb=0ac231fca10327c58d4de10ff51264ce0e54a7f7;p=packages%2Fconntrack-viewer.git diff --git a/conntrack-viewer.spec b/conntrack-viewer.spec index a51798f..fc57919 100644 --- a/conntrack-viewer.spec +++ b/conntrack-viewer.spec @@ -1,24 +1,29 @@ -# _without_dist_kernel - without distribution kernel +# Conditional build: +%bcond_without dist_kernel # without distribution kernel +# %include /usr/lib/rpm/macros.perl Summary: Conntrack Viewer - view the masquerading connection with iptables -Summary(pl): Conntrack Viewer - podgl±d po³±czeñ maskowanych przez iptables +Summary(pl.UTF-8): Conntrack Viewer - podgląd połączeń maskowanych przez iptables Name: conntrack-viewer Version: 1.3 Release: 1 License: GPL v2 Group: Networking/Utilities Source0: http://cv.intellos.net/%{name}-%{version}/%{name}-%{version}.tar.gz +# Source0-md5: 21d12842f8f1eb57dec8848fc853e252 URL: http://cv.intellos.net/ -%{!?_without_dist_kernel:Requires: kernel >= 2.4 } +BuildRequires: rpm-perlprov +%{?with_dist_kernel:Requires: kernel >= 2.4 } +BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Conntrack Viewer is a perl script to view the masquerading connections with iptables, it uses /proc/net/ip_conntrack. -%description -l pl -Conntrack Viewer jest skryptem perlowym do ogl±dania po³±czeñ -maskowanych za pomoc± iptables, u¿ywa /proc/net/ip_conntrack. +%description -l pl.UTF-8 +Conntrack Viewer jest skryptem perlowym do oglądania połączeń +maskowanych za pomocą iptables, używa /proc/net/ip_conntrack. %prep %setup -q