1
0
perl-Test-Base/perl-Test-Base.spec

101 lines
2.9 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-Test-Base (Version 0.54)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# 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: 73
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