File perl-XML-LibXSLT.spec of Package perl-XML-LibXSLT

#
# spec file for package perl-XML-LibXSLT (Version 1.66)
#
# Copyright (c) 2008 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/
#

# norootforbuild


Name:           perl-XML-LibXSLT
BuildRequires:  libxslt-devel perl-XML-LibXML
Version:        1.66
Release:        53
Requires:       perl = %{perl_version}
AutoReqProv:    on
Group:          Development/Libraries/Perl
License:        Artistic License
Url:            http://www.cpan.org/modules/by-module/XML/
Summary:        XML::LibXSLT Perl Module
Source:         XML-LibXSLT-%{version}.tar.bz2
Patch:          %{name}-wrongtest.diff
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/.

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.



%prep
%setup -q -n XML-LibXSLT-%{version}
%patch

%build
perl Makefile.PL
make

%check
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 README
%doc %{_mandir}/man3/*
%{perl_vendorarch}/XML
%{perl_vendorarch}/auto/XML
/var/adm/perl-modules/%{name}

%changelog
* Tue Sep 30 2008 anicka@suse.cz
- fix build (disable two tests that are wrong (with regard to XML
  specification)
* 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
- Version 1.59; Changes:
  - (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
- converted neededforbuild to BuildRequires
* Mon Dec 12 2005 ke@suse.de
- New package: version 1.58.
openSUSE Build Service is sponsored by