From a9664fc17a106303c48f5fc973d1930f2ae47d49 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 09:19:55 +0100 Subject: [PATCH] automatic version update by autodist [release 0.87-1mamba;Thu Mar 21 2013] --- README.md | 2 + perl-Module-CPANTS-Analyse.spec | 90 +++++++++++++++++++++++++++++++++ 2 files changed, 92 insertions(+) create mode 100644 perl-Module-CPANTS-Analyse.spec diff --git a/README.md b/README.md index 305cbfa..8827b3c 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-Module-CPANTS-Analyse +Module::CPANTS::Anaylse - tests a dist for Kwalitee. + diff --git a/perl-Module-CPANTS-Analyse.spec b/perl-Module-CPANTS-Analyse.spec new file mode 100644 index 0000000..cf1240e --- /dev/null +++ b/perl-Module-CPANTS-Analyse.spec @@ -0,0 +1,90 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-Module-CPANTS-Analyse +Version: 0.87 +Release: 1mamba +Summary: Module::CPANTS::Analyse - tests a dist for Kwalitee +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Aleph0 +URL: http://www.cpan.org +Source: http://www.cpan.org/modules/by-module/Module/Module-CPANTS-Analyse-%{version}.tar.gz +License: GPL, Artistic License +## AUTOBUILDREQ-BEGIN +BuildRequires: perl-Archive-Any +BuildRequires: perl-Array-Diff +BuildRequires: perl-CPAN-DistnameInfo +BuildRequires: perl-devel +BuildRequires: perl-File-Find-Rule +BuildRequires: perl-File-Slurp +BuildRequires: perl-IO-Capture +BuildRequires: perl-libwww +BuildRequires: perl-List-MoreUtils +BuildRequires: perl-Module-ExtractUse +BuildRequires: perl-Pod-Simple +BuildRequires: perl-Readonly +BuildRequires: perl-Software-License +BuildRequires: perl-Test-YAML-Meta +BuildRequires: perl-Text-CSV_XS +BuildRequires: perl-version +BuildRequires: perl-YAML-Syck +## AUTOBUILDREQ-END +BuildRequires: perl-devel >= %perl_major_ver +BuildRequires: perl-Archive-Tar +BuildRequires: perl-Class-Accessor +BuildRequires: perl-File-chdir +BuildRequires: perl-YAML +BuildRequires: perl-Set-Scalar +Requires: perl >= %perl_major_ver +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Module::CPANTS::Anaylse - tests a dist for Kwalitee. + +%prep +%setup -q -n Module-CPANTS-Analyse-%{version} + +%build +perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor +%make +%make test + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall_perl +packlist=`find %{buildroot} -name .packlist` +[ -z "$packlist" ] && exit 1 || cat $packlist | \ + sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \ + sort -u > .packlist && rm $packlist + +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 +* Thu Mar 21 2013 Automatic Build System 0.87-1mamba +- automatic version update by autodist + +* Sun Jul 12 2009 Automatic Build System 0.85-1mamba +- automatic update by autodist + +* Thu Jun 18 2009 Automatic Build System 0.83-1mamba +- automatic update by autodist + +* Thu Nov 06 2008 Silvan Calarco 0.82-2mamba +- automatic rebuild by autodist + +* Mon Oct 20 2008 gil 0.82-1mamba +- update to 0.82 + +* Fri Nov 09 2007 Aleph0 0.73-1mamba +- package created by autospec