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