File perl-Test-Base.spec of Package perl-Test-Base

#
# spec file for package perl-Test-Base (Version 0.54)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

Name:           perl-Test-Base
BuildRequires:  perl-Spiffy >= 0.3
URL:            http://search.cpan.org/~ingy/Test-Base
License:        Artistic License
Group:          Development/Libraries/Perl
Requires:       perl = %{perl_version} perl-Spiffy >= 0.3
Autoreqprov:    on
Summary:        Perl module for easily writing own test framework base classes.
Version:        0.54
Release:        1
Source:         Test-Base-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
This module gives you a way to write your own test framework base class
that is trivial. In fact it is as simple as two lines. It extends
Test::More and exports all of its functions



Authors:
--------
    Brian Ingerson <INGY@cpan.org>

%prep
%setup -n Test-Base-%{version}

%build
perl Makefile.PL
make

%check
make test

%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc README Changes
%dir %{perl_vendorlib}/Test
%dir %{perl_vendorlib}/Test/Base
%dir %{perl_vendorarch}/auto/Test
%dir %{perl_vendorarch}/auto/Test/Base
%doc %{_mandir}/man3/Test::Base.3pm.gz
%doc %{_mandir}/man3/Test::Base::Filter.3pm.gz
%doc %{_mandir}/man3/Module::Install::TestBase.3pm.gz
%{perl_vendorlib}/Test/Base.pm
%{perl_vendorlib}/Test/Base/Filter.pm
%dir %{perl_vendorlib}/Module
%dir %{perl_vendorlib}/Module/Install
%{perl_vendorlib}/Module/Install/TestBase.pm
%{perl_vendorarch}/auto/Test/Base/.packlist
/var/adm/perl-modules/%{name}

%changelog
* Tue Jul 24 2007 - cwh@suse.de
- version 0.54: Make dependency on Filter::Util::Call explicit in Makefile.PL
- version 0.53: Changes from miyagawa and crew
* Wed Oct 25 2006 - cwh@suse.de
- version: 0.52
  - Add use_ok to exports
- version: 0.51
  - Remove build-requires dep of Spiffy for Module::Install::TestBase
  - Add in a patch from the good folk at Socialtext.
- version: 0.50
  - No change. 0.49 got borked on the way to CPAN
- version: 0.49
  - Added Module::Install::TestBase
- version: 0.48
  - Fixed test failures on windows
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Jan 20 2006 - cwh@suse.de
- Initially packaged for SUSE Linux