commit 31fc207fde07a2811913eb07dbf82f22a0d583c1 Author: Paul Howarth <paul@xxxxxxxxxxxx> Date: Mon Nov 28 00:36:57 2011 +0000 Initial import (perl-Class-Load-XS-0.03-1) This module provides an XS implementation for portions of Class::Load. See Class::Load for API details. .gitignore | 1 + perl-Class-Load-XS.spec | 75 +++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 77 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..d84e8fc 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Class-Load-XS-[0-9.]*.tar.gz diff --git a/perl-Class-Load-XS.spec b/perl-Class-Load-XS.spec new file mode 100644 index 0000000..9751cd5 --- /dev/null +++ b/perl-Class-Load-XS.spec @@ -0,0 +1,75 @@ +#TODO: BR: Test::Pod::No404s when available +#TODO: BR: Test::Pod::LinkCheck when available + +Name: perl-Class-Load-XS +Version: 0.03 +Release: 1%{?dist} +Summary: XS implementation of parts of Class::Load +Group: Development/Libraries +License: Artistic 2.0 +URL: http://search.cpan.org/dist/Class-Load-XS/ +Source0: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Class-Load-XS-%{version}.tar.gz +# =================================================================== +# Module build requirements +# =================================================================== +BuildRequires: perl(Module::Build) +# =================================================================== +# Module requirements +# =================================================================== +BuildRequires: perl(Class::Load) >= 0.11 +# =================================================================== +# Regular test suite requirements +# =================================================================== +BuildRequires: perl(Test::Fatal) +BuildRequires: perl(Test::More) +# =================================================================== +# Author/Release test requirements +# =================================================================== +BuildRequires: perl(Test::CPAN::Changes) +BuildRequires: perl(Test::EOL) +BuildRequires: perl(Test::NoTabs) +BuildRequires: perl(Test::Pod) +# =================================================================== +# Runtime requirements +# =================================================================== +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Class::Load) >= 0.11 + +%{?perl_default_filter} + +%description +This module provides an XS implementation for portions of Class::Load. +See Class::Load for API details. + +%prep +%setup -q -n Class-Load-XS-%{version} + +%build +perl Build.PL installdirs=vendor optimize="%{optflags}" +./Build + +%install +./Build install destdir=%{buildroot} create_packlist=0 +find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' +find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null +%{_fixperms} %{buildroot} + +%check +RELEASE_TESTING=1 ./Build test + +%files +%doc Changes LICENSE README +%{perl_vendorarch}/auto/Class/ +%{perl_vendorarch}/Class/ +%{_mandir}/man3/Class::Load::XS.3pm* + +%changelog +* Fri Nov 18 2011 Paul Howarth <paul@xxxxxxxxxxxx> - 0.03-1 +- Update to 0.03: + - Explicitly include Test::Fatal as a test prerequisite (CPAN RT#72493) + +* Wed Nov 16 2011 Paul Howarth <paul@xxxxxxxxxxxx> - 0.02-2 +- Sanitize spec for Fedora submission + +* Wed Nov 16 2011 Paul Howarth <paul@xxxxxxxxxxxx> - 0.02-1 +- Initial RPM version diff --git a/sources b/sources index e69de29..61c8497 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +970d8f6caecb9d911a73dc98e66ead63 Class-Load-XS-0.03.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel