|
|
716680 |
Name: perl-Params-Check
|
|
|
716680 |
# Epoch to compete with perl.spec
|
|
|
716680 |
Epoch: 1
|
|
|
716680 |
Version: 0.38
|
|
|
928084 |
Release: 2%{?dist}
|
|
|
716680 |
Summary: Generic input parsing/checking mechanism
|
|
|
716680 |
License: GPL+ or Artistic
|
|
|
716680 |
Group: Development/Libraries
|
|
|
716680 |
URL: http://search.cpan.org/dist/Params-Check/
|
|
|
716680 |
Source0: http://www.cpan.org/authors/id/B/BI/BINGOS/Params-Check-%{version}.tar.gz
|
|
|
716680 |
BuildArch: noarch
|
|
|
716680 |
BuildRequires: perl
|
|
|
716680 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
716680 |
BuildRequires: perl(strict)
|
|
|
716680 |
# Run-time:
|
|
|
716680 |
BuildRequires: perl(Carp)
|
|
|
716680 |
BuildRequires: perl(Exporter)
|
|
|
716680 |
BuildRequires: perl(Locale::Maketext::Simple)
|
|
|
716680 |
BuildRequires: perl(vars)
|
|
|
716680 |
# Tests:
|
|
|
716680 |
BuildRequires: perl(constant)
|
|
|
716680 |
BuildRequires: perl(Test::More)
|
|
|
716680 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
716680 |
|
|
|
716680 |
%description
|
|
|
716680 |
This is a generic input parsing/checking mechanism. It allows you to
|
|
|
716680 |
validate input via a template. The only requirement is that the arguments
|
|
|
716680 |
must be named.
|
|
|
716680 |
|
|
|
716680 |
%prep
|
|
|
716680 |
%setup -q -n Params-Check-%{version}
|
|
|
716680 |
|
|
|
716680 |
%build
|
|
|
716680 |
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
716680 |
make %{?_smp_mflags}
|
|
|
716680 |
|
|
|
716680 |
%install
|
|
|
716680 |
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
716680 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
716680 |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
716680 |
|
|
|
716680 |
%check
|
|
|
716680 |
make test
|
|
|
716680 |
|
|
|
716680 |
%files
|
|
|
716680 |
%doc CHANGES README
|
|
|
716680 |
%{perl_vendorlib}/*
|
|
|
716680 |
%{_mandir}/man3/*
|
|
|
716680 |
|
|
|
716680 |
%changelog
|
|
|
928084 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1:0.38-2
|
|
|
928084 |
- Mass rebuild 2013-12-27
|
|
|
928084 |
|
|
|
716680 |
* Fri Jun 21 2013 Petr Pisar <ppisar@redhat.com> - 1:0.38-1
|
|
|
716680 |
- 0.38 bump
|
|
|
716680 |
|
|
|
716680 |
* Fri Jan 25 2013 Petr Pisar <ppisar@redhat.com> 1:0.36-1
|
|
|
716680 |
- Specfile autogenerated by cpanspec 1.78.
|