%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) Name: perl-SOAP-Lite Version: 1.12 Release: 1mamba Summary: SOAP::Lite - Client and server side SOAP implementation Group: System/Libraries/Perl Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.cpan.org Source: http://search.cpan.org/CPAN/authors/id/P/PH/PHRED/SOAP-Lite-%{version}.tar.gz License: GPL, Artistic ## AUTOBUILDREQ-BEGIN BuildRequires: perl-Class-Inspector BuildRequires: perl-devel BuildRequires: perl-MIME-Lite BuildRequires: perl-SOAP-Transport-TCP BuildRequires: perl-URI ## AUTOBUILDREQ-END BuildRequires: perl-devel >= %perl_major_ver Requires: perl >= %perl_major_ver Provides: perl-SOAP-Transport-TCP Obsoletes: perl-SOAP-Transport-TCP BuildRoot: %{_tmppath}/%{name}-%{version}-root %description SOAP::Lite - Client and server side SOAP implementation. %prep %setup -q -n SOAP-Lite-%{version} %define _use_internal_dependency_generator 0 %define __find_provides %{_builddir}/SOAP-Lite-%{version}/find_provides.sh %define __find_requires %{_libdir}/rpm/find-requires cat > find_provides.sh << _EOF #! /bin/sh %{_prefix}/lib/rpm/find-provides %{buildroot} %{_target_cpu} | grep -v LWP::Protocol _EOF chmod +x find_provides.sh %build perl Makefile.PL \ --no-install-SOAP-Transport-MQ \ --noprompt \ 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 * Sat Dec 06 2014 Automatic Build System 1.12-1mamba - automatic update by autodist * Sun May 25 2014 Automatic Build System 1.11-1mamba - automatic update by autodist * Sun Dec 15 2013 Automatic Build System 1.08-1mamba - automatic update by autodist * Sat Aug 31 2013 Silvan Calarco 1.06-2mamba - obsolete perl-SOAP-Transport-TCP * Wed Aug 28 2013 Automatic Build System 1.06-1mamba - automatic update by autodist * Tue Aug 13 2013 Automatic Build System 1.04-1mamba - automatic update by autodist * Mon Jul 01 2013 Silvan Calarco 0.716-1mamba - update to 0.716 * Fri Aug 10 2012 Automatic Build System 0.715-1mamba - automatic version update by autodist * Sun Apr 15 2012 Automatic Build System 0.714-1mamba - automatic version update by autodist * Wed Mar 30 2011 Automatic Build System 0.712-1mamba - automatic update by autodist * Tue Jun 01 2010 Automatic Build System 0.711-1mamba - automatic update by autodist * Mon Jan 05 2009 Silvan Calarco 0.710.08-2mamba - don't provide perl(LWP::Protocol) to avoid a conflict with perl-www * Sat Jan 03 2009 Silvan Calarco 0.710.08-1mamba - package created by autospec