%clean
rm -rf $RPM_BUILD_ROOT
+%post
+/sbin/chkconfig --add shorewall
+%service shorewall restart "Shorewall"
+
+%preun
+if [ "$1" = "0" ]; then
+ %service shorewall stop
+ /sbin/chkconfig --del shorewall
+fi
+
%files
%defattr(644,root,root,755)
%doc shorewall-%{version}/{COPYING,changelog.txt,releasenotes.txt,Samples}