commit 200054dc8ac9f8d1967ad19a9d215a1b389bf9dd Author: Iain Arnell <iarnell@xxxxxxxxx> Date: Thu May 19 04:55:29 2011 +0200 initial import (rhbz#684511) .gitignore | 1 + perl-DBIx-Class-Cursor-Cached.spec | 67 ++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 69 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..76652fa 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/DBIx-Class-Cursor-Cached-1.001001.tar.gz diff --git a/perl-DBIx-Class-Cursor-Cached.spec b/perl-DBIx-Class-Cursor-Cached.spec new file mode 100644 index 0000000..11e6222 --- /dev/null +++ b/perl-DBIx-Class-Cursor-Cached.spec @@ -0,0 +1,67 @@ +Name: perl-DBIx-Class-Cursor-Cached +Version: 1.001001 +Release: 1%{?dist} +Summary: Cursor class with built-in caching support +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/DBIx-Class-Cursor-Cached/ +Source0: http://www.cpan.org/authors/id/A/AR/ARCANEZ/DBIx-Class-Cursor-Cached-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl >= 1:5.8.1 +BuildRequires: perl(Cache::FileCache) +BuildRequires: perl(Carp::Clan) >= 6.0 +BuildRequires: perl(DBD::SQLite) >= 1.25 +BuildRequires: perl(DBIx::Class) >= 0.08124 +BuildRequires: perl(DBIx::Class::Core) +BuildRequires: perl(DBIx::Class::Schema) +BuildRequires: perl(Digest::SHA1) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Test::More) +Requires: perl(Carp::Clan) >= 6.0 +Requires: perl(DBIx::Class) >= 0.08124 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?filter_setup: +%filter_from_requires /perl(Carp::Clan)$/d +%{?perl_default_filter} +} + +%description +This module provides a DBIx cursor class with built-in caching support. + +%prep +%setup -q -n DBIx-Class-Cursor-Cached-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor --skipdeps +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%defattr(-,root,root,-) +%doc Changes +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Thu Mar 31 2011 Iain Arnell <iarnell@xxxxxxxxx> 1.001001-1 +- update to latest upstream version + +* Wed Mar 16 2011 Iain Arnell <iarnell@xxxxxxxxx> 1.001000-3 +- use skipdeps for Module::AutoInstall + +* Mon Mar 14 2011 Iain Arnell <iarnell@xxxxxxxxx> 1.001000-2 +- R/BR perl(DBIx::Class) >= 0.8124 to avoid test failures + +* Sun Mar 13 2011 Iain Arnell <iarnell@xxxxxxxxx> 1.001000-1 +- Specfile autogenerated by cpanspec 1.79. diff --git a/sources b/sources index e69de29..c02363f 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +11f9b448244bace1fd79658d7909d9be DBIx-Class-Cursor-Cached-1.001001.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