commit b08fb5277c2c008724076726d8d639ef4f5dfcb2 Author: Iain Arnell <iarnell@xxxxxxxxx> Date: Tue Mar 15 04:59:21 2011 +0100 initial import .gitignore | 1 + perl-Test-Database.spec | 63 +++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 65 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..611267a 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Test-Database-1.11.tar.gz diff --git a/perl-Test-Database.spec b/perl-Test-Database.spec new file mode 100644 index 0000000..a52a3e1 --- /dev/null +++ b/perl-Test-Database.spec @@ -0,0 +1,63 @@ +Name: perl-Test-Database +Version: 1.11 +Release: 1%{?dist} +Summary: Database handles ready for testing +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Test-Database/ +Source0: http://www.cpan.org/authors/id/B/BO/BOOK/Test-Database-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl >= 0:5.006 +BuildRequires: perl(DBD::SQLite) +BuildRequires: perl(DBI) >= 1 +BuildRequires: perl(File::Find) +BuildRequires: perl(File::HomeDir) >= 0.5 +BuildRequires: perl(File::Path) +BuildRequires: perl(File::Spec) +BuildRequires: perl(File::Temp) +BuildRequires: perl(List::Util) +BuildRequires: perl(Module::Build) +BuildRequires: perl(Pod::Coverage) +BuildRequires: perl(SQL::Statement) +BuildRequires: perl(strict) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) +BuildRequires: perl(Test::Pod::Coverage) +BuildRequires: perl(version) +BuildRequires: perl(warnings) +BuildRequires: perl(YAML::Tiny) >= 1.27 + +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +Test::Database provides a simple way for test authors to request a test +database, without worrying about environment variables or the test host +configuration. + +%prep +%setup -q -n Test-Database-%{version} + +%build +%{__perl} Build.PL installdirs=vendor +./Build + +%install +./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +./Build test + +%files +%defattr(-,root,root,-) +%doc Changes eg README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Mon Mar 14 2011 Iain Arnell <iarnell@xxxxxxxxx> 1.11-1 +- Specfile autogenerated by cpanspec 1.79. diff --git a/sources b/sources index e69de29..44eb3a3 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +a906c03c1eeb67de2092d193900df624 Test-Database-1.11.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel