From f3ab4ce3910c55ae5fafed9a7549914b546133c8 Mon Sep 17 00:00:00 2001 From: Chris Weyl Date: Feb 20 2010 23:07:53 +0000 Subject: initial import --- diff --git a/.cvsignore b/.cvsignore index e69de29..59bcac1 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +MooseX-Role-WithOverloading-0.05.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..aa99f48 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +perl-MooseX-Role-WithOverloading-0_05-1_fc11:F-12:perl-MooseX-Role-WithOverloading-0.05-1.fc11.src.rpm:1266707265 diff --git a/perl-MooseX-Role-WithOverloading.spec b/perl-MooseX-Role-WithOverloading.spec new file mode 100644 index 0000000..78436d1 --- /dev/null +++ b/perl-MooseX-Role-WithOverloading.spec @@ -0,0 +1,68 @@ +Name: perl-MooseX-Role-WithOverloading +Version: 0.05 +Release: 1%{?dist} +# lib/MooseX/Role/WithOverloading.pm -> GPL+ or Artistic +License: GPL+ or Artistic +Group: Development/Libraries +Summary: Roles which support overloading +Source: http://search.cpan.org/CPAN/authors/id/B/BO/BOBTFISH/MooseX-Role-WithOverloading-%{version}.tar.gz +Url: http://search.cpan.org/dist/MooseX-Role-WithOverloading +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +BuildRequires: perl(aliased) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Moose) >= 0.90 +BuildRequires: perl(MooseX::Types) +BuildRequires: perl(namespace::autoclean) >= 0.09 +BuildRequires: perl(namespace::clean) +BuildRequires: perl(Test::More) >= 0.88 +BuildRequires: perl(XSLoader) + +%{?perl_default_filter} + +%description +MooseX::Role::WithOverloading allows you to write a Moose::Role +that defines overloaded operators and allows those operator +overloadings to be composed into the classes/roles/instances it's +compiled to, while plain roles would lose the overloading. + + +%prep +%setup -q -n MooseX-Role-WithOverloading-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +make %{?_smp_mflags} + +%install +rm -rf %{buildroot} + +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +find %{buildroot} -type f -name '*.bs' -a -size 0 -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 LICENSE README +%{perl_vendorarch}/* +%exclude %dir %{perl_vendorarch}/auto +%{_mandir}/man3/*.3* + +%changelog +* Sat Feb 06 2010 Chris Weyl 0.05-1 +- submission + +* Sat Feb 06 2010 Chris Weyl 0.05-0 +- initial RPM packaging +- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8) + diff --git a/sources b/sources index e69de29..45516c8 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +a1084e98f8deaef75cdfc3fecc59a149 MooseX-Role-WithOverloading-0.05.tar.gz