Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > df98380d8948637a8f871d680e2302c6 > files > 2

perl-Data-Validate-Domain-0.100.0-3.mga4.src.rpm

%define upstream_name    Data-Validate-Domain
%define upstream_version 0.10

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

Summary:    Light weight module for validating domains
License:    GPL+ or Artistic
Group:      Development/Perl
Url:        http://search.cpan.org/dist/%{upstream_name}
Source0:    http://www.cpan.org/modules/by-module/Data/%{upstream_name}-%{upstream_version}.tar.gz

BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Net::Domain::TLD)
BuildRequires: perl(Test::More)
BuildArch: noarch

%description
This module collects domain validation routines to make input validation,
and untainting easier and more readable.

All functions return an untainted value if the test passes, and undef if it
fails. This means that you should always check for a defined status
explicitly. Don't assume the return will be true. (e.g. is_username('0'))

The value to test is always the first (and often only) argument.

%prep
%setup -q -n %{upstream_name}-%{upstream_version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor

%make

%check
%make test

%install
%makeinstall_std

%files
%doc META.yml Changes README
%{_mandir}/man3/*
%perl_vendorlib/*




%changelog
* Fri Oct 18 2013 umeabot <umeabot> 0.100.0-3.mga4
+ Revision: 510668
- Mageia 4 Mass Rebuild

* Sun Jan 13 2013 umeabot <umeabot> 0.100.0-2.mga3
+ Revision: 365533
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Sun Oct 21 2012 jquelin <jquelin> 0.100.0-1.mga3
+ Revision: 308737
- imported package perl-Data-Validate-Domain


* Sun Oct 21 2012 cpan2dist 0.10-1mga
- initial mageia release, generated with cpan2dist