perl-MooseX-POE/perl-MooseX-POE.spec

Name: perl-MooseX-POE
Summary: The Illicit Love Child of Moose and POE
Version: 0.215
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/MooseX-POE/
Description: The Illicit Love Child of Moose and POE.

CentOS 7 x86_64

The build was succesful. The following RPMs were generated:

Build Status

CentOS 6 x86_64

The build was succesful. The following RPMs were generated:

Build Status

Contents

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

# $Id$
# Authority: cmr
# Upstream: Chris Prather  C<< <chris$prather,org> >>

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

%define real_name MooseX-POE

Summary: The Illicit Love Child of Moose and POE
Name: perl-MooseX-POE
Version: 0.215
Release: 1%{?dist}
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/MooseX-POE/

Source: http://www.cpan.org/modules/by-module/MooseX/MooseX-POE-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker) 
BuildRequires: perl(Test::More) >= 0.42

%description
The Illicit Love Child of Moose and POE.

%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 MANIFEST META.yml
%doc %{_mandir}/man3/MooseX::POE.3pm*
%doc %{_mandir}/man3/MooseX::POE::Aliased.3pm*
%doc %{_mandir}/man3/MooseX::POE::Meta::Trait::Class.3pm*
#%doc %{_mandir}/man3/MooseX::POE::Meta::Trait::Constructor.3pm*
%doc %{_mandir}/man3/MooseX::POE::Meta::Trait::Instance.3pm*
%doc %{_mandir}/man3/MooseX::POE::Meta::Trait::Object.3pm*
%doc %{_mandir}/man3/MooseX::POE::Meta::Trait::SweetArgs.3pm*
%doc %{_mandir}/man3/MooseX::POE::Role.3pm*
%doc %{_mandir}/man3/MooseX::POE::SweetArgs.3pm*
%doc %{_mandir}/man3/MooseX::POE::Meta::Method::State.3pm*
%doc %{_mandir}/man3/MooseX::POE::Meta::Role.3pm*
%doc %{_mandir}/man3/MooseX::POE::Meta::Trait.3pm*
%dir %{perl_vendorlib}/MooseX/
%{perl_vendorlib}/MooseX/POE.pm
%{perl_vendorlib}/MooseX/POE/Aliased.pm
%{perl_vendorlib}/MooseX/POE/Meta/Role.pm
%{perl_vendorlib}/MooseX/POE/Meta/Trait/Class.pm
#%{perl_vendorlib}/MooseX/POE/Meta/Trait/Constructor.pm
%{perl_vendorlib}/MooseX/POE/Meta/Trait/Instance.pm
%{perl_vendorlib}/MooseX/POE/Meta/Trait/Object.pm
%{perl_vendorlib}/MooseX/POE/Meta/Trait/SweetArgs.pm
%{perl_vendorlib}/MooseX/POE/Role.pm
%{perl_vendorlib}/MooseX/POE/SweetArgs.pm
%{perl_vendorlib}/MooseX/POE/Meta/Method/State.pm
%{perl_vendorlib}/MooseX/POE/Meta/Trait.pm
   
%changelog
* Sat Jul 23 2016 Dries Verachtert <dries.verachtert@dries.eu> - 0.215-1
- Updated to release 0.215.

* Fri Sep 04 2009 Christoph Maser <cmr@financial.com> - 0.205-1
- Initial package. (using DAR)