7a43e2e
Name:           perl-Test-Able
dec227f
Version:        0.11
b5643f1
Release:        4%{?dist}
7a43e2e
Summary:        xUnit with Moose
7a43e2e
License:        GPL+ or Artistic
7a43e2e
Group:          Development/Libraries
7a43e2e
URL:            http://search.cpan.org/dist/Test-Able/
7a43e2e
Source0:        http://www.cpan.org/authors/id/J/JD/JDV/Test-Able-%{version}.tar.gz
7a43e2e
BuildArch:      noarch
7a43e2e
BuildRequires:  perl(ExtUtils::MakeMaker)
7a43e2e
BuildRequires:  perl(List::Util)
7a43e2e
BuildRequires:  perl(Moose) >= 0.94
7a43e2e
BuildRequires:  perl(Moose::Exporter)
7a43e2e
BuildRequires:  perl(Moose::Role)
7a43e2e
BuildRequires:  perl(Moose::Util::MetaRole)
7a43e2e
BuildRequires:  perl(Moose::Util::TypeConstraints)
7a43e2e
BuildRequires:  perl(Scalar::Util)
7a43e2e
BuildRequires:  perl(Sub::Exporter)
7a43e2e
BuildRequires:  perl(Test::Builder)
7a43e2e
# Tests only:
7a43e2e
BuildRequires:  perl(lib)
7a43e2e
BuildRequires:  perl(Test::More)
7a43e2e
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
7a43e2e
Requires:       perl(Moose) >= 0.94
7a43e2e
7a43e2e
# Do not export underspecified dependencies
7a43e2e
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Moose\\)\\s*$
7a43e2e
7a43e2e
%description
7a43e2e
An xUnit style testing framework inspired by Test::Class and built using
7a43e2e
Moose. It can do all the important things Test::Class can do and more. The
7a43e2e
prime advantages of using this module instead of Test::Class are
7a43e2e
flexibility and power. Namely, Moose.
7a43e2e
7a43e2e
%prep
7a43e2e
%setup -q -n Test-Able-%{version}
7a43e2e
7a43e2e
%build
7a43e2e
%{__perl} Makefile.PL INSTALLDIRS=vendor
7a43e2e
make %{?_smp_mflags}
7a43e2e
7a43e2e
%install
7a43e2e
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
7a43e2e
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
7a43e2e
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
7a43e2e
%{_fixperms} $RPM_BUILD_ROOT/*
7a43e2e
7a43e2e
%check
7a43e2e
make test
7a43e2e
7a43e2e
%files
7a43e2e
%doc Changes README TODO
7a43e2e
%{perl_vendorlib}/*
7a43e2e
%{_mandir}/man3/*
7a43e2e
7a43e2e
%changelog
b5643f1
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-4
b5643f1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
b5643f1
153e8d9
* Fri Jun 22 2012 Petr Pisar <ppisar@redhat.com> - 0.11-3
153e8d9
- Perl 5.16 rebuild
153e8d9
caf0945
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-2
caf0945
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
caf0945
dec227f
* Mon Nov 21 2011 Petr Pisar <ppisar@redhat.com> - 0.11-1
dec227f
- 0.11 bump
dec227f
7a43e2e
* Fri Sep 30 2011 Petr Pisar <ppisar@redhat.com> 0.10-1
7a43e2e
- Specfile autogenerated by cpanspec 1.78.
7a43e2e
- Remove BuildRoot and defattr spec code