Blame perl-Test2-Suite.spec

db77b53
Name:           perl-Test2-Suite
4c42964
Version:        0.000028
db77b53
Release:        1%{?dist}
db77b53
Summary:        Set of tools built upon the Test2 framework
db77b53
License:        GPL+ or Artistic
db77b53
Group:          Development/Libraries
db77b53
URL:            http://search.cpan.org/dist/Test2-Suite/
db77b53
Source0:        http://www.cpan.org/authors/id/E/EX/EXODIST/Test2-Suite-%{version}.tar.gz
db77b53
BuildArch:      noarch
db77b53
BuildRequires:  findutils
db77b53
BuildRequires:  make
db77b53
BuildRequires:  perl
962f237
BuildRequires:  perl-generators
db77b53
BuildRequires:  perl(ExtUtils::MakeMaker)
db77b53
BuildRequires:  perl(strict)
db77b53
BuildRequires:  perl(warnings)
db77b53
# Run-time:
db77b53
BuildRequires:  perl(B)
db77b53
BuildRequires:  perl(base)
db77b53
BuildRequires:  perl(Carp)
db77b53
BuildRequires:  perl(Exporter)
db77b53
BuildRequires:  perl(List::Util)
db77b53
BuildRequires:  perl(overload)
db77b53
BuildRequires:  perl(Scalar::Util)
5b83c88
# Test2::API version from Test2 in META
062b323
BuildRequires:  perl(Test2::API) >= 0.000040
db77b53
BuildRequires:  perl(Test2::Hub::Interceptor)
db77b53
BuildRequires:  perl(Test2::Util)
db77b53
BuildRequires:  perl(Test2::Util::HashBase)
db77b53
BuildRequires:  perl(Test2::Util::Trace)
db77b53
BuildRequires:  perl(utf8)
db77b53
# Optional run-time:
db77b53
BuildRequires:  perl(Term::ReadKey)
db77b53
BuildRequires:  perl(Unicode::GCString)
db77b53
# Tests:
db77b53
BuildRequires:  perl(File::Temp)
db77b53
BuildRequires:  perl(PerlIO)
db77b53
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
39c1fb3
# Test2 not used in any useful way
5b83c88
# Test2::API version from Test2 in META
062b323
Requires:       perl(Test2::API) >= 0.000040
db77b53
Requires:       perl(utf8)
db77b53
# Term::ReadKey for terminal width
db77b53
Recommends:     perl(Term::ReadKey)
db77b53
# Unicode::GCString for formating double-width string
db77b53
Recommends:     perl(Unicode::GCString)
db77b53
db77b53
# Remove under-specified dependencies
db77b53
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\(Test2::API\\)$
db77b53
db77b53
%description
db77b53
Rich set of tools, plugins, bundles, etc. built upon the Test2 testing
db77b53
library. If you are interested in writing Perl tests this is the distribution
db77b53
for you.
db77b53
db77b53
%prep
db77b53
%setup -q -n Test2-Suite-%{version}
db77b53
db77b53
%build
db77b53
perl Makefile.PL INSTALLDIRS=vendor
db77b53
make %{?_smp_mflags}
db77b53
db77b53
%install
db77b53
make pure_install DESTDIR=$RPM_BUILD_ROOT
5b83c88
find $RPM_BUILD_ROOT -type f -name .packlist -delete
db77b53
%{_fixperms} $RPM_BUILD_ROOT/*
db77b53
db77b53
%check
db77b53
make test
db77b53
db77b53
%files
db77b53
%license LICENSE
242a04a
%doc Changes README
db77b53
%{perl_vendorlib}/*
db77b53
%{_mandir}/man3/*
db77b53
db77b53
%changelog
4c42964
* Mon Apr 18 2016 Petr Pisar <ppisar@redhat.com> - 0.000028-1
4c42964
- 0.000028 bump
4c42964
a06c599
* Thu Apr 14 2016 Petr Pisar <ppisar@redhat.com> - 0.000027-1
a06c599
- 0.000027 bump
a06c599
062b323
* Mon Apr 11 2016 Petr Pisar <ppisar@redhat.com> - 0.000026-1
062b323
- 0.000026 bump
062b323
962f237
* Tue Apr 05 2016 Petr Pisar <ppisar@redhat.com> - 0.000025-1
962f237
- 0.000025 bump
962f237
242a04a
* Mon Mar 21 2016 Petr Pisar <ppisar@redhat.com> - 0.000024-1
242a04a
- 0.000024 bump
242a04a
a2de678
* Fri Mar 18 2016 Petr Pisar <ppisar@redhat.com> - 0.000023-1
a2de678
- 0.000023 bump
a2de678
39c1fb3
* Tue Mar 08 2016 Petr Pisar <ppisar@redhat.com> - 0.000022-1
39c1fb3
- 0.000022 bump
39c1fb3
5b83c88
* Mon Mar 07 2016 Petr Pisar <ppisar@redhat.com> - 0.000021-1
5b83c88
- 0.000021 bump
5b83c88
db77b53
* Thu Feb 11 2016 Petr Pisar <ppisar@redhat.com> 0.000020-1
db77b53
- Specfile autogenerated by cpanspec 1.78.