%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) Name: perl-Pod-POM Version: 2.01 Release: 1mamba Summary: Pod-POM module for Perl Group: Development/Libraries/Perl Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://www.cpan.org/ Source: https://cpan.metacpan.org/authors/id/N/NE/NEILB/Pod-POM-%{version}.tar.gz License: GPL Requires: perl >= %perl_major_ver ## AUTOBUILDREQ-BEGIN BuildRequires: libperl BuildRequires: perl-devel ## AUTOBUILDREQ-END BuildRequires: perl-File-Slurper %description Pod-POM module for Perl. %prep %setup -q -n Pod-POM-%{version} %build perl Makefile.PL %make %ifnarch arm %make test %endif %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %make pure_install DESTDIR=%{buildroot} packlist=`find %{buildroot} -name .packlist` [[ -z "$packlist" ]] && exit 1 || cat $packlist | \ sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \ sort -u > .packlist && rm -f $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}" %files -f .packlist %defattr(-,root,root) %changelog * Sat Aug 20 2022 Silvan Calarco 2.01-1mamba - update to 2.01 * Sun Jul 01 2012 Silvan Calarco 0.17-5mamba - specfile and maintainer updated * Wed Nov 05 2008 Silvan Calarco 0.17-4mamba - automatic rebuild by autodist * Wed Jun 25 2008 Tiziana Ferro 0.17-3mamba - update make macros in specfile - update Vendor, Distribution, mantainer * Tue Feb 01 2005 Silvan Calarco 0.17-2qilnx - rebuilt to fix a dependency problem with apt * Mon Oct 25 2004 Alessandro Ramazzina 0.17-1qilnx - package created by autospec (rebuilt after SRPM loss) * Wed Sep 03 2003 Silvan Calarco 0.15-1qilnx - First build