%define upstream_name Authen-Libwrap %define upstream_version 0.22 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 6 Summary: Access to Wietse Venema's TCP Wrappers library License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Authen/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: wrap-devel BuildRequires: perl(ExtUtils::CBuilder) BuildRequires: perl(Scalar::Util) BuildRequires: perl(Test::Exception) BuildRequires: perl(Test::More) BuildRequires: perl(Module::Build::Compat) BuildRequires: perl-devel %description The Authen::Libwrap module allows you to access the hosts_ctl() function from the popular TCP Wrappers security package. This allows validation of network access from perl programs against the system-wide _hosts.allow_ file. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor <<EOF %make %check %make test %install %makeinstall_std %files %doc ChangeLog META.yml README %{_mandir}/man3/* %perl_vendorlib/* %changelog * Wed Oct 15 2014 umeabot <umeabot> 0.220.0-6.mga5 + Revision: 748310 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 0.220.0-5.mga5 + Revision: 683570 - Mageia 5 Mass Rebuild * Tue Jun 03 2014 pterjan <pterjan> 0.220.0-4.mga5 + Revision: 630813 - Rebuild for perl 5.20 * Sat Oct 19 2013 umeabot <umeabot> 0.220.0-3.mga4 + Revision: 524573 - Mageia 4 Mass Rebuild * Wed May 29 2013 jquelin <jquelin> 0.220.0-2.mga4 + Revision: 431170 - perl 5.18.0 rebuild * Mon Apr 22 2013 kharec <kharec> 0.220.0-1.mga3 + Revision: 410949 - Fix BR name - fix missing br - imported package perl-Authen-Libwrap