perl-Test-Base/perl-Test-Base.spec

Name: perl-Test-Base
Summary: Data driven testing framework for perl
Version: 0.88
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Test-Base/
Description: A data driven testing framework.

CentOS 7 x86_64

No build yet for CentOS 7 x86_64.

Build Status

CentOS 6 x86_64

No build yet for CentOS 6 x86_64.

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag

### EL6 ships with perl-Test-Base-0.58-3.el6
%{?el6:# Tag: rfx}

%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)

%define real_name Test-Base

Summary: Data driven testing framework for perl
Name: perl-Test-Base
Version: 0.88
Release: 1%{?dist}
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Test-Base/

Source: http://www.cpan.org/modules/by-module/Test/Test-Base-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildArch: noarch
BuildRequires: perl >= 1:5.6.1
BuildRequires: perl(ExtUtils::MakeMaker)
# From yaml requires
BuildRequires: perl(Filter::Util::Call)
BuildRequires: perl(Spiffy) >= 0.30
BuildRequires: perl(Test::More)
BuildRequires: perl >= 5.6.1
# From yaml recommends
BuildRequires: perl(Test::Deep)

Requires: perl >= 1:5.6.1

%description
A data driven testing framework.

%prep
%setup -n %{real_name}-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} pure_install

### Clean up buildroot
find %{buildroot} -name .packlist -exec %{__rm} {} \;

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc Changes MANIFEST META.yml README
%doc %{_mandir}/man3/Module::Install::TestBase.3pm*
%doc %{_mandir}/man3/Test::Base.3pm*
%doc %{_mandir}/man3/Test::Base::Filter.3pm*
%dir %{perl_vendorlib}/Module/
%dir %{perl_vendorlib}/Module/Install/
%{perl_vendorlib}/Module/Install/TestBase.pm
%dir %{perl_vendorlib}/Test/
%{perl_vendorlib}/Test/Base.pm
%{perl_vendorlib}/Test/Base/

%changelog
* Wed Aug 26 2015 Dries Verachtert <dries.verachtert@dries.eu> - 0.88-1
- Updated to release 0.88.

* Sat Aug 29 2009 Christoph Maser <cmr@financial.com> - 0.59-1
- Updated to version 0.59.

* Fri Jun 12 2009 Christoph Maser <cmr@financial.com> - 0.58-1
- Updated to version 0.58.

* Wed Nov 14 2007 Dag Wieers <dag@wieers.com> - 0.54-1
- Updated to release 0.54.

* Wed Jan 03 2007 Dries Verachtert <dries@ulyssis.org> - 0.53-1
- Updated to release 0.53.

* Mon Sep 18 2006 Dries Verachtert <dries@ulyssis.org> - 0.52-1
- Updated to release 0.52.

* Mon Apr 24 2006 Dag Wieers <dag@wieers.com> - 0.50-1
- Initial package.