|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
Name: perl-MouseX-Types
|
|
|
|
|
Summary: Organize your Mouse types in libraries
|
|
|
|
|
Version: 0.06
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/G/GF/GFUJI/MouseX-Types-%{version}.tar.gz
|
|
|
|
@ -19,9 +19,12 @@ BuildRequires: perl(Test::More)
|
|
|
|
|
|
|
|
|
|
Requires: perl(Mouse) >= 0.41
|
|
|
|
|
|
|
|
|
|
# obsolete/provide old tests subpackage
|
|
|
|
|
# can be removed during F19 development cycle
|
|
|
|
|
Obsoletes: %{name}-tests < 0.06-2
|
|
|
|
|
Provides: %{name}-tests = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%{?perl_default_filter}
|
|
|
|
|
%{?perl_default_subpackage_tests}
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Organize your Mouse types; much as MooseX::Types does for your Moose types.
|
|
|
|
@ -34,6 +37,7 @@ This library was split off from Mouse as of Mouse 0.15.
|
|
|
|
|
%setup -q -n MouseX-Types-%{version}
|
|
|
|
|
|
|
|
|
|
find lib -type f -name '*.pm' -print0 | xargs -0 chmod 0644
|
|
|
|
|
chmod 0644 t/*.t
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
@ -50,11 +54,14 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc Changes README
|
|
|
|
|
%doc Changes README t/
|
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Jan 22 2012 Iain Arnell <iarnell@gmail.com> 0.06-2
|
|
|
|
|
- drop tests subpackage; move tests to main package documentation
|
|
|
|
|
|
|
|
|
|
* Thu Jan 12 2012 Iain Arnell <iarnell@gmail.com> 0.06-1
|
|
|
|
|
- update to latest upstream version
|
|
|
|
|
- clean up spec for modern rpmbuild
|
|
|
|
|