From e0e73cc67e5946b4bd9fa89c2dc0ce532c0b1a42 Mon Sep 17 00:00:00 2001 From: Chris Weyl Date: Sat, 3 Apr 2010 17:56:48 +0000 Subject: [PATCH] initial import --- .cvsignore | 1 + import.log | 1 + perl-Test-Simple.spec | 68 +++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 71 insertions(+) create mode 100644 import.log create mode 100644 perl-Test-Simple.spec diff --git a/.cvsignore b/.cvsignore index e69de29..3962eb4 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Test-Simple-0.94.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..81007bc --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +perl-Test-Simple-0_94-1_fc12:HEAD:perl-Test-Simple-0.94-1.fc12.src.rpm:1270317403 diff --git a/perl-Test-Simple.spec b/perl-Test-Simple.spec new file mode 100644 index 0000000..fbbda78 --- /dev/null +++ b/perl-Test-Simple.spec @@ -0,0 +1,68 @@ +Name: perl-Test-Simple +Summary: Basic utilities for writing tests +Version: 0.94 +Release: 1%{?dist} +License: GPL+ or Artistic +Group: Development/Libraries +Source0: http://search.cpan.org/CPAN/authors/id/M/MS/MSCHWERN/Test-Simple-%{version}.tar.gz +URL: http://search.cpan.org/dist/Test-Simple +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +BuildArch: noarch + +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Test::Harness) >= 2.03 +Requires: perl(Test::Harness) >= 2.03 + +# note this is right out of perl.spec +Requires: perl-devel + +## testing +#Requires: perl-tests +#Requires: /usr/bin/prove + +%{?perl_default_filter} +%{?perl_default_subpackage_tests} + +%description +This package provides the bulk of the core testing facilities. For more +information, see perldoc for Test::Simple, Test::More, etc. + +This package is the CPAN component of the dual-lifed core package Test-Simple. + +%prep +%setup -q -n Test-Simple-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=perl +make %{?_smp_mflags} + +%install +rm -rf %{buildroot} + +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' + +%{_fixperms} %{buildroot}/* + +%check +make test + +#cd %{_libexecdir}/perl5-tests/perl-tests/ +#prove -I %{buildroot}/blib -r t/ + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%doc Changes README examples/ +%{perl_privlib}/* +%{_mandir}/man3/*.3* + +%changelog +* Tue Mar 16 2010 Chris Weyl 0.94-1 +- specfile by Fedora::App::MaintainerTools 0.006 + + diff --git a/sources b/sources index e69de29..429a898 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +e4e09d8bf2cc73124152ba2c45c95b5b Test-Simple-0.94.tar.gz