Initial import (#904330).
parent
ec9fab96f8
commit
5152960927
@ -0,0 +1 @@
|
||||
/Data-Validate-IP-0.18.tar.gz
|
@ -0,0 +1,59 @@
|
||||
Name: perl-Data-Validate-IP
|
||||
Version: 0.18
|
||||
Release: 1%{?dist}
|
||||
Summary: Ipv4 and ipv6 validation methods Perl module
|
||||
|
||||
Group: Development/Libraries
|
||||
License: GPL+ or Artistic
|
||||
URL: http://search.cpan.org/dist/Data-Validate-IP
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Data-Validate-IP-%{version}.tar.gz
|
||||
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(Net::Netmask)
|
||||
BuildRequires: perl(constant)
|
||||
BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl(NetAddr::IP)
|
||||
BuildRequires: perl(lib)
|
||||
BuildRequires: perl(Scalar::Util)
|
||||
BuildRequires: perl(Test::Requires)
|
||||
|
||||
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
|
||||
|
||||
%description
|
||||
This module collects IP address validation routines to make input validation,
|
||||
and untainting easier and more readable.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n Data-Validate-IP-%{version}
|
||||
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
||||
%{_fixperms} %{buildroot}/*
|
||||
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
|
||||
%files
|
||||
%doc Changes README
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Feb 20 2013 Normunds Neimanis <fedorapkg at rule.lv> 0.18-1
|
||||
- Initial package for Fedora
|
Loading…
Reference in new issue