From f294b2739dfc3a23cd8f1028fcc92a5a67d82fe2 Mon Sep 17 00:00:00 2001 From: Emmanuel Seyman Date: Fri, 16 Nov 2018 16:27:57 +0100 Subject: [PATCH] Initial import. --- .gitignore | 1 + perl-URI-Nested.spec | 53 ++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 55 insertions(+) create mode 100644 .gitignore create mode 100644 perl-URI-Nested.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c76eb9f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/URI-Nested-0.10.tar.gz diff --git a/perl-URI-Nested.spec b/perl-URI-Nested.spec new file mode 100644 index 0000000..d5ee04e --- /dev/null +++ b/perl-URI-Nested.spec @@ -0,0 +1,53 @@ +Name: perl-URI-Nested +Version: 0.10 +Release: 1%{?dist} +Summary: Perl support for nested URIs +License: GPL+ or Artistic + +URL: https://metacpan.org/release/URI-Nested/ +Source0: http://www.cpan.org/authors/id/D/DW/DWHEELER/URI-Nested-%{version}.tar.gz + +BuildArch: noarch +# build deps +BuildRequires: perl-generators +BuildRequires: perl-interpreter +BuildRequires: perl(Module::Build) +BuildRequires: perl(warnings) +# run deps +BuildRequires: perl(overload) +BuildRequires: perl(strict) +# test deps +BuildRequires: perl(Test::More) >= 0.88 +BuildRequires: perl(URI) >= 1.40 +BuildRequires: perl(URI::QueryParam) +BuildRequires: perl(base) +BuildRequires: perl(utf8) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This class provides support for nested URIs, where the scheme is a +prefix, and the remainder of the URI is another URI. Examples include +JDBC URIs and database URIs. + +%prep +%setup -q -n URI-Nested-%{version} + +%build +%{__perl} Build.PL --installdirs=vendor +./Build + +%install +./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0 +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +./Build test + +%files +%doc Changes README.md +%{perl_vendorlib}/URI* +%{_mandir}/man3/URI* + +%changelog +* Fri Nov 16 2018 Emmanuel Seyman 0.10-1 +- Initial specfile, based on the one autogenerated by cpanspec 1.78. diff --git a/sources b/sources new file mode 100644 index 0000000..1413d45 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (URI-Nested-0.10.tar.gz) = 00f6bc5ac77e629b7bd82ba593f839dc2da394c5e8fafc03db2d816fffc149557ece6a50e0b82867c4e458d1dff108535bb3ec4768401a30450f51e5a827b9e4