You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
1.3 KiB
60 lines
1.3 KiB
12 years ago
|
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
|