parent
1ee97f3286
commit
548c7bf283
@ -0,0 +1 @@
|
|||||||
|
/URI-db-0.19.tar.gz
|
@ -0,0 +1,55 @@
|
|||||||
|
Name: perl-URI-db
|
||||||
|
Version: 0.19
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: Perl support for database URIs
|
||||||
|
License: GPL+ or Artistic
|
||||||
|
|
||||||
|
URL: https://metacpan.org/release/URI-db/
|
||||||
|
Source0: https://cpan.metacpan.org/authors/id/D/DW/DWHEELER/URI-db-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildArch: noarch
|
||||||
|
# build deps
|
||||||
|
BuildRequires: perl-generators
|
||||||
|
BuildRequires: perl-interpreter
|
||||||
|
BuildRequires: perl(Module::Build)
|
||||||
|
BuildRequires: perl(warnings)
|
||||||
|
# run deps
|
||||||
|
BuildRequires: perl(base)
|
||||||
|
BuildRequires: perl(strict)
|
||||||
|
BuildRequires: perl(URI::Nested) >= 0.10
|
||||||
|
# test deps
|
||||||
|
BuildRequires: perl(Test::More) >= 0.88
|
||||||
|
BuildRequires: perl(URI) >= 1.40
|
||||||
|
BuildRequires: perl(URI::QueryParam)
|
||||||
|
BuildRequires: perl(utf8)
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
|
||||||
|
%{?perl_default_filter}
|
||||||
|
|
||||||
|
%description
|
||||||
|
This class provides support for database URIs. They're inspired by
|
||||||
|
JDBC URIs and PostgreSQL URIs, though they're a bit more formal.
|
||||||
|
The specification for their format is documented in README.md.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n URI-db-%{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 README.md
|
||||||
|
%{perl_vendorlib}/URI*
|
||||||
|
%{_mandir}/man3/URI*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Nov 16 2018 Emmanuel Seyman <emmanuel@seyman.fr> 0.19-1
|
||||||
|
- Initial specfile, based on the one autogenerated by cpanspec 1.78.
|
Loading…
Reference in new issue