File perl-Type-Tiny.spec of Package perl-Type-Tiny
Name: perl-Type-Tiny
Version: 1.002001
Release: 2
Summary: Type::Tiny - tiny, yet Moo(se)-compatible type constraint
License: perl_5
URL: https://metacpan.org/pod/Type::Tiny
Source: https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/Type-Tiny-1.002001.tar.gz
Source1: perl-rpmlintrc
BuildRequires: perl(ExtUtils::MakeMaker)
#BuildRequires: perl(Tie::IxHash)
#BuildRequires: perl(Path::Tiny)
#BuildRequires: perl(ExtUtils::MakeMaker)
#BuildRequires: perl(Test::More)
#BuildRequires: perl(Carp)
#BuildRequires: perl(Test::Pod) >= 1.14
#BuildRequires: perl(Test::Pod::Coverage) >= 1.04
Requires: perl
#Provides: perl(Class::XSAccessor)
#Provides: perl(Class::XSAccessor::Heavy)
BuildArch: noarch
Group: perl/modules
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{?perl_default_filter}
%description
Type::Tiny is a tiny class for creating Moose-like type constraint objects which are compatible with Moo, Moose and Mouse.
Maybe now we won't need to have separate MooseX, MouseX and MooX versions of everything? We can but hope...
This documents the internals of Type::Tiny. Type::Tiny::Manual is a better starting place if you're new.
%prep
%setup -q -n Type-Tiny-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
find %{buildroot} -type f -name "perllocal.pod" -exec rm -f {} \;
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
%{_fixperms} $RPM_BUILD_ROOT/*
# %check
# make test
%files
%defattr(-,root,root)
#%exclude %dir %{perl_vendorarch}/auto/
%doc Changes README
#%{perl_vendorarch}/
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*
%changelog