package created by autospec [release 1.02-1mamba;Fri Feb 18 2011]
This commit is contained in:
parent
5a3a753d70
commit
24903eddf6
@ -1,2 +1,6 @@
|
|||||||
# perl-Test-Perl-Critic
|
# perl-Test-Perl-Critic
|
||||||
|
|
||||||
|
Test::Perl::Critic wraps the Perl::Critic engine in a convenient subroutine suitable for test programs written using the
|
||||||
|
Test::More framework. This makes it easy to integrate coding-standards enforcement into the build process. For ultimate
|
||||||
|
convenience (at the expense of some flexibility), see the criticism pragma.
|
||||||
|
|
||||||
|
63
perl-Test-Perl-Critic.spec
Normal file
63
perl-Test-Perl-Critic.spec
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
||||||
|
|
||||||
|
Name: perl-Test-Perl-Critic
|
||||||
|
Version: 1.02
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: Test::Perl::Critic - Use Perl::Critic in test programs
|
||||||
|
Group: System/Libraries/Perl
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: gil <puntogil@libero.it>
|
||||||
|
URL: http://www.cpan.org
|
||||||
|
Source: http://search.cpan.org/CPAN/authors/id/T/TH/THALJEF/Test-Perl-Critic-%{version}.tar.gz
|
||||||
|
License: GPL, Artistic
|
||||||
|
BuildRequires: perl(Carp)
|
||||||
|
BuildRequires: perl(English)
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
|
BuildRequires: perl(Module::Build)
|
||||||
|
BuildRequires: perl(Perl::Critic)
|
||||||
|
BuildRequires: perl(Perl::Critic::Utils)
|
||||||
|
BuildRequires: perl(Perl::Critic::Violation)
|
||||||
|
BuildRequires: perl(Test::Builder)
|
||||||
|
BuildRequires: perl(Test::More)
|
||||||
|
BuildRequires: perl-devel
|
||||||
|
Requires: perl >= %perl_major_ver
|
||||||
|
Requires: perl(Carp)
|
||||||
|
Requires: perl(English)
|
||||||
|
Requires: perl(Perl::Critic)
|
||||||
|
Requires: perl(Perl::Critic::Utils)
|
||||||
|
Requires: perl(Perl::Critic::Violation)
|
||||||
|
Requires: perl(Test::Builder)
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
%description
|
||||||
|
Test::Perl::Critic wraps the Perl::Critic engine in a convenient subroutine suitable for test programs written using the
|
||||||
|
Test::More framework. This makes it easy to integrate coding-standards enforcement into the build process. For ultimate
|
||||||
|
convenience (at the expense of some flexibility), see the criticism pragma.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n Test-Perl-Critic-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
perl Build.PL installdirs=vendor
|
||||||
|
./Build
|
||||||
|
./Build test
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
||||||
|
|
||||||
|
chmod -R u+w %{buildroot}/*
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{perl_vendorlib}/
|
||||||
|
%{_mandir}/man3/*.3pm.gz
|
||||||
|
%doc Changes LICENSE README
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Feb 18 2011 gil <puntogil@libero.it> 1.02-1mamba
|
||||||
|
- package created by autospec
|
Loading…
Reference in New Issue
Block a user