Sophie

Sophie

distrib > Mageia > 2 > i586 > by-pkgid > 45ddac8c2cd1b5b261489e3ec5f94e99 > files > 2

perl-Authen-Libwrap-0.220.0-1.mga2.src.rpm

%define upstream_name    Authen-Libwrap
%define upstream_version 0.22

Name:       perl-%{upstream_name}
Version:    %perl_convert_version %{upstream_version}
Release:    %mkrel 1

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

* Mon Apr 22 2013 kharec <kharec> 0.220.0-1.mga2
+ Revision: 410957
- fix br name for arch
- fix missing br
- imported package perl-Authen-Libwrap