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.
54 lines
1.4 KiB
54 lines
1.4 KiB
6 years ago
|
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 <emmanuel@seyman.fr> 0.10-1
|
||
|
- Initial specfile, based on the one autogenerated by cpanspec 1.78.
|