%define name iptstate %define version 1.2.0 %define release 3mdk Name: %{name} Summary: Display IP Tables state table information in a "top"-like interface Version: %{version} Release: %{release} Group: Monitoring License: zlib License Source0: %{name}-%{version}.tar.bz2 Patch0: %{name}-%{version}-gcc31.patch.bz2 Patch1: %{name}-%{version}-opt.patch.bz2 URL: http://home.earthlink.net/~jaymzh666/iptstate/ BuildRoot: %{_tmppath}/%{name}-buildroot BuildRequires: libncurses5-devel libgpm1-devel %description IP Tables State (iptstate) was originally written to impliment the "state top" feature of IP Filter. "State top" displays the states held by your stateful firewall in a "top"-like manner. Since IP Tables doesn't have a built in way to easily display this information even once, an option was added to just display the state table once and exit. %prep [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} %setup -q %patch0 -p0 %patch1 -p0 %build %serverbuild %make %install [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} %makeinstall PREFIX=%{buildroot}%{_prefix} %clean [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} %files %defattr(-, root, root) %doc README BUGS Changelog LICENSE CONTRIB WISHLIST %{_sbindir}/%{name} %{_mandir}/man1/%{name}.1* %changelog * Thu Sep 05 2002 Lenny Cartier <lenny@mandrakesoft.com> 1.2.0-3mdk - rebuild * Tue May 28 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 1.2.0-2mdk - rebuilt with gcc3.1 - added P0 from the author as a temporary fix. - added P1 to utilize %%optflags - misc spec file fixes * Wed Apr 24 2002 Lenny Cartier <lenny@mandrakesoft.com> 1.2.0-1mdk - updated by Garrick Staples <garrick@speculation.org>