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.
57 lines
1.4 KiB
57 lines
1.4 KiB
4 years ago
|
Name: perl-SQL-Abstract-Pg
|
||
|
Version: 1.0
|
||
|
Release: 1%{?dist}
|
||
|
Summary: PostgreSQL features for SQL::Abstract
|
||
|
License: Artistic 2.0
|
||
|
|
||
|
URL: https://metacpan.org/release/SQL-Abstract-Pg
|
||
|
Source0: https://cpan.metacpan.org/authors/id/S/SR/SRI/SQL-Abstract-Pg-%{version}.tar.gz
|
||
|
|
||
|
BuildArch: noarch
|
||
|
# build requirements
|
||
|
BuildRequires: coreutils
|
||
|
BuildRequires: make
|
||
|
BuildRequires: perl-interpreter
|
||
|
BuildRequires: perl-generators
|
||
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||
|
# runtime requirements
|
||
|
BuildRequires: perl(SQL::Abstract)
|
||
|
BuildRequires: perl(parent)
|
||
|
BuildRequires: perl(strict)
|
||
|
BuildRequires: perl(utf8)
|
||
|
BuildRequires: perl(warnings)
|
||
|
# test requirements
|
||
|
BuildRequires: perl(SQL::Abstract::Test)
|
||
|
BuildRequires: perl(Test::More)
|
||
|
Requires: perl(:MODULE_COMPAT_%(eval "`/usr/bin/perl -V:version`"; echo $version))
|
||
|
|
||
|
%{?perl_default_filter}
|
||
|
|
||
|
%description
|
||
|
SQL::Abstract::Pg extends SQL::Abstract with a few PostgreSQL features used
|
||
|
by Mojo::Pg.
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n SQL-Abstract-Pg-%{version}
|
||
|
|
||
|
%build
|
||
|
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
||
|
%{make_build}
|
||
|
|
||
|
%install
|
||
|
%{make_install}
|
||
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
||
|
|
||
|
%check
|
||
|
%{make_build} test
|
||
|
|
||
|
%files
|
||
|
%doc Changes README.md
|
||
|
%license LICENSE
|
||
|
%{perl_vendorlib}/*
|
||
|
%{_mandir}/man3/*
|
||
|
|
||
|
%changelog
|
||
|
* Sun Feb 21 2021 Emmanuel Seyman <emmanuel@seyman.fr> 1.0-1
|
||
|
- Intial specfile, based on the one autogenerated by cpanspec 1.78.
|