You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
perl-Mojo-Pg/perl-Mojo-Pg.spec

128 lines
4.0 KiB

Name: perl-Mojo-Pg
Version: 4.17
Release: 2%{?dist}
Summary: Mojolicious ♥ PostgreSQL
License: Artistic 2.0
URL: https://metacpan.org/release/Mojo-Pg
Source0: https://cpan.metacpan.org/authors/id/S/SR/SRI/Mojo-Pg-%{version}.tar.gz
BuildArch: noarch
# Build
BuildRequires: make
BuildRequires: perl-interpreter
BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(Mojolicious) >= 8.03
BuildRequires: perl(strict)
BuildRequires: perl(utf8)
BuildRequires: perl(warnings)
# Runtime
BuildRequires: perl(Carp)
BuildRequires: perl(DBD::Pg) >= 3.5.1
BuildRequires: perl(DBI)
BuildRequires: perl(Mojo::Base)
BuildRequires: perl(Mojo::Collection)
BuildRequires: perl(Mojo::EventEmitter)
BuildRequires: perl(Mojo::File)
BuildRequires: perl(Mojo::IOLoop)
BuildRequires: perl(Mojo::JSON)
BuildRequires: perl(Mojo::Loader)
BuildRequires: perl(Mojo::Promise)
BuildRequires: perl(Mojo::URL)
BuildRequires: perl(Mojo::Util)
BuildRequires: perl(SQL::Abstract)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(constant)
# Tests
BuildRequires: perl(File::Spec::Functions)
BuildRequires: perl(FindBin)
BuildRequires: perl(Mojolicious::Lite)
BuildRequires: perl(Test::Mojo)
BuildRequires: perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "`/usr/bin/perl -V:version`"; echo $version))
Requires: perl(SQL::Abstract) >= 1.85
%{?perl_default_filter}
%description
Mojo::Pg is a tiny wrapper around DBD::Pg that makes PostgreSQL a lot of
fun to use with the Mojolicious real-time web framework. Perform queries
blocking and non-blocking, use all SQL features PostgreSQL has to offer,
generate CRUD queries from data structures, manage your database schema
with migrations and build scalable real-time web applications with the
publish/subscribe pattern.
%prep
%setup -q -n Mojo-Pg-%{version}
%build
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build} %{?_smp_mflags}
%install
%{make_install}
%{_fixperms} $RPM_BUILD_ROOT/*
%check
%{make_build} test
%files
%doc Changes README.md
%license LICENSE
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.17-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sun Oct 13 2019 Emmanuel Seyman <emmanuel@seyman.fr> - 4.17-1
- Update to 4.17
* Sun Sep 08 2019 Emmanuel Seyman <emmanuel@seyman.fr> - 4.16-1
- Update to 4.16
- Replace calls to %%{__perl} with /usr/bin/perl
- Pass NO_PERLLOCAL=1 to Makefile.PL
- Replace calls to "make pure_install" with %%{make_install}
- Replace calls to make with %%{make_build}
* Sun Jul 28 2019 Emmanuel Seyman <emmanuel@seyman.fr> - 4.15-1
- Update to 4.15
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.13-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 4.13-3
- Perl 5.30 rebuild
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.13-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sun Jan 27 2019 Emmanuel Seyman <emmanuel@seyman.fr> - 4.13-1
- Update to 4.13
* Sun Dec 02 2018 Emmanuel Seyman <emmanuel@seyman.fr> - 4.12-1
- Update to 4.12
* Sun Oct 21 2018 Emmanuel Seyman <emmanuel@seyman.fr> - 4.11-1
- Update to 4.11
* Sun Sep 23 2018 Emmanuel Seyman <emmanuel@seyman.fr> - 4.10-1
- Update to 4.10
* Sun Aug 12 2018 Emmanuel Seyman <emmanuel@seyman.fr> - 4.09-1
- Update to 4.09
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.08-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 4.08-3
- Perl 5.28 rebuild
* Tue May 15 2018 Emmanuel Seyman <emmanuel@seyman.fr> - 4.08-2
- Take into account review comments (#1578151)
* Mon May 14 2018 Emmanuel Seyman <emmanuel@seyman.fr> - 4.08-1
- Initial specfile, based on the one autogenerated by cpanspec 1.78.