%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) Name: perl-YAML Version: 1.30 Release: 2mamba Summary: perl :: YAML - YAML Stands For: YAML Ain't Markup Language Group: Development/Libraries/Perl Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://www.cpan.org/ Source: http://www.cpan.org/modules/by-module/YAML/YAML-%{version}.tar.gz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: libperl BuildRequires: perl-Scalar-List-Utils BuildRequires: perl-devel ## AUTOBUILDREQ-END BuildRequires: perl >= 2:5.36.0 BuildRequires: perl-Test-YAML BuildRequires: perl-devel >= %perl_major_ver Requires: perl >= %perl_major_ver BuildArch: noarch %description YAML Stands For: YAML Ain't Markup Language. %prep %setup -q -n YAML-%{version} %build perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor << EOF EOF %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 * Sun Apr 16 2023 Sdk Build System 1.30-2mamba - rebuilt with perl 5.36.0 * Sun Dec 06 2020 Silvan Calarco 1.30-1mamba - update to 1.30 * Sun Aug 10 2014 Automatic Build System 1.01-1mamba - automatic update by autodist * Wed Jul 23 2014 Automatic Build System 0.97-1mamba - automatic update by autodist * Sat Jul 12 2014 Automatic Build System 0.95-1mamba - automatic update by autodist * Fri May 30 2014 Automatic Build System 0.92-1mamba - automatic update by autodist * Sat May 24 2014 Automatic Build System 0.90-1mamba - automatic update by autodist * Mon Nov 25 2013 Automatic Build System 0.85-1mamba - automatic update by autodist * Sun Nov 11 2012 Silvan Calarco 0.84-2mamba - perl 5.16 mass rebuild * Sat Aug 11 2012 Automatic Build System 0.84-1mamba - automatic version update by autodist * Wed Apr 25 2012 Automatic Build System 0.81-1mamba - automatic version update by autodist * Sun May 22 2011 Automatic Build System 0.73-1mamba - automatic update by autodist * Fri Mar 18 2011 Automatic Build System 0.72-1mamba - automatic update by autodist * Thu Aug 27 2009 Automatic Build System 0.70-1mamba - automatic update by autodist * Sat Jan 03 2009 Silvan Calarco 0.68-1mamba - automatic update by autodist * Thu Nov 06 2008 Silvan Calarco 0.66-2mamba - automatic rebuild by autodist * Mon Nov 12 2007 Aleph0 0.66-1mamba - update to 0.66 * Thu Sep 20 2007 Aleph0 0.39-1mamba - update to 0.39 * Sun Jul 18 2004 Silvan Calarco 0.35-1qilnx - first build