perl-SOAP-Lite-vl.spec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. Name: perl-SOAP-Lite
  2. Version: 0.69
  3. Release: 0vl1
  4. Summary: Client and server side SOAP implementation
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/SOAP-Lite/
  8. Source0: http://search.cpan.org/CPAN/authors/id/B/BY/BYRNE/SOAP/SOAP-Lite-%{version}.tar.gz
  9. Source1: filter-requires-SOAP-Lite.sh
  10. Patch0: SOAP-Lite-0.68-nil-value.patch
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. Requires: perl >= %(eval "`%{__perl} -V:version`"; echo $version)
  13. BuildRequires: perl-XML-Parser
  14. BuildRequires: perl(ExtUtils::MakeMaker)
  15. BuildArch: noarch
  16. #%define bogusreqs 'MQ\\|Jabber'
  17. #%define bogusreqs perl.Net..Jabber.
  18. #%global reqfilt sh -c '%{__perl_requires} | %{__grep} -Ev "%{bogusreqs}"'
  19. #%define __perl_requires %{reqfilt}
  20. #%define bogusreqs 'perl(MQClient::MQSeries)\
  21. #perl(MQSeries)\
  22. #perl(MQSeries::Message)\
  23. #perl(MQSeries::Queue)\
  24. #perl(MQSeries::QueueManager)\
  25. #perl(Net::Jabber)'
  26. #%global reqfilt sh -c "%{__perl_requires} | %{__grep} -Fv %{bogusreqs}"
  27. #define __perl_requires %{reqfilt}
  28. %define __find_requires %{SOURCE1}
  29. %description
  30. SOAP::Lite is a collection of Perl modules which provides a simple and
  31. lightweight interface to the Simple Object Access Protocol (SOAP) both on
  32. client and server side.
  33. %prep
  34. %setup -q -n SOAP-Lite-%{version}
  35. %patch0 -p1
  36. %build
  37. %{__perl} Makefile.PL --noprompt INSTALLDIRS=vendor
  38. make %{?_smp_mflags}
  39. %install
  40. rm -rf $RPM_BUILD_ROOT
  41. make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  42. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
  43. find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
  44. #Items not yet in Extras
  45. #find $RPM_BUILD_ROOT -type f -name JABBER* -exec rm -f {} ';'
  46. #find $RPM_BUILD_ROOT -type f -name MQ* -exec rm -f {} ';'
  47. chmod -R u+w $RPM_BUILD_ROOT/*
  48. %clean
  49. rm -rf $RPM_BUILD_ROOT
  50. %check
  51. make test
  52. %files
  53. %defattr(-,root,root,-)
  54. # For license text(s), see the perl package.
  55. %doc Changes README ReleaseNotes.txt
  56. %{_bindir}/*pl
  57. %{perl_vendorlib}/SOAP
  58. %{perl_vendorlib}/Apache
  59. %{perl_vendorlib}/IO
  60. %{perl_vendorlib}/UDDI
  61. %{perl_vendorlib}/OldDocs
  62. %{perl_vendorlib}/XML
  63. %{perl_vendorlib}/XMLRPC
  64. %{_mandir}/man3/*
  65. %{_mandir}/man1/*
  66. %changelog
  67. * Sat Nov 10 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.69-0vl1
  68. - initial build for Vine Linux
  69. - added filter-requires-SOAP-Lite.sh
  70. * Thu Oct 18 2007 Mike McGrath <mmcgrath@redhat.com> - 0.68-5
  71. - Fixed build requires
  72. * Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.68-4.1
  73. - correct license tag
  74. - add BR: perl(ExtUtils::MakeMaker)
  75. * Mon Mar 03 2007 Mike McGrath <mmcgrath@redhat.com> - 0.68-4
  76. - bogus reqs diff
  77. * Sat Jan 2 2007 Mike McGrath <imlinux@gmail.com> - 0.68-3
  78. - Changed the way this package removes bogus reqs for EL4
  79. * Sun Sep 10 2006 Mike McGrath <imlinux@gmail.com> - 0.68-1
  80. - Rebuild
  81. * Tue Jul 18 2006 Mike McGrath <imlinux@gmail.com> - 0.68-1
  82. - New upstream source
  83. - Patch provided for <value><nil/></value> issues
  84. * Mon Mar 20 2006 Mike McGrath <imlinux@gmail.com> - 0.67-2
  85. - Removed perl requirements that do not yet exist in Extras
  86. * Sat Mar 18 2006 Mike McGrath <imlinux@gmail.com> - 0.67-1
  87. - New Owner and new spec file
  88. * Wed Oct 26 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.60a-3
  89. - Fix build, doc permissions (#169821).
  90. * Wed Apr 06 2005 Hunter Matthews <thm@duke.edu> 0.60a-2
  91. - Review suggestions from José Pedro Oliveira
  92. * Fri Mar 18 2005 Hunter Matthews <thm@duke.edu> 0.60a-1
  93. - Initial packaging.