From 8388b99126c46f24e1cb467cd4a8302040db708f Mon Sep 17 00:00:00 2001
From: Emmanuel Seyman <emman...@seyman.fr>
Date: Mon, 8 Aug 2016 17:33:05 +0200
Subject: Initial import.

---
 .gitignore                    |  1 +
 perl-Dancer2-Plugin-DBIC.spec | 74 +++++++++++++++++++++++++++++++++++++++++++
 sources                       |  1 +
 3 files changed, 76 insertions(+)
 create mode 100644 perl-Dancer2-Plugin-DBIC.spec

diff --git a/.gitignore b/.gitignore
index e69de29..aff80cc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Dancer2-Plugin-DBIC-0.0014.tar.gz
diff --git a/perl-Dancer2-Plugin-DBIC.spec b/perl-Dancer2-Plugin-DBIC.spec
new file mode 100644
index 0000000..d82c763
--- /dev/null
+++ b/perl-Dancer2-Plugin-DBIC.spec
@@ -0,0 +1,74 @@
+Name:           perl-Dancer2-Plugin-DBIC
+Version:        0.0014
+Release:        1%{?dist}
+Summary:        DBIx::Class interface for Dancer2 applications
+License:        GPL+ or Artistic
+
+URL:            http://search.cpan.org/dist/Dancer2-Plugin-DBIC/
+Source0:        
http://www.cpan.org/authors/id/I/IR/IRONCAMEL/Dancer2-Plugin-DBIC-%{version}.tar.gz
+
+BuildArch:      noarch
+BuildRequires:  make
+BuildRequires:  perl
+BuildRequires:  perl-generators
+BuildRequires:  perl(DBD::SQLite)
+BuildRequires:  perl(DBI)
+BuildRequires:  perl(DBICx::Sugar)
+BuildRequires:  perl(DBIx::Class::Core)
+BuildRequires:  perl(DBIx::Class::Schema)
+BuildRequires:  perl(DBIx::Class::Schema::Loader)
+BuildRequires:  perl(Dancer2) >= 0.153002
+BuildRequires:  perl(Dancer2::Plugin)
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(File::Temp)
+BuildRequires:  perl(HTTP::Request::Common)
+BuildRequires:  perl(IO::Handle)
+BuildRequires:  perl(IPC::Open3)
+BuildRequires:  perl(Plack::Test)
+BuildRequires:  perl(Test::Exception)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(base)
+BuildRequires:  perl(blib) >= 1.01
+BuildRequires:  perl(lib)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(utf8)
+BuildRequires:  perl(warnings)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
+
+%{?perl_default_filter}
+
+%description
+This plugin makes it very easy to create Dancer2 applications that
+interface with databases. It automatically exports the keyword schema which
+returns a DBIx::Class::Schema object. You just need to configure your
+database connection information. For performance, schema objects are cached
+in memory and are lazy loaded the first time they are accessed.
+
+%prep
+%setup -q -n Dancer2-Plugin-DBIC-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc CHANGES README
+%license LICENSE
+%{perl_vendorlib}/Dancer2*
+%{_mandir}/man3/Dancer2*
+
+%changelog
+* Mon Aug 08 2016 Emmanuel Seyman <emman...@seyman.fr> 0.0014-1
+- Take into account review comments (#1361319)
+- Update to 0.0014
+
+* Tue Jun 07 2016 Emmanuel Seyman <emman...@seyman.fr> 0.0013-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..4d39178 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+038c08527a47cd65a0a42edabdb03842  Dancer2-Plugin-DBIC-0.0014.tar.gz
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-Dancer2-Plugin-DBIC.git/commit/?h=f23&id=8388b99126c46f24e1cb467cd4a8302040db708f
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Reply via email to