perl-MooseX-Role-WithOverloading/perl-MooseX-Role-WithOverloading.spec

Name: perl-MooseX-Role-WithOverloading
Summary: MooseX roles which support overloading
Version: 0.05
Release: 1
License: perl
Group: Applications/CPAN
URL: http://search.cpan.org/dist/MooseX-Role-WithOverloading
Description: MooseX::Role::WithOverloading allows you to write a Moose::Role which defines overloaded operators and allows those operator overloadings to be composed into the classes/roles/instances it's compiled to, while plain Moose::Roles would lose the overloading.

CentOS 7 x86_64

The build could not start because of the following missing build requirements:

Build Status

CentOS 6 x86_64

The build could not start because of the following missing build requirements:

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Upstream: Tomas Doran <bobtfish@bobtfish.net>
# ExcludeDist: el4

%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)
%define real_name MooseX-Role-WithOverloading

Summary: MooseX roles which support overloading
Name: perl-MooseX-Role-WithOverloading
Version: 0.05
Release: 1%{?dist}
License: perl
Group: Applications/CPAN
URL: http://search.cpan.org/dist/MooseX-Role-WithOverloading

Source: http://search.cpan.org/CPAN/authors/id/B/BO/BOBTFISH/MooseX-Role-WithOverloading-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: perl(Moose) >= 0.90
BuildRequires: perl(MooseX::Types)
#BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(Test::More)
BuildRequires: perl(XSLoader)
BuildRequires: perl(aliased)
BuildRequires: perl(namespace::autoclean) >= 0.09
BuildRequires: perl(namespace::clean)
Requires: perl(Moose) >= 0.90
Requires: perl(MooseX::Types)
#Requires: perl(Test::More) >= 0.88
Requires: perl(Test::More)
Requires: perl(XSLoader)
Requires: perl(aliased)
Requires: perl(namespace::autoclean) >= 0.09
Requires: perl(namespace::clean)

%filter_from_requires /^perl*/d
%filter_setup

%description
MooseX::Role::WithOverloading allows you to write a Moose::Role which defines overloaded operators and allows those operator overloadings to be composed into the classes/roles/instances it's compiled to, while plain Moose::Roles would lose the overloading.

%prep
%setup -n %{real_name}-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} pure_install

### Clean up buildroot
find %{buildroot} -name .packlist -exec %{__rm} {} \;

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc Changes LICENSE MANIFEST README
%doc %{_mandir}/man3/MooseX::Role::WithOverloading*.3pm*
%{perl_vendorarch}/MooseX/Role/WithOverloading
%{perl_vendorarch}/MooseX/Role/WithOverloading.pm
%{perl_vendorarch}/auto/MooseX/Role/WithOverloading/WithOverloading.bs
%{perl_vendorarch}/auto/MooseX/Role/WithOverloading/WithOverloading.so

%changelog
* Mon Jan 11 2010 Christoph Maser <cmr@financial.com> - 0.05-1
- Updated to version 0.05.

* Tue Jan  5 2010 Christoph Maser <cmr@financial.com> - 0.04-1
- Updated to version 0.04.

* Thu Dec 31 2009 Christoph Maser <cmr@financial.com> - 0.001000-1
- Initial package (using mcsfb)