8f9d039
Summary:		For Easy Rule Making
8f9d039
Name:		ferm
8f9d039
Version:		2.0.2
8f9d039
Release:		3%{?dist}
8f9d039
Group:		Applications/System
8f9d039
License:		GPLv2+
8f9d039
Source:		http://ferm.foo-projects.org/download/2.0/%{name}-%{version}.tar.gz
8f9d039
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
8f9d039
URL:			http://ferm.foo-projects.org/
8f9d039
BuildArchitectures:		noarch
8f9d039
8f9d039
%description
8f9d039
Ferm is a tool to maintain complex firewalls, without having the
8f9d039
trouble to rewrite the complex rules over and over again. Ferm
8f9d039
allows the entire firewall rule set to be stored in a separate
8f9d039
file, and to be loaded with one command. The firewall configuration
8f9d039
resembles structured programming-like language, which can contain
8f9d039
levels and lists.
8f9d039
8f9d039
%prep
8f9d039
%setup -q
8f9d039
8f9d039
sed -i 's/PREFIX = /#PREFIX = /' config.mk
8f9d039
sed -i 's/MANDIR = /#MANDIR = /' config.mk
8f9d039
sed -i 's/DOCDIR = /#DOCDIR = /' config.mk
8f9d039
8f9d039
%build
8f9d039
8f9d039
%install
8f9d039
rm -Rf $RPM_BUILD_ROOT
8f9d039
8f9d039
make install PREFIX=$RPM_BUILD_ROOT%{_prefix} DOCDIR=$RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1
8f9d039
8f9d039
%clean
8f9d039
rm -rf $RPM_BUILD_ROOT
8f9d039
8f9d039
%files
8f9d039
%defattr(-,root,root,-)
8f9d039
%doc AUTHORS COPYING README TODO NEWS examples/
8f9d039
%{_mandir}/man1/*
8f9d039
8f9d039
%{_sbindir}/import-ferm
8f9d039
%{_sbindir}/ferm
8f9d039
8f9d039
%changelog
8f9d039
* Mon Aug 25 2008 Pavel Alexeev <Pahan [ at ] Hubbitus [ DOT ] spb [ dOt.] su> - 2.0.2-3
8f9d039
- License changed to GPLv2+ by answer of uptream developer Max Kellerman.
8f9d039
8f9d039
* Mon Aug 25 2008 Pavel Alexeev <Pahan [ at ] Hubbitus [ DOT ] spb [ dOt.] su> - 2.0.2-2
8f9d039
- In changelog fixed version representation by warning of rpmlint.
8f9d039
- Add NEWS to documentation.
8f9d039
8f9d039
* Fri Aug 22 2008 Pavel Alexeev <Pahan [ at ] Hubbitus [ DOT ] spb [ dOt.] su> - 2.0.2-1
8f9d039
- Step to version 2.0.2
8f9d039
- Group changed from "system/firewalls" to "Applications/System"
8f9d039
- Delete redundant "ferm -" from Summary tag.
8f9d039
- Delete Hu-part of Release to conform Fedora rules (by note in review).
8f9d039
- License changed rfom GPL to GPLv2 by source.
8f9d039
- Requires: perl removed.
8f9d039
- Setting variables in config.mk moved to %%prep section.
8f9d039
- Replace lost /usr to %%{_prefix} in make install instruction.
8f9d039
- %%defattr(-,root,root) changed to %%defattr(-,root,root,-)
8f9d039
8f9d039
* Fri Jul 11 2008 Pavel Alexeev <Pahan [ at ] Hubbitus [ DOT ] spb [ dOt.] su> - 1.3.4-0.Hu.1
8f9d039
- Changes to conform rpmlint ( http://fedoraproject.org/wiki/Packaging/Guidelines ):
8f9d039
	Setup made quiet
8f9d039
	Remove "mkdir -p $RPM_BUILD_ROOT" from %%prep
8f9d039
	Escape all %% in Changelog.
8f9d039
	Add %%build section
8f9d039
8f9d039
* Thu Jul 10 2008 Pavel Alexeev <Pahan [ at ] Hubbitus [ DOT ] spb [ dOt.] su> - 1.3.4-0.Hu.0
8f9d039
- Version 1.3.4
8f9d039
- Reformat with tabs.
8f9d039
- Clear old comments.
8f9d039
- Delete Packager: A. Kok <sofar@foo-projects.org>
8f9d039
- Add %%{?dist} part into release
8f9d039
- Replace hardcoded /usr/sbin to %%_sbindir
8f9d039
- Replace Build Root: "/tmp/%%{name}-%%{version}-root" by more standard.
8f9d039
8f9d039
* Mon Oct 22 2007 Pavel Alexeev <Pahan [ at ] Hubbitus [ DOT ] spb [ dOt.] su> - 1.2.5
8f9d039
- Steep to version 1.2.5
8f9d039
8f9d039
* Mon Jul  2 2007 Pavel Alexeev <Pahan [ at ] Hubbitus [ DOT ] spb [ dOt.] su>
8f9d039
- Steep to version 1.2.4
8f9d039
8f9d039
* Mon Mar  5 2007 Pavel Alexeev <Pahan [ at ] Hubbitus [ DOT ] spb [ dOt.] su>
8f9d039
- Steep to version 1.2
8f9d039
- Restructure dirs and files in package