You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
perl-Test-Class/perl-Test-Class.spec

62 lines
1.7 KiB

Name: perl-Test-Class
Version: 0.28
Release: 1%{?dist}
Summary: Easily create test classes in an xUnit/JUnit style
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Test-Class/
Source0: http://www.cpan.org/authors/id/A/AD/ADIE/Test-Class-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(Contextual::Return)
BuildRequires: perl(Devel::Symdump) >= 2.03
BuildRequires: perl(Module::Build)
BuildRequires: perl(Test::Builder::Tester)
BuildRequires: perl(Test::Exception) >= 0.25
BuildRequires: perl(Test::More)
Requires: perl(Devel::Symdump) >= 2.03
Requires: perl(Test::Exception) >= 0.25
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
Test::Class provides a simple way of creating classes and objects to test
your code in an xUnit style.
%prep
%setup -q -n Test-Class-%{version}
%build
%{__perl} Build.PL installdirs=vendor
./Build
%install
rm -rf $RPM_BUILD_ROOT
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
./Build test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Mon Jan 28 2008 Steven Pritchard <steve@kspei.com> 0.28-1
- Update to 0.28.
- Update License tag.
- Bump Test::Exception requirement to 0.25.
* Mon Jul 16 2007 Steven Pritchard <steve@kspei.com> 0.24-1
- Specfile autogenerated by cpanspec 1.71.
- BR Contextual::Return, Test::Builder::Tester, and Test::More.
- Drop explicit perl BR.