From 658d3bcec9d7aa03c85c22ade1185c6b8d061faf Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 09:41:01 +0100 Subject: [PATCH] automatic version update by autodist [release 0.23-1mamba;Thu Apr 11 2013] --- README.md | 4 +++ perl-Test-CPAN-Meta.spec | 73 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 77 insertions(+) create mode 100644 perl-Test-CPAN-Meta.spec diff --git a/README.md b/README.md index 8f98d07..1509e91 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # perl-Test-CPAN-Meta +This module was written to ensure that a META.yml file, provided with a standard distribution uploaded to CPAN, +meets the specifications that are slowly being introduced to module uploads, via the use of package makers and +installers such as ExtUtils::MakeMaker, Module::Build and Module::Install. + diff --git a/perl-Test-CPAN-Meta.spec b/perl-Test-CPAN-Meta.spec new file mode 100644 index 0000000..7e757cb --- /dev/null +++ b/perl-Test-CPAN-Meta.spec @@ -0,0 +1,73 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-Test-CPAN-Meta +Version: 0.23 +Release: 1mamba +Summary: Test::CPAN::Meta - Validation of the META.yml file in a CPAN distribution. +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Automatic Build System +URL: http://www.cpan.org +Source: http://search.cpan.org/CPAN/authors/id/B/BA/BARBIE/Test-CPAN-Meta-%{version}.tar.gz + +License: GPL, Artistic +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Parse::CPAN::Meta) +BuildRequires: perl(Test::Builder) +BuildRequires: perl(Test::Builder::Tester) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) +BuildRequires: perl(Test::Pod::Coverage) +BuildRequires: perl-devel +Requires: perl >= %perl_major_ver +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +This module was written to ensure that a META.yml file, provided with a standard distribution uploaded to CPAN, +meets the specifications that are slowly being introduced to module uploads, via the use of package makers and +installers such as ExtUtils::MakeMaker, Module::Build and Module::Install. + +%prep +%setup -q -n Test-CPAN-Meta-%{version} + +iconv -f iso-8859-1 -t utf-8 LICENSE > LICENSE.tmp +mv -f LICENSE.tmp LICENSE + +%build +perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor +%make +%make test + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall_perl + +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' +chmod -R u+w %{buildroot}/* + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{perl_vendorlib}/ +%{_mandir}/man3/*.3pm.gz +%doc Changes LICENSE README examples/ + +%changelog +* Thu Apr 11 2013 Automatic Build System 0.23-1mamba +- automatic version update by autodist + +* Wed Sep 05 2012 Automatic Build System 0.22-1mamba +- automatic version update by autodist + +* Tue May 01 2012 Automatic Build System 0.21-1mamba +- automatic version update by autodist + +* Sun Aug 07 2011 Automatic Build System 0.18-1mamba +- automatic version update by autodist + +* Fri Feb 18 2011 gil 0.17-1mamba +- package created by autospec