File fwbuilder.spec of Package fwbuilder

# spec file for package fwbuilder (Version 4.1.3)
#
# Copyright 2008 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    
#

# norootforbuild

%define jobs $(( `/usr/bin/getconf _NPROCESSORS_ONLN` + 1 ))
%define debug_package_requires %{name} = %{version}-%{release}

Name:           fwbuilder
Summary:        Firewall Builder
Version:        4.1.3
Release:        0.0
License:        GNU GPL v2
Group:          Productivity/Networking/Security
Url:            http://www.fwbuilder.org/
Source:         %{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  libfwbuilder-devel = %{version}
BuildRequires:  gcc-c++ libqt4-devel
BuildRequires:  libxml2-devel >= 2.4.10
BuildRequires:  libxslt-devel >= 1.0.7
BuildRequires:  net-snmp-devel openssl-devel
%if 0%{?suse_version}
BuildRequires:  update-desktop-files
%endif
Requires:  libxml2 >= 2.4.10
Requires:  libxslt >= 1.0.7

%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

%build
./autogen.sh
%if 0%{?mandriva_version} == 2008
export PATH=/usr/lib/qt4/bin:$PATH
%endif

%configure \
	--with-docdir=%{_docdir}/%{name}
%__make %{?jobs:-j%jobs}

%install
%__make install INSTALL_ROOT=%{buildroot}

%if 0%{?suse_version}
%suse_update_desktop_file -r %{name} System Security
%endif

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-,root,root)
%{_bindir}/fwb*
%{_bindir}/transfer_secuwall
%{_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
* Tue Jan 04 2011 joop.boonen@opensuse.org
- Build version 4.1.3
* Sat Oct 09 2010 joop.boonen@opensuse.org
- Build version 4.1.2
* Wed Aug 25 2010 joop.boonen@opensuse.org
- Build version 4.1.1
* Thu Jul 20 2010 joop.boonen@opensuse.org
- Build version 4.0.2
* Wed Jun 02 2010 joop.boonen@opensuse.org
- Build version 4.0.1
* Mon Sep 21 2009 joop.boonen@opensuse.org
- Build version 3.0.7
* Fri Sep 04 2009 joop.boonen@opensuse.org
- combined to one fwbuilder package as the orginal rpm is i
- also one package. To be on the safe side.
* Thu Sep 03 2009 joop.boonen@opensuse.org  
- some improvements 
* Tue Sep 1 2009 chris@computersalat.de
- cleanup spec
- fixed deps
* Mon Aug 31 2009 joop.boonen@opensuse.org
- build release 3.0.6
* Thu Aug 20 2009 chris@computersalat.de
- added AUTHORS to description
* Wed Jun 17 2009 joop.boonen@opensuse.org
- build release 3.0.5
* Thu Apr 08 2009 joop.boonen@opensuse.org
- adapted the spec file so it meets the package convention
- http://en.opensuse.org/SUSE_Package_Conventions/RPM_Style
* Fri Apr 03 2009 bitshuffler #suse@irc.freenode.org
- Cleaned up the spec
* Thu Apr 02 2009 joop.boonen@opensuse.org  
- build release 3.0.4  
* Mon Mar 23 2009 joop.boonen@opensuse.org  
- Applied patch requested bij openSuSE   
- contrib approvers  
* Thu Mar 05 2009 joop.boonen@opensuse.org  
- Perfecting the spec file first step  
* Tue Mar 03 2009 joop.boonen@opensuse.org  
- Using bz2 in stead of gz file  
* Wed Dec 17 2008 joop.boonen@opensuse.org  
- build release 3.0.3  
* Sun Oct 12 2008 joop.boonen@opensuse.org    
- Started off with the fwbuilder Mandrake spec file  
* Sun Oct 12 2008 joop.boonen@opensuse.org    
- Initial version by Vadim Kurland <vadim@fwbuilder.org>
openSUSE Build Service is sponsored by