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.
64 lines
1.8 KiB
64 lines
1.8 KiB
8 years ago
|
Name: perl-Specio-Library-Path-Tiny
|
||
|
Version: 0.04
|
||
|
Release: 1%{?dist}
|
||
|
Summary: Path::Tiny types and coercions for Specio
|
||
|
License: ASL 2.0
|
||
|
URL: http://search.cpan.org/dist/Specio-Library-Path-Tiny/
|
||
|
Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/Specio-Library-Path-Tiny-%{version}.tar.gz
|
||
|
BuildArch: noarch
|
||
|
# Build
|
||
|
BuildRequires: make
|
||
|
BuildRequires: perl
|
||
|
BuildRequires: perl-generators
|
||
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||
|
BuildRequires: perl(strict)
|
||
|
BuildRequires: perl(warnings)
|
||
|
# Run-time
|
||
|
BuildRequires: perl(overload)
|
||
|
BuildRequires: perl(parent)
|
||
|
BuildRequires: perl(Path::Tiny) >= 0.087
|
||
|
BuildRequires: perl(Scalar::Util)
|
||
|
BuildRequires: perl(Specio) >= 0.29
|
||
|
BuildRequires: perl(Specio::Declare)
|
||
|
BuildRequires: perl(Specio::Exporter)
|
||
|
BuildRequires: perl(Specio::Library::Builtins)
|
||
|
BuildRequires: perl(Specio::PartialDump)
|
||
|
# Tests
|
||
|
BuildRequires: perl(File::pushd)
|
||
|
BuildRequires: perl(File::Spec)
|
||
|
BuildRequires: perl(File::Temp) >= 0.18
|
||
|
BuildRequires: perl(Test::Fatal)
|
||
|
BuildRequires: perl(Test::More) >= 0.96
|
||
|
BuildRequires: perl(Test::Specio)
|
||
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||
|
|
||
|
%description
|
||
|
This library provides a set of Path::Tiny types and coercions for Specio.
|
||
|
These types can be used with Moose, Moo, Params::ValidationCompiler, and
|
||
|
other modules.
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n Specio-Library-Path-Tiny-%{version}
|
||
|
|
||
|
%build
|
||
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||
|
make %{?_smp_mflags}
|
||
|
|
||
|
%install
|
||
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
||
|
|
||
|
%check
|
||
|
make test
|
||
|
|
||
|
|
||
|
%files
|
||
|
%license LICENSE
|
||
|
%doc Changes CONTRIBUTING.md README.md
|
||
|
%{perl_vendorlib}/*
|
||
|
%{_mandir}/man3/*
|
||
|
|
||
|
%changelog
|
||
|
* Mon Oct 17 2016 Jitka Plesnikova <jplesnik@redhat.com> 0.04-1
|
||
|
- Initial release
|