perl-Class-C3-Componentised/perl-Class-C3-Componentised.spec

Name: perl-Class-C3-Componentised
Summary: Perl module named Class-C3-Componentised
Version: 1.0006
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Class-C3-Componentised/
Description: perl-Class-C3-Componentised is a Perl module.

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$
# Authority: dag
# Upstream: Ash Berlin <ash$cpan,org>

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

%define real_name Class-C3-Componentised

Summary: Perl module named Class-C3-Componentised
Name: perl-Class-C3-Componentised
Version: 1.0006
Release: 1%{?dist}
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Class-C3-Componentised/

Source: http://search.cpan.org/CPAN/authors/id/A/AS/ASH/Class-C3-Componentised-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildArch: noarch
BuildRequires: perl(Carp)
BuildRequires: perl(Class::C3) >= 0.20
BuildRequires: perl(Class::Inspector)
#BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(FindBin)
BuildRequires: perl(MRO::Compat)
BuildRequires: perl(Test::Exception)
Requires: perl(Carp)
Requires: perl(Class::C3) >= 0.20
Requires: perl(Class::Inspector)
Requires: perl(MRO::Compat)
Requires: perl(Test::Exception)

%filter_from_requires /^perl*/d
%filter_setup


%description
perl-Class-C3-Componentised is a Perl module.

%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 README
%doc %{_mandir}/man3/Class::C3::Componentised.3pm*
%dir %{perl_vendorlib}/Class/
%dir %{perl_vendorlib}/Class/C3/
#%{perl_vendorlib}/Class/C3/Componentised/
%{perl_vendorlib}/Class/C3/Componentised.pm

%changelog
* Thu Dec 31 2009 Christoph Maser <cmr@financial.com> - 1.0006-1
- Updated to version 1.0006.

* Fri Apr 24 2009 Christoph Maser <cmr@financial.com> - 1.0005-1
- Updated to release 1.0005.

* Tue Mar 11 2008 Dag Wieers <dag@wieers.com> - 1.0003-1
- Updated to release 1.0003.

* Sun Dec 30 2007 Dag Wieers <dag@wieers.com> - 1.0001-1
- Initial package. (using DAR)