From aed3d49dafc6393c86b249c66209382db71bf621 Mon Sep 17 00:00:00 2001 From: Emmanuel Seyman Date: Fri, 5 Mar 2021 10:12:02 +0100 Subject: [PATCH] Initial import --- .gitignore | 1 + perl-SQL-Abstract-Pg.spec | 56 +++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 58 insertions(+) create mode 100644 .gitignore create mode 100644 perl-SQL-Abstract-Pg.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5812a26 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/SQL-Abstract-Pg-1.0.tar.gz diff --git a/perl-SQL-Abstract-Pg.spec b/perl-SQL-Abstract-Pg.spec new file mode 100644 index 0000000..dfe4b2f --- /dev/null +++ b/perl-SQL-Abstract-Pg.spec @@ -0,0 +1,56 @@ +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 1.0-1 +- Intial specfile, based on the one autogenerated by cpanspec 1.78. diff --git a/sources b/sources new file mode 100644 index 0000000..c4b47dc --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (SQL-Abstract-Pg-1.0.tar.gz) = 544fcc730ffcd3c12bb6401ec566f4183677c7b97c58692129654fac1d8e0ef76603e66236a290c88ec5fb1019626c159398eeee476646f7bb582acce8bedd23