| 1 | Name: perl-Test-Inter |
|---|
| 2 | Version: 1.01 |
|---|
| 3 | Release: 4%{?_dist_release} |
|---|
| 4 | Summary: Framework for more readable interactive test scripts |
|---|
| 5 | License: GPL+ or Artistic |
|---|
| 6 | Group: Development/Libraries |
|---|
| 7 | URL: http://search.cpan.org/dist/Test-Inter/ |
|---|
| 8 | Source0: http://www.cpan.org/authors/id/S/SB/SBECK/Test-Inter-%{version}.tar.gz |
|---|
| 9 | BuildArch: noarch |
|---|
| 10 | BuildRequires: perl(File::Basename) |
|---|
| 11 | BuildRequires: perl(IO::File) |
|---|
| 12 | BuildRequires: perl(Module::Build) |
|---|
| 13 | # Tests only: |
|---|
| 14 | BuildRequires: perl(Test::Pod) |
|---|
| 15 | BuildRequires: perl(Test::Pod::Coverage) |
|---|
| 16 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
|---|
| 17 | |
|---|
| 18 | Vendor: Project Vine |
|---|
| 19 | Distribution: Vine Linux |
|---|
| 20 | |
|---|
| 21 | %description |
|---|
| 22 | This is another framework for writing test scripts. It is loosely inspired |
|---|
| 23 | by Test::More, and has most of it's functionality, but it is not a drop-in |
|---|
| 24 | replacement. |
|---|
| 25 | |
|---|
| 26 | %prep |
|---|
| 27 | %setup -q -n Test-Inter-%{version} |
|---|
| 28 | chmod -x examples/* |
|---|
| 29 | |
|---|
| 30 | %build |
|---|
| 31 | %{__perl} Build.PL installdirs=core |
|---|
| 32 | ./Build |
|---|
| 33 | |
|---|
| 34 | %install |
|---|
| 35 | rm -rf $RPM_BUILD_ROOT |
|---|
| 36 | |
|---|
| 37 | ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 |
|---|
| 38 | find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; |
|---|
| 39 | |
|---|
| 40 | %{_fixperms} $RPM_BUILD_ROOT/* |
|---|
| 41 | |
|---|
| 42 | %check |
|---|
| 43 | ./Build test |
|---|
| 44 | |
|---|
| 45 | %files |
|---|
| 46 | %defattr(-,root,root,-) |
|---|
| 47 | %doc ChangeLog LICENSE README TODO examples |
|---|
| 48 | %{perl_privlib}/* |
|---|
| 49 | %{_mandir}/man3/* |
|---|
| 50 | |
|---|
| 51 | %changelog |
|---|
| 52 | * Wed Mar 30 2011 IWAI, Masaharu <iwai@alib.jp> 1.01-4 |
|---|
| 53 | - build for Vine Linux |
|---|
| 54 | |
|---|
| 55 | * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-3 |
|---|
| 56 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
|---|
| 57 | |
|---|
| 58 | * Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.01-2 |
|---|
| 59 | - 661697 rebuild for fixing problems with vendorach/lib |
|---|
| 60 | |
|---|
| 61 | * Tue Sep 14 2010 Petr Pisar <ppisar@redhat.com> 1.01-1 |
|---|
| 62 | - Specfile autogenerated by cpanspec 1.78. |
|---|
| 63 | - Add BuildRequires covered by perl package |
|---|
| 64 | - Distribute examples |
|---|
| 65 | - Install into perl core (i.e. do not use vendor paths) |
|---|