8388b99
Name:           perl-Dancer2-Plugin-DBIC
c4bc79d
Version:        0.0100
b0a14af
Release:        4%{?dist}
8388b99
Summary:        DBIx::Class interface for Dancer2 applications
8388b99
License:        GPL+ or Artistic
8388b99
ac4c6a1
URL:            https://metacpan.org/release/Dancer2-Plugin-DBIC
ac4c6a1
Source0:        https://cpan.metacpan.org/authors/id/I/IR/IRONCAMEL/Dancer2-Plugin-DBIC-%{version}.tar.gz
8388b99
8388b99
BuildArch:      noarch
8388b99
BuildRequires:  make
8a8d2a8
BuildRequires:  perl-interpreter
8388b99
BuildRequires:  perl-generators
8388b99
BuildRequires:  perl(DBD::SQLite)
8388b99
BuildRequires:  perl(DBI)
c4bc79d
BuildRequires:  perl(DBICx::Sugar) >= 0.0200
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
b0a14af
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0100-4
b0a14af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
b0a14af
5ff4d4d
* Sat Jun 30 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.0100-3
5ff4d4d
- Perl 5.28 rebuild
5ff4d4d
42ba18c
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0100-2
42ba18c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
42ba18c
c4bc79d
* Sun Oct 08 2017 Emmanuel Seyman <emmanuel@seyman.fr> - 0.0100-1
c4bc79d
- Update to 0.0100
c4bc79d
95bc456
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0014-4
95bc456
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
95bc456
6c81bb6
* Tue Jun 06 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.0014-3
6c81bb6
- Perl 5.26 rebuild
6c81bb6
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.