51 lines
1.5 KiB
RPMSpec
51 lines
1.5 KiB
RPMSpec
Name: perl-Test-Inter
|
|
Version: 1.07
|
|
Release: 4
|
|
Summary: A framework for writing more readable interactive test scripts
|
|
License: GPL+ or Artistic
|
|
URL: https://metacpan.org/release/Test-Inter
|
|
Source0: https://cpan.metacpan.org/authors/id/S/SB/SBECK/Test-Inter-1.07.tar.gz
|
|
|
|
BuildArch: noarch
|
|
BuildRequires: coreutils make perl-generators perl-interpreter perl(ExtUtils::MakeMaker) >= 6.76
|
|
BuildRequires: perl(strict) perl(warnings) perl(File::Basename) perl(IO::File) perl(Config)
|
|
BuildRequires: perl(Cwd) perl(Storable) >= 1.01 perl(Test::More)
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
%description
|
|
It is another framework for writing test scripts. Much of the syntax is loosely inspired by
|
|
Test::More. Though implement most funciton, it is not a drop-in replacement for Test::More.
|
|
|
|
%package help
|
|
Summary: Help documents for Perl-Test-Inter
|
|
|
|
%description help
|
|
This package contains help documents for Perl-Test-Inter
|
|
|
|
%prep
|
|
%autosetup -p1 -n Test-Inter-1.07
|
|
chmod ugoa-x examples/*
|
|
|
|
%build
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
%make_build
|
|
|
|
%install
|
|
%make_build pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
%check
|
|
unset RELEASE_TESTING
|
|
%make_build test
|
|
|
|
%files
|
|
%doc Changes README examples LICENSE
|
|
%{perl_vendorlib}/*
|
|
|
|
%files help
|
|
%{_mandir}/man3/*
|
|
|
|
%changelog
|
|
* Thu Feb 27 2020 Chen Dingxiao <chendingxiao1@huawei.com> - 1.07-4
|
|
- Package Init
|