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.
66 lines
1.7 KiB
66 lines
1.7 KiB
Name: perl-MouseX-Types
|
|
Version: 0.01
|
|
Release: 1%{?dist}
|
|
# lib/MouseX/Types.pm -> GPL+ or Artistic
|
|
License: GPL+ or Artistic
|
|
Group: Development/Libraries
|
|
Summary: Organize your Mouse types in libraries
|
|
Source: http://search.cpan.org/CPAN/authors/id/Y/YA/YAPPO/MouseX-Types-%{version}.tar.gz
|
|
Url: http://search.cpan.org/dist/MouseX-Types
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
|
|
BuildRequires: perl(Mouse) >= 0.15
|
|
BuildRequires: perl(Mouse::Util::TypeConstraints)
|
|
BuildRequires: perl(Scalar::Util)
|
|
# tests...
|
|
BuildRequires: perl(Test::Exception)
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
|
%description
|
|
Organize your Mouse types; much as MooseX::Types does for your Moose types.
|
|
For more information, please see the MooseX::Types manpage.
|
|
|
|
This library was split off from Mouse as of Mouse 0.15.
|
|
|
|
|
|
%prep
|
|
%setup -q -n MouseX-Types-%{version}
|
|
|
|
%build
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
rm -rf %{buildroot}
|
|
|
|
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
%check
|
|
make test
|
|
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc Changes README
|
|
%{perl_vendorlib}/*
|
|
%{_mandir}/man3/*.3*
|
|
|
|
%changelog
|
|
* Wed Feb 11 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.01-1
|
|
- update for submission
|
|
|
|
* Wed Feb 11 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.01-0
|
|
- initial RPM packaging
|
|
- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)
|
|
|