2007-01-15 23:32:14 +00:00
|
|
|
#
|
2008-02-08 20:08:27 +00:00
|
|
|
# spec file for package perl-XML-LibXSLT (Version 1.66)
|
2007-01-15 23:32:14 +00:00
|
|
|
#
|
2008-02-08 20:08:27 +00:00
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:32:14 +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-LibXSLT
|
2008-02-08 20:08:27 +00:00
|
|
|
BuildRequires: libxslt-devel perl-XML-LibXML
|
|
|
|
Version: 1.66
|
2007-01-15 23:32:14 +00:00
|
|
|
Release: 1
|
|
|
|
Requires: perl = %{perl_version}
|
2008-02-08 20:08:27 +00:00
|
|
|
AutoReqProv: on
|
2007-01-15 23:32:14 +00:00
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
License: Artistic License
|
2008-02-08 20:08:27 +00:00
|
|
|
Url: http://www.cpan.org/modules/by-module/XML/
|
2007-01-15 23:32:14 +00:00
|
|
|
Summary: XML::LibXSLT Perl Module
|
2008-02-08 20:08:27 +00:00
|
|
|
Source: XML-LibXSLT-%{version}.tar.bz2
|
2007-01-15 23:32:14 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
Requires: perl-XML-LibXML
|
|
|
|
|
|
|
|
%description
|
|
|
|
This module is a fast XSLT library, based on the GNOME libxslt engine
|
|
|
|
that you can find at http://www.xmlsoft.org/XSLT/.
|
|
|
|
|
2008-02-08 20:08:27 +00:00
|
|
|
The performance is currently about twice that of XML::Sablotron (based
|
|
|
|
on XSLTMark tests converted to Perl). The libxslt processor is also
|
|
|
|
highly standard compliant, with practically all of XSLT 1.0 being
|
|
|
|
supported in version 0.9 of libxslt.
|
2007-01-15 23:32:14 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n XML-LibXSLT-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL
|
|
|
|
make
|
2008-02-08 20:08:27 +00:00
|
|
|
|
|
|
|
%check
|
|
|
|
make test
|
2007-01-15 23:32:14 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc Changes README
|
|
|
|
%doc %{_mandir}/man3/*
|
|
|
|
%{perl_vendorarch}/XML
|
|
|
|
%{perl_vendorarch}/auto/XML
|
|
|
|
/var/adm/perl-modules/%{name}
|
|
|
|
|
2008-02-08 20:08:27 +00:00
|
|
|
%changelog
|
|
|
|
* Tue Feb 05 2008 anicka@suse.cz
|
|
|
|
- update to 1.66
|
|
|
|
* sync the binary internals to those of XML::LibXML 1.66
|
|
|
|
* use pkg-config to determine linker flags for libexslt
|
|
|
|
* added XML::LibXML-like API to retrieve libxslt version
|
|
|
|
* added output_as_bytes() and output_as_chars()
|
|
|
|
* added regression tests for output_as_* to 11utf8.t
|
|
|
|
* output_as_string documentation fixed to match reality
|
|
|
|
* fixed error reporting: die on fatal errors, warn otherwise
|
|
|
|
(in particular, warn rather than die on
|
|
|
|
<xsl:message terminate="no">)
|
|
|
|
* using call_* instead of perl_call_* (perl_ variants are obsolete)
|
|
|
|
* in callbacks, POPs on error before croaking, otherwise it has no
|
|
|
|
effect (and we probably leak)
|
|
|
|
* bugfixes, test fixes
|
|
|
|
- enable tests in %%check
|
|
|
|
* Tue Aug 08 2006 ke@suse.de
|
2007-01-15 23:32:14 +00:00
|
|
|
- Version 1.59; Changes:
|
2008-02-08 20:08:27 +00:00
|
|
|
- (revision bumped to match XML::LibXML)
|
|
|
|
- adapted for new XML::LibXML::InputCallback API
|
|
|
|
- support for static linking against libxml2
|
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-15 23:32:14 +00:00
|
|
|
- converted neededforbuild to BuildRequires
|
2008-02-08 20:08:27 +00:00
|
|
|
* Mon Dec 12 2005 ke@suse.de
|
2007-01-15 23:32:14 +00:00
|
|
|
- New package: version 1.58.
|