automatic version update by autodist [release 0.23-1mamba;Thu Apr 11 2013]
This commit is contained in:
parent
12a3a59fb5
commit
658d3bcec9
@ -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.
|
||||
|
||||
|
73
perl-Test-CPAN-Meta.spec
Normal file
73
perl-Test-CPAN-Meta.spec
Normal file
@ -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 <autodist@mambasoft.it>
|
||||
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 <autodist@mambasoft.it> 0.23-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Wed Sep 05 2012 Automatic Build System <autodist@mambasoft.it> 0.22-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue May 01 2012 Automatic Build System <autodist@mambasoft.it> 0.21-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Aug 07 2011 Automatic Build System <autodist@mambasoft.it> 0.18-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Fri Feb 18 2011 gil <puntogil@libero.it> 0.17-1mamba
|
||||
- package created by autospec
|
Loading…
Reference in New Issue
Block a user