File perl-Farly.spec of Package perl-Farly

#
# spec file for package perl-Farly
#
# Copyright (c) 2015 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:           perl-Farly
Version:        0.26
Release:        0
%define cpan_name Farly
Summary:        Firewall Analysis and Rewrite Library
License:        This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY and without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Group:          Development/Libraries/Perl
Url:            http://search.cpan.org/dist/Farly/
Source:         http://www.cpan.org/authors/id/T/TJ/TJOHNSON/%{cpan_name}-%{version}.tar.gz
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  perl
BuildRequires:  perl-macros
BuildRequires:  perl(Log::Any) >= 0.15
BuildRequires:  perl(Log::Any::Adapter) >= 0.11
BuildRequires:  perl(Parse::RecDescent) >= 1.965001
BuildRequires:  perl(Template) >= 2.22
#BuildRequires: perl(Farly)
#BuildRequires: perl(Farly::ASA::Annotator)
#BuildRequires: perl(Farly::ASA::Builder)
#BuildRequires: perl(Farly::ASA::Filter)
#BuildRequires: perl(Farly::ASA::Generator)
#BuildRequires: perl(Farly::ASA::ICMPFormatter)
#BuildRequires: perl(Farly::ASA::Parser)
#BuildRequires: perl(Farly::ASA::PortFormatter)
#BuildRequires: perl(Farly::ASA::ProtocolFormatter)
#BuildRequires: perl(Farly::ASA::Rewriter)
#BuildRequires: perl(Farly::Builder)
#BuildRequires: perl(Farly::Director)
#BuildRequires: perl(Farly::IPv4::Address)
#BuildRequires: perl(Farly::IPv4::ICMPType)
#BuildRequires: perl(Farly::IPv4::Network)
#BuildRequires: perl(Farly::IPv4::Object)
#BuildRequires: perl(Farly::IPv4::Range)
#BuildRequires: perl(Farly::Object)
#BuildRequires: perl(Farly::Object::Aggregate)
#BuildRequires: perl(Farly::Object::List)
#BuildRequires: perl(Farly::Object::Ref)
#BuildRequires: perl(Farly::Object::Set)
#BuildRequires: perl(Farly::Opts::Search)
#BuildRequires: perl(Farly::Remove::Address)
#BuildRequires: perl(Farly::Remove::Rule)
#BuildRequires: perl(Farly::Rule::Expander)
#BuildRequires: perl(Farly::Rule::Optimizer)
#BuildRequires: perl(Farly::Template::Cisco)
#BuildRequires: perl(Farly::Transport::Object)
#BuildRequires: perl(Farly::Transport::Port)
#BuildRequires: perl(Farly::Transport::PortGT)
#BuildRequires: perl(Farly::Transport::PortLT)
#BuildRequires: perl(Farly::Transport::PortRange)
#BuildRequires: perl(Farly::Transport::Protocol)
#BuildRequires: perl(Farly::Value::Integer)
#BuildRequires: perl(Farly::Value::String)
Requires:       perl(Log::Any) >= 0.15
Requires:       perl(Log::Any::Adapter) >= 0.11
Requires:       perl(Parse::RecDescent) >= 1.965001
Requires:       perl(Template) >= 2.22
%{perl_requires}

%description
Farly translates a vendor specific firewall configuration into an easily
searchable vendor independent firewall model.

Using the Farly firewall model, Perl scripts can be written to perform
tasks such as firewall security audits, group or rule optimizations or
large scale firewall configuration changes.

This module is a factory class which abstracts the construction of an
Farly::Object::List<Farly::Object> based firewall device model.

Farly dies on error.

%prep
%setup -q -n %{cpan_name}-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}

%check
%{__make} test

%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist

%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes LICENSE README

%changelog
openSUSE Build Service is sponsored by