]> git.pld-linux.org Git - packages/ferm.git/blame - ferm.spec
new, version 2.2
[packages/ferm.git] / ferm.spec
CommitLineData
8adffc5f
ER
1Summary: For Easy Rule Making
2Name: ferm
3Version: 2.2
4Release: 1
5License: GPL v2+
6Group: Applications/System
7Source0: http://ferm.foo-projects.org/download/2.2/%{name}-%{version}.tar.gz
8# Source0-md5: f2d6e6950d90c768ef9e1f055a01fba2
9URL: http://ferm.foo-projects.org/
10BuildRequires: rpmbuild(macros) >= 1.671
11BuildRequires: systemd-devel
12Requires: systemd-units >= 38
13BuildArch: noarch
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
17Ferm is a tool to maintain complex firewalls, without having the
18trouble to rewrite the complex rules over and over again. Ferm allows
19the entire firewall rule set to be stored in a separate file, and to
20be loaded with one command. The firewall configuration resembles
21structured programming-like language, which can contain levels and
22lists.
23
24%prep
25%setup -q
26
27%install
28rm -rf $RPM_BUILD_ROOT
29%{__make} install \
30 PREFIX=$RPM_BUILD_ROOT%{_prefix} \
31 SERVICEDIR=$RPM_BUILD_ROOT%{systemdunitdir}
32
33%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
34
35%clean
36rm -rf $RPM_BUILD_ROOT
37
38%post
39%systemd_post %{name}.service
40
41%preun
42%systemd_preun %{name}.service
43
44%postun
45%systemd_postun
46
47%files
48%defattr(644,root,root,755)
49%doc AUTHORS COPYING README TODO NEWS examples/
50%attr(755,root,root) %{_sbindir}/import-ferm
51%attr(755,root,root) %{_sbindir}/ferm
52%{_mandir}/man1/ferm.1*
53%{_mandir}/man1/import-ferm.1*
54%{systemdunitdir}/%{name}.service
This page took 0.110038 seconds and 4 git commands to generate.