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

#
# spec file for package perl-XML-LibXSLT
#
# Copyright (c) 2012 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-LibXSLT
Version:        1.76
Release:        0
Summary:        XML::LibXSLT Perl Module
License:        GPL-1.0+ or Artistic-1.0
Group:          Development/Libraries/Perl
Url:            http://www.cpan.org/modules/by-module/XML/
Source:         XML-LibXSLT-%{version}.tar.gz
BuildRequires:  libxslt-devel
BuildRequires:  perl-XML-LibXML
BuildRequires:  perl-macros
Requires:       perl-XML-LibXML
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%{perl_requires}

%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}

%build
perl Makefile.PL
make %{?_smp_mflags}

%check
make test

%install
make DESTDIR=%{buildroot} install_vendor
%perl_process_packlist

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc Changes README
%doc %{_mandir}/man3/*
%{perl_vendorarch}/XML
%{perl_vendorarch}/auto/XML

%changelog
openSUSE Build Service is sponsored by