Sync from SUSE:SLFO:Main perl-XML-XPathEngine revision afca54b96bd4eca7b755e9187398b452
This commit is contained in:
commit
ebb97ad57e
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
BIN
XML-XPathEngine-0.14.tar.gz
(Stored with Git LFS)
Normal file
BIN
XML-XPathEngine-0.14.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
25
perl-XML-XPathEngine.changes
Normal file
25
perl-XML-XPathEngine.changes
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 4 17:14:43 UTC 2013 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 0.14
|
||||||
|
fixed POD error
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 18 12:50:34 UTC 2011 - coolo@suse.com
|
||||||
|
|
||||||
|
- update to 0.13
|
||||||
|
error, with (hopefully!) proper error message when trying to
|
||||||
|
follow XML axes from a litteral, see
|
||||||
|
http://stackoverflow.com/questions/7761509/xpath-expression-to-access-parent-or-sibling-using-htmltreebuilderxpath-modul
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 30 19:21:01 UTC 2010 - coolo@novell.com
|
||||||
|
|
||||||
|
- switch to perl_requires macro
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 4 12:56:04 UTC 2010 - chris@computersalat.de
|
||||||
|
|
||||||
|
- initial package 0.12
|
||||||
|
* created by cpanspec 1.78
|
||||||
|
|
91
perl-XML-XPathEngine.spec
Normal file
91
perl-XML-XPathEngine.spec
Normal file
@ -0,0 +1,91 @@
|
|||||||
|
#
|
||||||
|
# spec file for package perl-XML-XPathEngine
|
||||||
|
#
|
||||||
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: perl-XML-XPathEngine
|
||||||
|
Version: 0.14
|
||||||
|
Release: 0
|
||||||
|
%define cpan_name XML-XPathEngine
|
||||||
|
Summary: Re-usable XPath engine for DOM-like trees
|
||||||
|
License: GPL-1.0+ or Artistic-1.0
|
||||||
|
Group: Development/Libraries/Perl
|
||||||
|
Url: http://search.cpan.org/dist/XML-XPathEngine/
|
||||||
|
Source: http://www.cpan.org/authors/id/M/MI/MIROD/%{cpan_name}-%{version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: perl
|
||||||
|
BuildRequires: perl-macros
|
||||||
|
#BuildRequires: perl(attribute)
|
||||||
|
#BuildRequires: perl(minidom::node)
|
||||||
|
#BuildRequires: perl(minitree)
|
||||||
|
#BuildRequires: perl(XML::XPathEngine)
|
||||||
|
#BuildRequires: perl(XML::XPathEngine::Boolean)
|
||||||
|
#BuildRequires: perl(XML::XPathEngine::Expr)
|
||||||
|
#BuildRequires: perl(XML::XPathEngine::Function)
|
||||||
|
#BuildRequires: perl(XML::XPathEngine::Literal)
|
||||||
|
#BuildRequires: perl(XML::XPathEngine::LocationPath)
|
||||||
|
#BuildRequires: perl(XML::XPathEngine::NodeSet)
|
||||||
|
#BuildRequires: perl(XML::XPathEngine::Number)
|
||||||
|
#BuildRequires: perl(XML::XPathEngine::Root)
|
||||||
|
#BuildRequires: perl(XML::XPathEngine::Step)
|
||||||
|
#BuildRequires: perl(XML::XPathEngine::Variable)
|
||||||
|
%{perl_requires}
|
||||||
|
|
||||||
|
%description
|
||||||
|
This module provides an XPath engine, that can be re-used by other
|
||||||
|
module/classes that implement trees.
|
||||||
|
|
||||||
|
In order to use the XPath engine, nodes in the user module need to mimick
|
||||||
|
DOM nodes. The degree of similitude between the user tree and a DOM
|
||||||
|
dictates how much of the XPath features can be used. A module implementing
|
||||||
|
all of the DOM should be able to use this module very easily (you might
|
||||||
|
need to add the cmp method on nodes in order to get ordered result sets).
|
||||||
|
|
||||||
|
This code is a more or less direct copy of the the XML::XPath manpage
|
||||||
|
module by Matt Sergeant. I only removed the XML processing part to remove
|
||||||
|
the dependency on XML::Parser, applied a couple of patches, renamed a whole
|
||||||
|
lot of methods to make Pod::Coverage happy, and changed the docs.
|
||||||
|
|
||||||
|
The article eXtending XML XPath,
|
||||||
|
http://www.xmltwig.com/article/extending_xml_xpath/ should give authors who
|
||||||
|
want to use this module enough background to do so.
|
||||||
|
|
||||||
|
Otherwise, my email is below ;--)
|
||||||
|
|
||||||
|
*WARNING*: while the underlying code is rather solid, this module mostly
|
||||||
|
lacks docs. As they say, "patches welcome"...
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
|
%{__make} %{?_smp_mflags}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%{__make} test
|
||||||
|
|
||||||
|
%install
|
||||||
|
%perl_make_install
|
||||||
|
%perl_process_packlist
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
|
%files -f %{name}.files
|
||||||
|
%defattr(-,root,root,755)
|
||||||
|
%doc Changes README
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user