perl-SUPER/perl-SUPER.spec

Name: perl-SUPER
Summary: Control superclass method dispatch
Version: 1.17
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/SUPER/
Description: Control superclass method dispatch.

CentOS 7 x86_64

The build could not start because the following file is missing: SUPER-1.17.tar.gz

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: Created by Simon Cozens, C<simon$cpan,org>,

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

%define real_name SUPER

Summary: Control superclass method dispatch
Name: perl-SUPER
Version: 1.17
Release: 1%{?dist}
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/SUPER/

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

BuildArch: noarch
#BuildRequires: perl(Test::Simple) >= 0.61
BuildRequires: perl(Module::Build)
# From yaml requires
#BuildRequires: perl(Scalar::Util) >= 1.20
BuildRequires: perl(Sub::Identify) >= 0.03
BuildRequires: perl >= v5.6.2


%description
Control superclass method dispatch.

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

%build
%{__perl} Build.PL --installdirs vendor --destdir %{buildroot}
./Build

%install
%{__rm} -rf %{buildroot}
./Build 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 README
%doc %{_mandir}/man3/SUPER.3pm*
%{perl_vendorlib}/SUPER.pm

%changelog
* Mon Sep  7 2009 Christoph Maser <cmr@financial.com> - 1.17-1
- Updated to version 1.17.

* Sun Aug 02 2009 Christoph Maser <cmr@financial.com> - 1.16-2
- Comment out BuildRequires so build on el4 works.

* Fri May 04 2007 Dag Wieers <dag@wieers.com> - 1.16-1
- Initial package. (using DAR)