commit 37b3be19f56dbf664124976df814c73d20a9f859 Author: Lubomir Rintel <lkundrak@xxxxx> Date: Fri Feb 6 12:45:42 2015 +0100 Initial import .gitignore | 1 + perl-Database-DumpTruck.spec | 55 ++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 57 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..8365c56 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Database-DumpTruck-1.2.tar.gz diff --git a/perl-Database-DumpTruck.spec b/perl-Database-DumpTruck.spec new file mode 100644 index 0000000..0271215 --- /dev/null +++ b/perl-Database-DumpTruck.spec @@ -0,0 +1,55 @@ +Name: perl-Database-DumpTruck +Version: 1.2 +Release: 1%{?dist} +Summary: Relaxing interface to SQLite +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Database-DumpTruck/ +Source0: http://www.cpan.org/authors/id/L/LK/LKUNDRAK/Database-DumpTruck-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(DBD::SQLite) +BuildRequires: perl(DBI) +BuildRequires: perl(File::Temp) +BuildRequires: perl(JSON) +BuildRequires: perl(Module::Build) +BuildRequires: perl(Test::Exception) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) >= 1.00 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This is a simple document-oriented interface to a SQLite database, modelled +after Scraperwiki's Python dumptruck module. It allows for easy (and maybe +inefficient) storage and retrieval of structured data to and from a +database without interfacing with SQL. + + +%prep +%setup -q -n Database-DumpTruck-%{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 +%doc META.json +%{perl_vendorlib}/* +%{_mandir}/man3/* + + +%changelog +* Fri Jul 25 2014 Lubomir Rintel <lkundrak@xxxxx> 1.2-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..2165951 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +7f61106f23400fc2b142e0cdeeb665a6 Database-DumpTruck-1.2.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