2024-01-06 09:42:49 +01:00
|
|
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
|
|
|
|
|
|
|
Name: perl-Test-Kwalitee
|
2024-01-06 09:42:49 +01:00
|
|
|
Version: 1.28
|
|
|
|
Release: 1mamba
|
2024-01-06 09:42:49 +01:00
|
|
|
Summary: Test::Kwalitee - An automated test for signs of quality in a Perl module distribtion
|
|
|
|
Group: System/Libraries/Perl
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Aleph0 <aleph0@openmamba.org>
|
2024-01-06 09:42:49 +01:00
|
|
|
URL: https://www.cpan.org
|
|
|
|
Source: https://cpan.metacpan.org/modules/by-module/Test/Test-Kwalitee-%{version}.tar.gz
|
2024-01-06 09:42:49 +01:00
|
|
|
License: GPL, Artistic
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: libperl
|
|
|
|
BuildRequires: perl-Module-CPANTS-Analyse
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: perl-devel >= %perl_major_ver
|
|
|
|
BuildRequires: perl-Module-Signature
|
2024-01-06 09:42:49 +01:00
|
|
|
BuildRequires: perl-Test-Warnings
|
|
|
|
BuildRequires: perl-CPAN-Meta-Check
|
2024-01-06 09:42:49 +01:00
|
|
|
Requires: perl >= %perl_major_ver
|
|
|
|
|
|
|
|
%description
|
|
|
|
An automated test for signs of quality in a Perl module distribtion.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n Test-Kwalitee-%{version}
|
|
|
|
|
|
|
|
%build
|
2024-01-06 09:42:49 +01:00
|
|
|
%{__perl} Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
|
|
|
|
|
|
|
%make
|
|
|
|
%make test
|
2024-01-06 09:42:49 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-06 09:42:49 +01:00
|
|
|
%makeinstall_perl
|
2024-01-06 09:42:49 +01:00
|
|
|
|
|
|
|
packlist=`find %{buildroot} -name .packlist`
|
|
|
|
[ -z "$packlist" ] && exit 1 || cat $packlist | \
|
2024-01-06 09:42:49 +01:00
|
|
|
sed "s,%{buildroot},,g;s,.*/man/.*,&.gz,g" | \
|
|
|
|
sort -u > .packlist && rm -f $packlist
|
2024-01-06 09:42:49 +01:00
|
|
|
|
|
|
|
strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'`
|
|
|
|
for dir in `find %{buildroot} -type d | grep $strid`; do
|
2024-01-06 09:42:49 +01:00
|
|
|
echo "%dir ${dir#%buildroot}" >> .packlist
|
2024-01-06 09:42:49 +01:00
|
|
|
done
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
rm -f .packlist
|
|
|
|
|
|
|
|
%files -f .packlist
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 09:42:49 +01:00
|
|
|
* Sat Feb 27 2021 Automatic Build System <autodist@mambasoft.it> 1.28-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 09:42:49 +01:00
|
|
|
* Fri Aug 30 2013 Automatic Build System <autodist@mambasoft.it> 1.01-3mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Thu Nov 06 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.01-2mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Mon Oct 20 2008 gil <puntogil@libero.it> 1.01-1mamba
|
|
|
|
- update to 1.01
|
|
|
|
|
|
|
|
* Fri Nov 09 2007 Aleph0 <aleph0@openmamba.org> 0.30-1mamba
|
|
|
|
- package created by autospec
|