perl-SOAP-Lite-vl.spec 3.7 KB

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