# vim: set sw=4 ts=4 et nu: # norootforbuild Name: perl-SOAP Version: 0.28 Release: 0 Summary: Perl Modules for SOAP Source: http://search.cpan.org/CPAN/authors/id/K/KB/KBROWN/SOAP-%{version}.tar.gz URL: http://search.cpan.org/dist/SOAP Group: Development/Libraries/Perl License: Perl License BuildRoot: %{_tmppath}/build-%{name}-%{version} Requires: perl = %{perl_version} BuildRequires: perl BuildRequires: perl(XML::Parser::Expat) BuildRequires: perl(LWP::UserAgent) Requires: perl(XML::Parser::Expat) Requires: perl(LWP::UserAgent) %description SOAP/Perl is a collection of Perl modules which provides a simple and consistent application programming interface (API) to the Simple Object Access Protocl (SOAP). %prep %setup -q -n "SOAP-%{version}" %__sed -i '/^auto_install/d' Makefile.PL %build %__perl Makefile.PL PREFIX="%{_prefix}" %__make %{?jobs:-j%{jobs}} %install %perl_make_install %perl_process_packlist %check yes | %__make test %clean %{?buildroot:%__rm -rf "%{buildroot}"} %files %defattr(-,root,root) %doc Changes README %{perl_vendorlib}/SOAP.pm %{perl_vendorlib}/SOAP %{perl_vendorarch}/auto/SOAP %doc %{perl_man3dir}/SOAP.%{perl_man3ext}%{ext_man} %doc %{perl_man3dir}/SOAP::*.%{perl_man3ext}%{ext_man}