perl-List-Cycle/perl-List-Cycle.spec

Name: perl-List-Cycle
Summary: Objects for cycling through a list of values
Version: 1.02
Release: 1
License: unknown
Group: Applications/CPAN
URL: http://search.cpan.org/dist/List-Cycle/
Description: List::Cycle gives you an iterator object for cycling through a series of values. The canonical use is for cycling through a list of colors for alternating bands of color on a report.

CentOS 7 x86_64

The build was succesful. The following RPMs were generated:

Build Status

CentOS 6 x86_64

The build was not successful.

Build Status

Contents

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

# $Id$
# Upstream: Andy Lester <andy@petdance.com>

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

Summary: Objects for cycling through a list of values
Name: perl-List-Cycle
Version: 1.02
Release: 1%{?dist}
License: unknown
Group: Applications/CPAN
URL: http://search.cpan.org/dist/List-Cycle/

Source: http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/List-Cycle-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch: noarch

BuildRequires: perl(Carp)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More)
Requires: perl(Carp)
Requires: perl(Test::More)

### remove autoreq Perl dependencies
%filter_from_requires /^perl.*/d
%filter_setup


%description
List::Cycle gives you an iterator object for cycling through a series of values. The canonical use is for cycling through a list of colors for alternating bands of color on a report.


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

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

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

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

%files
%defattr(-, root, root, 0755)
%doc Changes MANIFEST META.yml README
%doc %{_mandir}/man3/List::Cycle.3pm*
%dir %{perl_vendorlib}/
%{perl_vendorlib}/List/Cycle.pm
%exclude %{perl_vendorarch}/auto/List/Cycle/.packlist


%changelog
* Sun Jul 10 2016 Dries Verachtert <dries.verachtert@dries.eu> - 1.02-1
- Updated to release 1.02.

* Fri Oct 29 2010 Christoph Maser <cmaser.gmx.de> - 1.00-1
- initial package