File perl-App-Bondage.spec of Package perl-App-Bondage

#
# spec file for package perl-App-Bondage
#
# Copyright (c) 2016 SUSE LINUX 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-App-Bondage
Version:        0.4.11
Release:        0
%define cpan_name App-Bondage
Summary:        Featureful Irc Bouncer Based On Poe::Component::Irc
License:        Artistic-1.0 or GPL-1.0+
Group:          Development/Libraries/Perl
Url:            http://search.cpan.org/dist/App-Bondage/
Source0:        http://www.cpan.org/authors/id/H/HI/HINRIK/%{cpan_name}-%{version}.tar.gz
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  perl
BuildRequires:  perl-macros
BuildRequires:  perl(POE::Component::Client::DNS) >= 0.99
BuildRequires:  perl(POE::Component::IRC) >= 6.06
BuildRequires:  perl(POE::Filter::IRCD) >= 2.34
BuildRequires:  perl(Proc::Daemon)
BuildRequires:  perl(Test::Script) >= 1.07
BuildRequires:  perl(YAML::XS)
Requires:       perl(POE::Component::Client::DNS) >= 0.99
Requires:       perl(POE::Component::IRC) >= 6.06
Requires:       perl(POE::Filter::IRCD) >= 2.34
Requires:       perl(Proc::Daemon)
Requires:       perl(YAML::XS)
%{perl_requires}

%description
Bondage is an IRC bouncer. It acts as a proxy between multiple IRC servers
and multiple IRC clients. It makes it easy to stay permanently connected to
IRC. It is mostly made up of reusable components. Very little is made from
scratch here. If it is, it will be made modular and reusable, probably as a
POE::Component::IRC plugin. This keeps the code short and (hopefully) well
tested by others.

%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 example LICENSE README

%changelog
openSUSE Build Service is sponsored by