2008-05-07 10:17:13 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-Test-Simple
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
Name: perl-Test-Simple
|
|
|
|
%define real_name Test-Simple
|
|
|
|
Summary: Tester - test testsuites that have been built with Test::Builder
|
|
|
|
URL: http://search.cpan.org/perldoc?Test::Builder::Tester
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
License: Artistic License
|
2010-07-05 23:19:55 +00:00
|
|
|
Version: 0.95_02
|
2008-05-07 10:17:13 +00:00
|
|
|
Release: 1
|
|
|
|
Vendor: openSUSE-Education
|
2010-07-05 23:19:55 +00:00
|
|
|
Source: http://search.cpan.org/CPAN/authors/id/M/MS/MSCHWERN/%{real_name}-%{version}.tar.bz2
|
2008-05-07 10:17:13 +00:00
|
|
|
Requires: perl = %{perl_version}
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
A module that helps you test testing modules that are built with Test::Builder.
|
|
|
|
|
|
|
|
The testing system is designed to be used by performing a three step process
|
|
|
|
for each test you wish to test. This process starts with using test_out and
|
|
|
|
test_err in advance to declare what the testsuite you are testing will output
|
|
|
|
with Test::Builder to stdout and stderr.
|
|
|
|
|
|
|
|
|
|
|
|
Author:
|
|
|
|
-------
|
|
|
|
Mark Fowler <mark@twoshortplanks.com>
|
|
|
|
Some code taken from Test::More and Test::Catch,
|
|
|
|
written by by Michael G Schwern <schwern@pobox.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -n %{real_name}-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL
|
|
|
|
make %{?jobs:-j%jobs}
|
|
|
|
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
install -d %buildroot%{_defaultdocdir}/%name
|
|
|
|
mv %buildroot%{perl_vendorlib}/Test/Tutorial.pod %buildroot%{_defaultdocdir}/%name/
|
|
|
|
cp Changes README MANIFEST %buildroot%{_defaultdocdir}/%name/
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(644, root, root,755)
|
|
|
|
%doc %{_defaultdocdir}/%name
|
|
|
|
%doc %{_mandir}/man?/*
|
|
|
|
%dir %{perl_vendorarch}/auto/Test
|
|
|
|
%dir %{perl_vendorarch}/auto/Test/Simple
|
|
|
|
%dir %{perl_vendorlib}/Test
|
|
|
|
%dir %{perl_vendorlib}/Test/Builder
|
|
|
|
%dir %{perl_vendorlib}/Test/Builder/Tester
|
|
|
|
%{perl_vendorlib}/Test/*.pm
|
|
|
|
%{perl_vendorlib}/Test/Builder/*.pm
|
|
|
|
%{perl_vendorlib}/Test/Builder/Tester/Color.pm
|
|
|
|
%{perl_vendorarch}/auto/Test/Simple/.packlist
|
|
|
|
/var/adm/perl-modules/%{name}
|
|
|
|
|
|
|
|
%changelog
|