[Tizen-submit] 20348: New package Tizen:IVI:Genivi/perl-XML-Parser
noreply at tizen.org
noreply at tizen.org
Fri Jan 31 03:16:41 GMT 2014
Hi,
Adding new package perl-XML-Parser in project Tizen:IVI:Genivi. Please review and accept ASAP.
Justification for this new package:
Submitter: Graydon, Tracy <tracy.graydon at intel.com>
Comments: submit/tizen_ivi_genivi/20140131.031249
Git project: platform/upstream/perl-XML-Parser
Tag: submit/tizen_ivi_genivi/20140131.031249
Commit: a466ad372216f129768e25c4ef999c51a834f0cf resetting manifest requested domain to floor
Thank You,
Graydon, Tracy
[This message was auto-generated]
---
Request: #20348
submit: Tizen:IVI:Genivi:build/perl-XML-Parser(cleanup) -> Tizen:IVI:Genivi
Message:
Submitter: Graydon, Tracy <tracy.graydon at intel.com>
Comments: submit/tizen_ivi_genivi/20140131.031249
Git project: platform/upstream/perl-XML-Parser
Tag: submit/tizen_ivi_genivi/20140131.031249
Commit: a466ad372216f129768e25c4ef999c51a834f0cf resetting manifest requested domain to floor
State: new 2014-01-31T03:18:38 tizenrobot
Comment: <no comment>
changes files:
--------------
++++++ new changes file:
--- perl-XML-Parser.changes
+++ perl-XML-Parser.changes
@@ -0,0 +1,3 @@
+* Fri Mar 22 2013 Anas Nashif <anas.nashif at intel.com> upstream/2.41 at 4b8c3c0
+- Remove old perl macro
+
new:
----
0001-fix-perl-path.patch
XML-Parser-2.41.tar.gz
perl-XML-Parser.changes
perl-XML-Parser.manifest
perl-XML-Parser.spec
spec files:
-----------
++++++ new spec file:
--- perl-XML-Parser.spec
+++ perl-XML-Parser.spec
@@ -0,0 +1,67 @@
+Name: perl-XML-Parser
+VCS: platform/upstream/perl-XML-Parser#a466ad372216f129768e25c4ef999c51a834f0cf
+%define cpan_name XML-Parser
+Summary: A perl module for parsing XML documents
+Version: 2.41
+Release: 9
+License: GPL-1.0+ or Artistic-1.0
+Group: Development/Libraries/Perl
+AutoReqProv: on
+Url: http://www.cpan.org/modules/by-module/XML/
+Source: %{cpan_name}-%{version}.tar.gz
+Source1001: perl-XML-Parser.manifest
+# Patches auto-generated by git-buildpackage:
+Patch0: 0001-fix-perl-path.patch
+BuildRequires: perl
+BuildRequires: libexpat-devel
+
+%description
+This module provides ways to parse XML documents. It is built on top of
+ XML::Parser::Expat, which is a lower level interface to James Clark's expat
+ library. Each call to one of the parsing methods creates a new instance of
+ XML::Parser::Expat which is then used to parse the document. Expat options may
+ be provided when the XML::Parser object is created. These options are then
+ passed on to the Expat object on each parse call. They can also be given as
+ extra arguments to the parse methods, in which case they override options
+ given at XML::Parser creation time.
+
+The behavior of the parser is controlled either by "Style" and/or "Handlers"
+ options, or by "setHandlers" method. These all provide mechanisms for
+ XML::Parser to set the handlers needed by XML::Parser::Expat. If neither
+ Style nor Handlers are specified, then parsing just checks the document
+ for being well-formed.
+
+When underlying handlers get called, they receive as their first parameter
+ the Expat object, not the Parser object.
+
+You will find examples in
+/usr/share/doc/packages/perl-XML-Parser/samples. For documentation
+read the XML::Parser and XML::Parser::Expat man pages.
+
+
+%prep
+%setup -n XML-Parser-%{version} -q
+# 0001-fix-perl-path.patch
+%patch0 -p1
+cp %{SOURCE1001} .
+
+%build
+CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
+%{__make}
+
+%check
+%{__make} test
+
+%install
+%perl_make_install
+%perl_process_packlist
+%perl_gen_filelist
+
+%clean
Please refer to OBS webUI for more details about this SR.
More information about the Tizen-submit
mailing list