2007-01-15 23:32:12 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-XML-LibXML (Version 1.62001)
|
|
|
|
#
|
2007-06-03 20:00:10 +00:00
|
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:32:12 +00:00
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
Name: perl-XML-LibXML
|
2007-06-03 20:00:10 +00:00
|
|
|
BuildRequires: libxml2-devel
|
2007-01-15 23:32:12 +00:00
|
|
|
Version: 1.62001
|
2007-06-03 20:00:10 +00:00
|
|
|
Release: 34
|
2007-01-15 23:32:12 +00:00
|
|
|
%define real_version 1.62
|
|
|
|
Requires: perl = %{perl_version} perl-XML-LibXML-Common perl-XML-SAX
|
|
|
|
Autoreqprov: on
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
License: Artistic License
|
|
|
|
URL: http://www.cpan.org/modules/by-module/XML/
|
|
|
|
Summary: XML::LibXML Perl Module
|
|
|
|
Source: XML-LibXML-%{version}.tar.bz2
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
This module implements a Perl interface to the GNOME libxml2 library.
|
|
|
|
The libxml2 library provides interfaces for parsing and manipulating
|
|
|
|
XML files. This module allows Perl programmers to make use of the
|
|
|
|
highly capable validating XML parser and the high performance DOM
|
|
|
|
implementation.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
#%setup -q -n XML-LibXML-%{version}
|
|
|
|
%setup -q -n XML-LibXML-%{real_version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL
|
|
|
|
make
|
|
|
|
#make test
|
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc Changes LICENSE README
|
|
|
|
%doc %{_mandir}/man3/*
|
|
|
|
%{perl_vendorarch}/XML
|
|
|
|
%{perl_vendorarch}/auto/XML
|
|
|
|
/var/adm/perl-modules/%{name}
|
|
|
|
|
2007-06-03 20:00:10 +00:00
|
|
|
%changelog
|
|
|
|
* Fri Jun 01 2007 - coolo@suse.de
|
|
|
|
- remove libxml2-test from buildrequires
|
2007-01-15 23:32:12 +00:00
|
|
|
* Wed Dec 13 2006 - anicka@suse.cz
|
|
|
|
- update to 1.62001
|
|
|
|
* interface to libxml2's pull-parser XML::LibXML::Reader
|
|
|
|
* make error messages intended to the user report the line of the
|
|
|
|
application call rather than that of the internal XS call
|
|
|
|
* XML::LibXML::Attr->serializeContent added
|
|
|
|
* fix getAttributeNode etc. w.r.t.
|
|
|
|
* warn if runtime libxml2 is older than the one used at the
|
|
|
|
compile time
|
|
|
|
* if compiled against libxml2 >= 2.6.27, new parse_html_*
|
|
|
|
implementation is used allowing encoding and other options
|
|
|
|
to be passed to the parser
|
|
|
|
* DOM-compliant nodeNames: #comment, #text, #cdata, #document,
|
|
|
|
[#]document-fragment
|
|
|
|
* toString on empty text node returns empty string, not undef
|
|
|
|
* cloneNode copies attributes on an element as required
|
|
|
|
by the DOM spec
|
|
|
|
* Mon Sep 25 2006 - anicka@suse.cz
|
|
|
|
- update to 1.61
|
|
|
|
* get{Elements,Children}By{TagName,TagNameNS,LocalName} now
|
|
|
|
obey wildcards '*', getChildrenByLocalName was added.
|
|
|
|
* XML::LibXML::XPathContext merged in
|
|
|
|
* many new tests added
|
|
|
|
* the module should now be fully compatibile with
|
|
|
|
libxml2 >= 2.6.16
|
|
|
|
* threads test skipped by default
|
|
|
|
* documentation updates
|
|
|
|
* added setNamespaceDecl{URI,Prefix}
|
|
|
|
* get/setAttribute(NS)? implementation made xmlns aware
|
|
|
|
* all sub-modules have the same version as XML::LibXML
|
|
|
|
* Thu Sep 14 2006 - anicka@suse.cz
|
|
|
|
- update to 1.60
|
|
|
|
* remove the SGML parser code no longer supported by libxml
|
|
|
|
* documentation and regression fixes and enhancements
|
|
|
|
* added publicId and systemId methods to XML::LibXML::Dtd
|
|
|
|
* new XML::LibXML::InputCallback class
|
|
|
|
* new parser and callback code
|
|
|
|
* bugfixes
|
|
|
|
* Wed Mar 15 2006 - anicka@suse.cz
|
|
|
|
- require perl-XML-LibXML-Common and perl-XML-SAX (#158024)
|
|
|
|
* Wed Jan 25 2006 - mls@suse.de
|
|
|
|
- converted neededforbuild to BuildRequires
|
|
|
|
* Thu Aug 19 2004 - mjancar@suse.cz
|
|
|
|
- update to 1.58
|
|
|
|
* Wed Mar 03 2004 - mjancar@suse.cz
|
|
|
|
- initial version 1.57
|