From 716680b0ff94202b712bd900b0128c55e1db928c Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Jun 21 2013 06:38:29 +0000 Subject: import perl-Params-Check-0.38-1.el7.src.rpm --- diff --git a/.perl-Params-Check.metadata b/.perl-Params-Check.metadata new file mode 100644 index 0000000..83a50e0 --- /dev/null +++ b/.perl-Params-Check.metadata @@ -0,0 +1 @@ +235575dad853dc2f574a221e22d7e8f8a2e6b0b7 SOURCES/Params-Check-0.38.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/perl-Params-Check.spec b/SPECS/perl-Params-Check.spec new file mode 100644 index 0000000..ddc66ca --- /dev/null +++ b/SPECS/perl-Params-Check.spec @@ -0,0 +1,55 @@ +Name: perl-Params-Check +# Epoch to compete with perl.spec +Epoch: 1 +Version: 0.38 +Release: 1%{?dist} +Summary: Generic input parsing/checking mechanism +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Params-Check/ +Source0: http://www.cpan.org/authors/id/B/BI/BINGOS/Params-Check-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(strict) +# Run-time: +BuildRequires: perl(Carp) +BuildRequires: perl(Exporter) +BuildRequires: perl(Locale::Maketext::Simple) +BuildRequires: perl(vars) +# Tests: +BuildRequires: perl(constant) +BuildRequires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) + +%description +This is a generic input parsing/checking mechanism. It allows you to +validate input via a template. The only requirement is that the arguments +must be named. + +%prep +%setup -q -n Params-Check-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc CHANGES README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Fri Jun 21 2013 Petr Pisar - 1:0.38-1 +- 0.38 bump + +* Fri Jan 25 2013 Petr Pisar 1:0.36-1 +- Specfile autogenerated by cpanspec 1.78.