From 86e75f9521a78fe3e7e2a8577b9f0a9a9d597aa8 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 09:42:49 +0100 Subject: [PATCH] automatic rebuild by autodist [release 1.01-3mamba;Fri Aug 30 2013] --- README.md | 2 ++ perl-Test-Kwalitee.spec | 75 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 77 insertions(+) create mode 100644 perl-Test-Kwalitee.spec diff --git a/README.md b/README.md index 3861db2..2c3e4d4 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-Test-Kwalitee +An automated test for signs of quality in a Perl module distribtion. + diff --git a/perl-Test-Kwalitee.spec b/perl-Test-Kwalitee.spec new file mode 100644 index 0000000..e82ca98 --- /dev/null +++ b/perl-Test-Kwalitee.spec @@ -0,0 +1,75 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-Test-Kwalitee +Version: 1.01 +Release: 3mamba +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 +URL: http://www.cpan.org +Source: http://www.cpan.org/modules/by-module/Test/Test-Kwalitee-1.01.tar.gz +License: GPL, Artistic +## AUTOBUILDREQ-BEGIN +BuildRequires: libperl +BuildRequires: perl-Module-CPANTS-Analyse +BuildRequires: perl-Test-Simple +BuildRequires: perl-devel +## AUTOBUILDREQ-END +BuildRequires: perl-devel >= %perl_major_ver +BuildRequires: perl-Module-CPANTS-Analyse +BuildRequires: perl-Module-Signature +Requires: perl >= %perl_major_ver +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +An automated test for signs of quality in a Perl module distribtion. + +%prep +%setup -q -n Test-Kwalitee-%{version} + +%build +perl Build.PL installdirs=vendor +./Build +#./Build test + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +./Build install \ + destdir="%{buildroot}" \ + --install_path bindoc="%{_mandir}/man1" \ + --install_path libdoc="%{_mandir}/man3" + +packlist=`find %{buildroot} -name .packlist` +[ -z "$packlist" ] && exit 1 || cat $packlist | \ + sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \ + sort -u > .packlist && rm $packlist + +find %{buildroot}%{perl_vendorlib} \ + -type d -depth -exec rmdir {} 2>/dev/null \; + +strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'` +for dir in `find %{buildroot} -type d | grep $strid`; do + echo %dir ${dir#%buildroot} >> .packlist +done + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +rm -f .packlist + +%files -f .packlist +%defattr(-,root,root) + +%changelog +* Fri Aug 30 2013 Automatic Build System 1.01-3mamba +- automatic rebuild by autodist + +* Thu Nov 06 2008 Silvan Calarco 1.01-2mamba +- automatic rebuild by autodist + +* Mon Oct 20 2008 gil 1.01-1mamba +- update to 1.01 + +* Fri Nov 09 2007 Aleph0 0.30-1mamba +- package created by autospec