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.
81 lines
2.1 KiB
81 lines
2.1 KiB
Name: perl-Data-Validate-IP
|
|
Version: 0.18
|
|
Release: 8%{?dist}
|
|
Summary: Perl IP address validation routines
|
|
|
|
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 Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18-8
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.18-7
|
|
- Perl 5.22 rebuild
|
|
|
|
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.18-6
|
|
- Perl 5.20 rebuild
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 0.18-3
|
|
- Perl 5.18 rebuild
|
|
|
|
* Fri Mar 01 2013 Normunds Neimanis <fedorapkg at rule.lv> 0.18-2
|
|
- Improved summary sentence
|
|
|
|
* Thu Feb 20 2013 Normunds Neimanis <fedorapkg at rule.lv> 0.18-1
|
|
- Initial package for Fedora
|