%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) Name: perl-libxml Version: 0.08 Release: 6mamba Summary: libxml-perl - A collection of Perl modules, scripts, and documents for working with XML in Perl Group: System/Libraries/Perl Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://www.cpan.org/ Source: http://search.cpan.org/CPAN/authors/id/K/KM/KMACLEOD/libxml-perl-%{version}.tar.gz License: Artistic, GPL ## AUTOBUILDREQ-BEGIN BuildRequires: libperl BuildRequires: perl-XML-Parser BuildRequires: perl-devel ## AUTOBUILDREQ-END Requires: perl >= %perl_major_ver %description libxml-perl is a collection of Perl modules, scripts, and documents for working with XML in Perl. libxml-perl software works in combination with XML::Parser, PerlSAX, XML::DOM, XML::Grove, and others. %prep %setup -q -n libxml-perl-%{version} %build perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor %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 28 2024 Automatic Build System 0.08-6mamba - automatic rebuild by autodist * Tue Nov 13 2012 Silvan Calarco 0.08-5mamba - perl 5.16 mass rebuild * Wed Nov 05 2008 Silvan Calarco 0.08-4mamba - automatic rebuild by autodist * Tue Oct 14 2008 Silvan Calarco 0.08-3mamba - rebuilt * Tue Jul 25 2006 Stefano Cotta Ramusino 0.08-2qilnx - specfile fixed and updated * Tue Oct 26 2004 Alessandro Ramazzina 0.08-1qilnx - package created by autospec