perl-Module-CoreList/perl-Module-CoreList.spec

Name: perl-Module-CoreList
Summary: Get the list of modules shipped with versions of perl
Version: 2.44
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Module-CoreList/
Description: This module gets the list of modules shipped with versions of perl.

CentOS 7 x86_64

The build could not start because the following file is missing: Module-CoreList-2.44.tar.gz

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: Module-CoreList-2.44.tar.gz

Build Status

Contents

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

# $Id$
# Authority: dries
# Upstream: Rafaƫl Garcia-Suarez <rgarciasuarez$gmail,com>

### EL6 ships with perl-Module-CoreList-2.18-115.el6
%{?el6:# Tag: rfx}

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

%define real_name Module-CoreList

Summary: Get the list of modules shipped with versions of perl
Name: perl-Module-CoreList
Version: 2.44
Release: 1%{?dist}
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Module-CoreList/

Source: http://search.cpan.org/CPAN/authors/id/R/RG/RGARCIA/Module-CoreList-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More)
Requires: perl(Test::More)

%filter_from_requires /^perl*/d
%filter_setup

%description
This module gets the list of modules shipped with versions of perl.

%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 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}/man1/corelist.1*
%doc %{_mandir}/man3/Module::CoreList.3pm*
%{_bindir}/corelist
%dir %{perl_vendorlib}/Module/
#%{perl_vendorlib}/Module/CoreList/
%{perl_vendorlib}/Module/CoreList.pm

%changelog
* Sat Feb 05 2011 Denis Fateyev <denis@fateyev.com> - 2.44-1
- Updated to version 2.44.

* Wed Feb  3 2010 Christoph Maser <cmr@financial.com> - 2.25-1
- Updated to version 2.25.

* Tue Dec 22 2009 Christoph Maser <cmr@financial.com> - 2.24-1
- Updated to version 2.24.

* Fri Dec 11 2009 Christoph Maser <cmr@financial.com> - 2.23-1
- Updated to version 2.23.

* Tue Sep  8 2009 Christoph Maser <cmr@financial.com> - 2.18-1
- Updated to version 2.18.

* Sat Jul  4 2009 Christoph Maser <cmr@financial.com> - 2.17-1
- Updated to version 2.17.

* Wed May 14 2008 Dag Wieers <dag@wieers.com> - 2.15-1
- Updated to release 2.15.

* Thu Dec 27 2007 Dag Wieers <dag@wieers.com> - 2.13-1
- Updated to release 2.13.

* Wed Nov 14 2007 Dag Wieers <dag@wieers.com> - 2.12-1
- Updated to release 2.12.

* Mon Jun 18 2007 Dries Verachtert <dries@ulyssis.org> - 2.11-1
- Updated to release 2.11.

* Tue Nov 14 2006 Dries Verachtert <dries@ulyssis.org> - 2.09-1
- Updated to release 2.09.

* Mon Sep 18 2006 Dries Verachtert <dries@ulyssis.org> - 2.08-1
- Updated to release 2.08.

* Sun Mar 26 2006 Dries Verachtert <dries@ulyssis.org> - 2.04-1
- Updated to release 2.04.

* Wed Jun  8 2005 Dries Verachtert <dries@ulyssis.org> - 2.02-1
- Updated to release 2.02.

* Wed Jan 05 2005 Dries Verachtert <dries@ulyssis.org> - 1.98-1
- Updated to release 1.98.

* Wed Dec 29 2004 Dries Verachtert <dries@ulyssis.org> - 1.97-1
- Updated to release 1.97.

* Thu Jul 22 2004 Dries Verachtert <dries@ulyssis.org> - 1.95-1
- Initial package.