Blame SPECS/perl-Params-Check.spec

2457ac
%{?scl:%scl_package perl-Params-Check}
2457ac
2457ac
Name:           %{?scl_prefix}perl-Params-Check
2457ac
# Epoch to compete with perl.spec
2457ac
Epoch:          1
2457ac
Version:        0.38
2457ac
Release:        310%{?dist}
2457ac
Summary:        Generic input parsing/checking mechanism
2457ac
License:        GPL+ or Artistic
2457ac
Group:          Development/Libraries
2457ac
URL:            http://search.cpan.org/dist/Params-Check/
2457ac
Source0:        http://www.cpan.org/authors/id/B/BI/BINGOS/Params-Check-%{version}.tar.gz
2457ac
BuildArch:      noarch
2457ac
BuildRequires:  %{?scl_prefix}perl
2457ac
BuildRequires:  %{?scl_prefix}perl(ExtUtils::MakeMaker)
2457ac
BuildRequires:  %{?scl_prefix}perl(strict)
2457ac
# Run-time:
2457ac
BuildRequires:  %{?scl_prefix}perl(Carp)
2457ac
BuildRequires:  %{?scl_prefix}perl(Exporter)
2457ac
BuildRequires:  %{?scl_prefix}perl(Locale::Maketext::Simple)
2457ac
BuildRequires:  %{?scl_prefix}perl(vars)
2457ac
# Tests:
2457ac
BuildRequires:  %{?scl_prefix}perl(constant)
2457ac
BuildRequires:  %{?scl_prefix}perl(Test::More)
2457ac
Requires:       %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'}))
2457ac
2457ac
%description
2457ac
This is a generic input parsing/checking mechanism. It allows you to
2457ac
validate input via a template. The only requirement is that the arguments
2457ac
must be named.
2457ac
2457ac
%prep
2457ac
%setup -q -n Params-Check-%{version}
2457ac
2457ac
%build
2457ac
%{?scl:scl enable %{scl} '}perl Makefile.PL INSTALLDIRS=vendor && make %{?_smp_mflags}%{?scl:'}
2457ac
2457ac
%install
2457ac
%{?scl:scl enable %{scl} '}make pure_install DESTDIR=$RPM_BUILD_ROOT%{?scl:'}
2457ac
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
2457ac
%{_fixperms} $RPM_BUILD_ROOT/*
2457ac
2457ac
%check
2457ac
%{?scl:scl enable %{scl} '}make test%{?scl:'}
2457ac
2457ac
%files
2457ac
%doc CHANGES README
2457ac
%{perl_vendorlib}/*
2457ac
%{_mandir}/man3/*
2457ac
2457ac
%changelog
2457ac
* Wed Sep 03 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.38-310
2457ac
- Increase release to favour standalone package
2457ac
2457ac
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.38-5
2457ac
- Perl 5.20 rebuild
2457ac
2457ac
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.38-4
2457ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2457ac
2457ac
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.38-3
2457ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2457ac
2457ac
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 1:0.38-2
2457ac
- Perl 5.18 rebuild
2457ac
2457ac
* Fri Jun 21 2013 Petr Pisar <ppisar@redhat.com> - 1:0.38-1
2457ac
- 0.38 bump
2457ac
2457ac
* Fri Jan 25 2013 Petr Pisar <ppisar@redhat.com> 1:0.36-1
2457ac
- Specfile autogenerated by cpanspec 1.78.