perl-Test-Refcount/perl-Test-Refcount.spec

Name: perl-Test-Refcount
Summary: assert reference counts on objects
Version: 0.06
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Test-Refcount/
Description: assert reference counts on objects.

CentOS 7 x86_64

The build could not start because the following file is missing: Test-Refcount-0.06.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: Paul Evans E<lt>leonerd$leonerd,org,ukE<gt>

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

%define real_name Test-Refcount

Summary: assert reference counts on objects
Name: perl-Test-Refcount
Version: 0.06
Release: 1%{?dist}
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Test-Refcount/

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

BuildArch: noarch
BuildRequires: perl(Devel::Refcount)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Test::Builder)
BuildRequires: perl(Test::Builder::Tester)
BuildRequires: perl(Test::More)
Requires: perl(Devel::Refcount)
Requires: perl(Scalar::Util)
Requires: perl(Test::Builder)

%filter_from_requires /^perl*/d
%filter_setup

%description
assert reference counts on objects.

%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 MANIFEST META.yml
%doc %{_mandir}/man3/Test::Refcount.3pm*
%dir %{perl_vendorlib}/Test/
#%{perl_vendorlib}/Test/Refcount/
%{perl_vendorlib}/Test/Refcount.pm

%changelog
* Wed Dec  9 2009 Christoph Maser <cmr@financial.com> - 0.06-1
- Updated to version 0.06.

* Tue Jul 21 2009 Christoph Maser <cmr@financial.com> - 0.05-1
- Updated to version 0.05.

* Sun Jul 19 2009 Dag Wieers <dag@wieers.com> - 0.04-1
- Initial package. (using DAR)