From b8563d44566c9bdcfe1c8a3285e24dabd17b409b Mon Sep 17 00:00:00 2001 From: Chris Weyl Date: Fri, 13 Feb 2009 20:17:57 +0000 Subject: [PATCH] initial import --- .cvsignore | 1 + import.log | 1 + perl-MouseX-Types.spec | 65 ++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 68 insertions(+) create mode 100644 import.log create mode 100644 perl-MouseX-Types.spec diff --git a/.cvsignore b/.cvsignore index e69de29..4b46e14 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +MouseX-Types-0.01.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..60413be --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +perl-MouseX-Types-0_01-1_fc10:HEAD:perl-MouseX-Types-0.01-1.fc10.src.rpm:1234556273 diff --git a/perl-MouseX-Types.spec b/perl-MouseX-Types.spec new file mode 100644 index 0000000..e87bea2 --- /dev/null +++ b/perl-MouseX-Types.spec @@ -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 0.01-1 +- update for submission + +* Wed Feb 11 2009 Chris Weyl 0.01-0 +- initial RPM packaging +- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8) + diff --git a/sources b/sources index e69de29..5773759 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +8c375c45aa73397c40ac58054d3ca734 MouseX-Types-0.01.tar.gz