forked from pool/perl-Test-Base
101 lines
2.8 KiB
RPMSpec
101 lines
2.8 KiB
RPMSpec
|
#
|
||
|
# spec file for package perl-Test-Base (Version 0.52)
|
||
|
#
|
||
|
# Copyright (c) 2006 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/Languages/Perl
|
||
|
Requires: perl = %{perl_version} perl-Spiffy >= 0.3
|
||
|
Autoreqprov: on
|
||
|
Summary: Perl module for easily writing own test framework base classes.
|
||
|
Version: 0.52
|
||
|
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
|
||
|
make test
|
||
|
# ---------------------------------------------------------------------------
|
||
|
|
||
|
%install
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
|
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
||
|
make test
|
||
|
%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 -n perl-Test-Base
|
||
|
* Wed Oct 25 2006 - cwh@suse.de
|
||
|
version: 0.52
|
||
|
date: Mon Jun 19 10:44:53 PDT 2006
|
||
|
changes:
|
||
|
- Add use_ok to exports
|
||
|
version: 0.51
|
||
|
date: Fri Jun 16 13:05:22 PDT 2006
|
||
|
changes:
|
||
|
- Remove build-requires dep of Spiffy for Module::Install::TestBase
|
||
|
- Add in a patch from the good folk at Socialtext.
|
||
|
version: 0.50
|
||
|
date: Mon Jan 30 10:52:52 PST 2006
|
||
|
changes:
|
||
|
- No change. 0.49 got borked on the way to CPAN
|
||
|
version: 0.49
|
||
|
date: Mon Jan 30 10:52:48 PST 2006
|
||
|
changes:
|
||
|
- Added Module::Install::TestBase
|
||
|
version: 0.48
|
||
|
date: Sun Jan 29 10:19:46 PST 2006
|
||
|
changes:
|
||
|
- 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
|