File fwbuilder.spec of Package fwbuilder
#
# spec file for package fwbuilder
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: fwbuilder
Version: 5.1.0.3599
Release: 0.0
Summary: Firewall Builder
License: GPL-2.0+
Group: Productivity/Networking/Security
Url: http://www.fwbuilder.org/
Source: %{name}-%{version}.tar.bz2
# PATCH-FIX-OPENSUSE fwbuilder-gcc47.patch
Patch0: fwbuilder-gcc47.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc-c++
BuildRequires: libqt4-devel
BuildRequires: libtool
BuildRequires: libxml2-devel
BuildRequires: libxslt-devel
BuildRequires: net-snmp-devel
BuildRequires: openssl-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version}
BuildRequires: fdupes
BuildRequires: update-desktop-files
%endif
Requires: rcs
%description
Firewall Builder consists of a GUI and set of policy compilers for
various firewall platforms. It helps users maintain a database of
objects and allows policy editing using simple drag-and-drop
operations. GUI generates firewall description in the form of XML
file, which compilers then interpret and generate platform-specific
code. Several algorithms are provided for automated network objects
discovery and bulk import of data. The GUI and policy compilers are
completely independent, this provides for a consistent abstract model
and the same GUI for different firewall platforms.
Authors: Vadim Kurland <vadim@vk.crocodile.org>
- Main author
Vadim Zaliva <lord@crocodile.org>
- XML DTD design
- XML data storage implementation;
- implementation of printing
%prep
%setup -q
%patch0 -p1
%build
./autogen.sh
%configure \
--with-docdir=%{_docdir}/%{name}
make %{?_smp_mflags}
%install
make INSTALL_ROOT=%{buildroot} install
%if 0%{?suse_version}
%suse_update_desktop_file -r %{name} System Security
%fdupes -s %{buildroot}
%endif
%files
%defattr(-,root,root)
%{_bindir}/*
%{_datadir}/applications/%{name}.desktop
%{_docdir}/%{name}
%{_datadir}/%{name}-%{version}
%dir %{_datadir}/icons/hicolor
%dir %{_datadir}/icons/hicolor/*
%dir %{_datadir}/icons/hicolor/*/apps
%{_datadir}/icons/hicolor/*/apps/%{name}.png
%{_mandir}/man1/fwb*
%changelog