[meego-commits] 6718: Changes to Trunk:Testing/perl-SOAP-Lite

Wang Quanxian quanxian.wang at intel.com
Tue Aug 17 01:52:38 UTC 2010


Hi,
I have made the following changes to perl-SOAP-Lite in project Trunk:Testing. Please review and accept ASAP.

Thank You,
Wang Quanxian

[This message was auto-generated]

---

Request #6718:

  submit:   devel:languages:perl/perl-SOAP-Lite(r13) -> Trunk:Testing/perl-SOAP-Lite


Message:
    yaml enable and fix building issue

State:   new          2010-08-16T13:43:25 quanxianwang
Comment: None



changes files:
--------------
--- perl-SOAP-Lite.changes
+++ perl-SOAP-Lite.changes
@@ -0,0 +1,3 @@
+* Fri Aug 13 2010 Quanxian Wang <quanxian.wang at intel.com>  - 0.710.10
+- Yaml enable and Fix build issue (perl version)
+

new:
----
  perl-SOAP-Lite.yaml

spec files:
-----------
--- perl-SOAP-Lite.spec
+++ perl-SOAP-Lite.spec
@@ -1,14 +1,20 @@
+# 
+# Do not Edit! Generated by:
+# spectacle version 0.18
+# 
+# >> macros
+# << macros
+
 Name: 		perl-SOAP-Lite
+Summary:    Client and server side SOAP implementation
 Version:	0.710.10
 Release:	4
-Summary:	Client and server side SOAP implementation
-License:	GPL+ or Artistic
 Group:		Development/Libraries
+License:    GPL+ or Artistic
+BuildArch:  noarch
 URL: 		http://search.cpan.org/dist/SOAP-Lite/
 Source0:	http://search.cpan.org/CPAN/authors/id/M/MK/MKUTTER/SOAP-Lite-%{version}.tar.gz
-# Submitted upstream: http://rt.cpan.org/Public/Bug/Display.html?id=20569
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
+Source100:  perl-SOAP-Lite.yaml
 Requires:  	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 BuildRequires:	perl-XML-Parser
 BuildRequires:  perl(ExtUtils::MakeMaker)
@@ -16,51 +22,69 @@
 BuildRequires:  perl(Test::Pod)
 BuildRequires:  perl(Test::Pod::Coverage)
 BuildRequires:  perl(MIME::Parser)
-BuildArch: 	noarch
+BuildRequires:  perl-version
 
-%define bogusreqs 'perl(MQClient::MQSeries)\
-perl(MQSeries)\
-perl(MQSeries::Message)\
-perl(MQSeries::Queue)\
-perl(MQSeries::QueueManager)\
-perl(Net::Jabber)\
-perl(Net::FTP)\
-perl(Net::POP3)'
-%global reqfilt sh -c "%{__perl_requires} | %{__grep} -Fv %{bogusreqs}"
-%define __perl_requires %{reqfilt}
-
-%define bogusprovs 'perl(LWP::Protocol)'
-%global provfilt sh -c "%{__perl_provides} | %{__grep} -Fv %{bogusprovs}"
-%define __perl_provides %{provfilt}
 
 %description
 SOAP::Lite is a collection of Perl modules which provides a simple and
 lightweight interface to the Simple Object Access Protocol (SOAP) both on
 client and server side.
 
+
+
+
 %prep
 %setup -q -n SOAP-Lite-%{version}
 
+# >> setup
+# << setup
+
 %build
-%{__perl} Makefile.PL --noprompt INSTALLDIRS=vendor
-make %{?_smp_mflags}
-find examples -type f |xargs chmod ogu-x
+# >> build pre
+# << build pre
+
+if test -f Makefile.PL; then
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?jobs:-j%jobs}
+else
+%{__perl} Build.PL  --installdirs vendor
+./Build
+fi
 
+# >> build post
+find examples -type f |xargs chmod ogu-x
+# << build post
 %install
-rm -rf $RPM_BUILD_ROOT
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
-chmod -R u+w $RPM_BUILD_ROOT/*
+rm -rf %{buildroot}
+# >> install pre
+# << install pre
+if test -f Makefile.PL; then
+make pure_install PERL_INSTALL_ROOT=%{buildroot}
+else
+./Build install --installdirs vendor
+fi
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
+find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';'
+%{_fixperms} %{buildroot}/*
 
-%clean
-rm -rf $RPM_BUILD_ROOT
+# >> install post
+chmod -R u+w $RPM_BUILD_ROOT/*
 
+# << install post
 %check
+# >> check
 make test
+# << check
+
+
+
+
+
 
 %files
 %defattr(-,root,root,-)
+# >> files
 # For license text(s), see the perl package.
 %doc Changes README ReleaseNotes.txt examples
 %{_bindir}/*pl
@@ -72,4 +96,6 @@
 %{perl_vendorlib}/XMLRPC
 %doc %{_mandir}/man3/*
 %doc %{_mandir}/man1/*
+# << files
+
 

other changes:
--------------

++++++ perl-SOAP-Lite.yaml (new)
--- perl-SOAP-Lite.yaml
+++ perl-SOAP-Lite.yaml
+Name: perl-SOAP-Lite
+Summary: Client and server side SOAP implementation
+Version: 0.710.10
+Release: 4
+Group: Development/Libraries
+License: GPL+ or Artistic
+URL: http://search.cpan.org/dist/SOAP-Lite/
+Sources:
+    - http://search.cpan.org/CPAN/authors/id/M/MK/MKUTTER/SOAP-Lite-%{version}.tar.gz
+Description: |
+    SOAP::Lite is a collection of Perl modules which provides a simple and
+    lightweight interface to the Simple Object Access Protocol (SOAP) both on
+    client and server side.
+
+PkgBR:
+    - perl-XML-Parser
+    - perl(ExtUtils::MakeMaker)
+    - perl(Test::MockObject)
+    - perl(Test::Pod)
+    - perl(Test::Pod::Coverage)
+    - perl(MIME::Parser)
+    - perl-version
+Configure: none
+Builder: perl
+BuildArch: noarch
+Check: yes



More information about the MeeGo-commits mailing list