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

109 lines
3.3 KiB

7 years ago
Name: perl-Mojo-Pg
6 years ago
Version: 4.13
Release: 3%{?dist}
7 years ago
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
7 years ago
BuildArch: noarch
# Build
BuildRequires: make
BuildRequires: perl-interpreter
BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
6 years ago
BuildRequires: perl(Mojolicious) >= 8.03
7 years ago
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 "`%{__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
%{__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.md
%license LICENSE
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* 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
6 years ago
* Sun Jan 27 2019 Emmanuel Seyman <emmanuel@seyman.fr> - 4.13-1
- Update to 4.13
6 years ago
* Sun Dec 02 2018 Emmanuel Seyman <emmanuel@seyman.fr> - 4.12-1
- Update to 4.12
6 years ago
* Sun Oct 21 2018 Emmanuel Seyman <emmanuel@seyman.fr> - 4.11-1
- Update to 4.11
6 years ago
* Sun Sep 23 2018 Emmanuel Seyman <emmanuel@seyman.fr> - 4.10-1
- Update to 4.10
7 years ago
* 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
7 years ago
* 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.