Summary: Shell-based compiler for Shoreline Firewall Name: shorewall-shell Version: 4.0.4 Release: 1%{?dist} License: GPLv2+ Group: Applications/System URL: http://www.shorewall.net/ Source: http://www.shorewall.net/pub/shorewall/4.0/shorewall-%{version}/shorewall-shell-%{version}.tar.bz2 BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: shorewall-common = %{version} %description The Shoreline Firewall, more commonly known as "Shorewall", is a Netfilter (iptables) based firewall that can be used on a dedicated firewall system, a multi-function gateway/ router/server or on a standalone GNU/Linux system. Shorewall-shell is a part of Shorewall that allows running Shorewall with legacy configurations, but shorewall-perl is the preferred compiler, please use it for new installations. %prep %setup # Remove hash-bang from files which are not directly executed as shell # scripts. This silences some rpmlint errors. for i in lib.* prog.header ; do sed -i -e '/\#\!\/bin\/sh/d' $i done %build %install rm -rf $RPM_BUILD_ROOT export PREFIX=$RPM_BUILD_ROOT ; \ ./install.sh -n %clean rm -rf $RPM_BUILD_ROOT %post %preun %postun %files %defattr(0644,root,root,0755) %doc COPYING %attr(0755,root,root) %dir %{_datadir}/shorewall-shell %attr(0755,root,root) %{_datadir}/shorewall-shell/compiler %{_datadir}/shorewall-shell/lib.* %{_datadir}/shorewall-shell/prog.* %{_datadir}/shorewall-shell/version %changelog * Sat Oct 6 2007 Jonathan G. Underwood - 4.0.4-1 - Initial packaging based on Shorewall upstream spec file by Tom Eastep