commit 6e1be019b2a42025be676adbdccea33b53abc0b6 Author: Iain Arnell <iarnell@xxxxxxxxx> Date: Wed Oct 12 06:23:33 2011 +0200 initial import (rhbz#742555) .gitignore | 1 + perl-Catalyst-Plugin-Session-Store-DBIC.spec | 67 ++++++++++++++++++++++++++ sources | 1 + 3 files changed, 69 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..61d9c86 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Catalyst-Plugin-Session-Store-DBIC-0.12.tar.gz diff --git a/perl-Catalyst-Plugin-Session-Store-DBIC.spec b/perl-Catalyst-Plugin-Session-Store-DBIC.spec new file mode 100644 index 0000000..eab09e9 --- /dev/null +++ b/perl-Catalyst-Plugin-Session-Store-DBIC.spec @@ -0,0 +1,67 @@ +Name: perl-Catalyst-Plugin-Session-Store-DBIC +Version: 0.12 +Release: 1%{?dist} +Summary: Store your sessions via DBIx::Class +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Catalyst-Plugin-Session-Store-DBIC/ +Source0: http://www.cpan.org/authors/id/F/FL/FLORA/Catalyst-Plugin-Session-Store-DBIC-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(Carp) +BuildRequires: perl(Catalyst) >= 5.65000 +BuildRequires: perl(Catalyst::Exception) +BuildRequires: perl(Catalyst::Model::DBIC::Schema) +BuildRequires: perl(Catalyst::Plugin::Session::State::Cookie) +BuildRequires: perl(Catalyst::Plugin::Session::Store::Delegate) >= 0.05 +BuildRequires: perl(Class::Accessor::Fast) +BuildRequires: perl(DBD::SQLite) +BuildRequires: perl(DBIx::Class) >= 0.07000 +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(FindBin) +BuildRequires: perl(MIME::Base64) +BuildRequires: perl(MRO::Compat) +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(Storable) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) +BuildRequires: perl(Test::Pod::Coverage) +BuildRequires: perl(Test::Warn) >= 0.20 +BuildRequires: perl(Test::WWW::Mechanize::Catalyst) +Requires: perl(Catalyst) >= 5.65000 +Requires: perl(DBIx::Class) >= 0.07000 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +This Catalyst::Plugin::Session storage module saves session data in your +database via DBIx::Class. It's actually just a wrapper around +Catalyst::Plugin::Session::Store::Delegate; if you need complete control +over how your sessions are stored, you probably want to use that instead. + +%prep +%setup -q -n Catalyst-Plugin-Session-Store-DBIC-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +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 +TEST_POD=1 make test + +%files +%doc Changes +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Fri Sep 30 2011 Iain Arnell <iarnell@xxxxxxxxx> 0.12-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..6d1f91d 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +ae13f2cbae763eef1bbad7abcd4f618d Catalyst-Plugin-Session-Store-DBIC-0.12.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