%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) Name: perl-Template-Toolkit Version: 3.101 Release: 2mamba Summary: A fast, powerful and easily extensible template processing system written in Perl Group: Development/Libraries/Perl Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://www.cpan.org Source: https://cpan.metacpan.org/modules/by-module/Template/Template-Toolkit-%{version}.tar.gz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libperl BuildRequires: perl-AppConfig BuildRequires: perl-Pod-POM BuildRequires: perl-Scalar-List-Utils BuildRequires: perl-devel ## AUTOBUILDREQ-END BuildRequires: perl >= 2:5.36.0 Requires: perl >= %perl_major_ver %description The Template Toolkit is a fast, powerful and easily extensible template processing system written in Perl with certain key elements coded in C for maximum speed. It is ideally suited (but not limited) to the creation of static and dynamic web content, and incorporates various modules and tools to simplify this process. The Toolkit is highly portable, with minimal dependencies or restrictions on how and where it can be used. It is robust, reliable, well documented and freely available as Open Source. %prep %setup -q -n Template-Toolkit-%{version} %build perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor TT_ACCEPT=y %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 find %{buildroot} -name *.so -exec chmod u+w {} \; %clean [[ "%{buildroot}" ]] && rm -rf %{buildroot} %files -f .packlist %defattr(-,root,root) %changelog * Sun Apr 16 2023 Sdk Build System 3.101-2mamba - rebuilt with perl 5.36.0 * Tue Aug 16 2022 Automatic Build System 3.101-1mamba - automatic version update by autodist * Wed Apr 27 2022 Automatic Build System 3.100-1mamba - automatic version update by autodist * Tue Dec 14 2021 Automatic Build System 3.010-1mamba - automatic version update by autodist * Wed Feb 24 2021 Automatic Build System 3.009-1mamba - automatic version update by autodist * Sat Oct 28 2017 Automatic Build System 2.27-1mamba - automatic update by autodist * Wed Nov 09 2016 Silvan Calarco 2.26-2mamba - rebuilt with perl 5.24 * Sun Oct 05 2014 Automatic Build System 2.26-1mamba - automatic update by autodist * Mon Jul 29 2013 Automatic Build System 2.25-1mamba - automatic update by autodist * Mon Nov 12 2012 Silvan Calarco 2.24-2mamba - perl 5.16 mass rebuild * Wed Aug 08 2012 Automatic Build System 2.24-1mamba - automatic version update by autodist * Sun Jan 22 2012 Automatic Build System 2.23-1mamba - automatic version update by autodist * Mon Jul 27 2009 Automatic Build System 2.22-1mamba - automatic update by autodist * Thu Jul 09 2009 Automatic Build System 2.21_02-1mamba - automatic update by autodist * Wed Nov 05 2008 Silvan Calarco 2.19-2mamba - automatic rebuild by autodist * Thu Nov 15 2007 Silvan Calarco 2.19-1mamba - update to 2.19 - removed GD and XML modules that are now in separate packages * Mon Oct 25 2004 Alessandro Ramazzina 2.14-1qilnx - package created by autospec (rebuilt after SRPM loss) * Wed Sep 03 2003 Silvan Calarco 2.10-1qilnx - First build