]> git.pld-linux.org Git - packages/ufw.git/blob - ufw.spec
R: python-modules for traceback
[packages/ufw.git] / ufw.spec
1 Summary:        Uncomplicated Firewall
2 Name:           ufw
3 Version:        0.33
4 Release:        1
5 License:        GPL v3+
6 Group:          Networking/Admin
7 Source0:        http://launchpad.net/ufw/0.33/%{version}/+download/%{name}-%{version}.tar.gz
8 # Source0-md5:  3747b453d76709e5a99da209fc0bb5f5
9 URL:            http://launchpad.net/ufw
10 BuildRequires:  iptables >= 1.4
11 BuildRequires:  python-devel >= 1:2.6
12 BuildRequires:  rpm-pythonprov
13 BuildRequires:  rpmbuild(macros) >= 1.219
14 Requires:       iptables >= 1.4
15 Requires:       python-modules
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 The Uncomplicated Firewall(ufw) is a front-end for netfilter, which
21 aims to make it easier for people unfamiliar with firewall concepts.
22 Ufw provides a framework for managing netfilter as well as
23 manipulating the firewall.
24
25 %prep
26 %setup -q
27
28 %build
29 # We skip 'build' and run 'install' directly
30 # http://bugs.launchpad.net/ufw/+bug/819600
31 #%{__python} setup.py build
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35 %{__python} setup.py install \
36         --optimize=2 \
37         --root=$RPM_BUILD_ROOT
38
39 %py_postclean
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %doc ChangeLog README* TODO AUTHORS
47 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/default/ufw
48 %dir %{_sysconfdir}/ufw
49 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ufw/*.conf
50 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ufw/*.rules
51 %dir %{_sysconfdir}/ufw/applications.d
52 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ufw/applications.d/*
53
54 %attr(755,root,root) %{_sbindir}/ufw
55 %{_mandir}/man8/ufw-framework.8*
56 %{_mandir}/man8/ufw.8*
57 %{_datadir}/%{name}
58 %dir /lib/ufw
59 /lib/ufw/ufw-init
60 /lib/ufw/ufw-init-functions
61 /lib/ufw/user.rules
62 /lib/ufw/user6.rules
63 %dir %{py_sitescriptdir}/ufw
64 %{py_sitescriptdir}/ufw/*.py[co]
65 %{py_sitescriptdir}/ufw-%{version}-py*.egg-info
This page took 0.062874 seconds and 4 git commands to generate.