parent
e3c4d343e6
commit
b8563d4456
@ -0,0 +1 @@
|
||||
MouseX-Types-0.01.tar.gz
|
@ -0,0 +1 @@
|
||||
perl-MouseX-Types-0_01-1_fc10:HEAD:perl-MouseX-Types-0.01-1.fc10.src.rpm:1234556273
|
@ -0,0 +1,65 @@
|
||||
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)
|
||||
|
Loading…
Reference in new issue