%define name iptstate %define version 1.3 %define release 2mdk 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 Patch1: %{name}-1.3-opt.patch.bz2 URL: http://www.phildev.net/iptstate/ BuildRoot: %{_tmppath}/%{name}-buildroot BuildRequires: libncurses-devel libgpm-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 %setup -q %patch1 -p1 -b .opt %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 Jun 17 2004 Lenny Cartier <lenny@mandrakesoft.com> 1.3-2mdk - rebuild * Wed Jan 14 2004 Lenny Cartier <lenny@mandrakesoft.com> 1.3-1mdk - 1.3 * Sat Aug 30 2003 Marcel Pol <mpol@gmx.net> 1.2.1-1mdk - 1.2.1 - drop patch0, merged upstream - rediff patch1 - new url * Thu Jan 30 2003 Lenny Cartier <lenny@mandrakesoft.com> 1.2.0-5mdk - rebuild * Mon Jan 20 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 1.2.0-4mdk - build release - misc spec file fixes * 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>