%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) Name: perl-CGI-XMLApplication Version: 1.1.5 Release: 1mamba Summary: CGI::XMLApplication -- Object Oriented Interface for CGI Script Applications Group: System/Libraries/Perl Vendor: openmamba Distribution: openmamba Packager: Automatic Build System URL: http://www.cpan.org Source: http://search.cpan.org/CPAN/authors/id/P/PH/PHISH/CGI-XMLApplication-%{version}.tar.gz License: Artistic, GPL Requires: perl >= %perl_major_ver BuildRequires: perl-XML-LibXML BuildRequires: perl-XML-LibXSLT ## AUTOBUILDREQ-BEGIN BuildRequires: perl-devel >= %perl_major_ver ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root %description CGI::XMLApplication is a CGI application class, that intends to enable perl artists to implement CGIs that make use of XML/XSLT functionality, without taking too much care about specialized errorchecking or even care too much about XML itself. It provides the power of the XML::LibXML/ XML::LibXSLT module package for content deliverment. As well CGI::XMLApplication is designed to support project management on code level. The class allows to split web applications into several simple parts. Through this most of the code stays simple and easy to maintain. Throughout the whole runtime of a script CGI::XMLApplication tries to keep the application stable. As well a programmer has not to bother about some of XML::LibXML/ XML::LibXSLT transformation pitfalls. %prep %setup -q -n CGI-XMLApplication-%{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 * Fri Feb 05 2016 Automatic Build System 1.1.5-1mamba - automatic update by autodist * Sun Jun 14 2015 Automatic Build System 1.1.4-1mamba - automatic update by autodist * Tue Nov 13 2012 Silvan Calarco 1.1.3-3mamba - perl 5.16 mass rebuild * Mon Nov 03 2008 Silvan Calarco 1.1.3-2mamba - automatic rebuild by autodist * Wed Jul 16 2008 gil 1.1.3-1mamba - package created by autospec