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.
perl-Specio-Library-Path-Tiny/perl-Specio-Library-Path-Ti...

70 lines
2.0 KiB

8 years ago
Name: perl-Specio-Library-Path-Tiny
Version: 0.04
Release: 3%{?dist}
8 years ago
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-interpreter
8 years ago
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
* Tue Jun 06 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.04-3
- Perl 5.26 rebuild
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.04-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
8 years ago
* Mon Oct 17 2016 Jitka Plesnikova <jplesnik@redhat.com> 0.04-1
- Initial release