From 36311adfee5c9983f85ff5324e8734e375e593dae98669d43ee0dacf209ee6c4 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Tue, 4 Jun 2013 17:16:15 +0000 Subject: [PATCH] Accepting request 177551 from home:coolo:update-perl - updated to 1.80 - Bump the minimum version of libxslt2 to 1.1.28. - due to failures such as http://www.cpantesters.org/cpan/report/6f5029ee-639a-11e2-8465-2a97270fb964 - Die when libxslt is 1.1.27. - Due to this bug - https://bugzilla.gnome.org/show_bug.cgi?id=684564 - Add output_method method, update documentation of media_type (dorian@cpan). - Thanks, Dorian! - Apply a patch from Michael Ludwig clarifying the quoting of string parameters to the XSLT transformation. - Thanks, Michael! OBS-URL: https://build.opensuse.org/request/show/177551 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-LibXSLT?expand=0&rev=25 --- XML-LibXSLT-1.76.tar.gz | 3 -- XML-LibXSLT-1.80.tar.gz | 3 ++ perl-XML-LibXSLT.changes | 18 ++++++++++++ perl-XML-LibXSLT.spec | 62 +++++++++++++++++++++------------------- 4 files changed, 53 insertions(+), 33 deletions(-) delete mode 100644 XML-LibXSLT-1.76.tar.gz create mode 100644 XML-LibXSLT-1.80.tar.gz diff --git a/XML-LibXSLT-1.76.tar.gz b/XML-LibXSLT-1.76.tar.gz deleted file mode 100644 index 8e36a6c..0000000 --- a/XML-LibXSLT-1.76.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:74b0ed2e7738640f21921110230174180e7f110d8b2ef13b7eabdad268341242 -size 85845 diff --git a/XML-LibXSLT-1.80.tar.gz b/XML-LibXSLT-1.80.tar.gz new file mode 100644 index 0000000..3a42a82 --- /dev/null +++ b/XML-LibXSLT-1.80.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7beac72b6afb40f948973c36381131672b79de22bd3741f7a4fdf35e38a2868e +size 86570 diff --git a/perl-XML-LibXSLT.changes b/perl-XML-LibXSLT.changes index 278acc3..2f0184f 100644 --- a/perl-XML-LibXSLT.changes +++ b/perl-XML-LibXSLT.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Tue Jun 4 17:05:54 UTC 2013 - coolo@suse.com + +- updated to 1.80 + - Bump the minimum version of libxslt2 to 1.1.28. + - due to failures such as http://www.cpantesters.org/cpan/report/6f5029ee-639a-11e2-8465-2a97270fb964 + + - Die when libxslt is 1.1.27. + - Due to this bug - https://bugzilla.gnome.org/show_bug.cgi?id=684564 + + - Add output_method method, update documentation of media_type + (dorian@cpan). + - Thanks, Dorian! + + - Apply a patch from Michael Ludwig clarifying the quoting of string + parameters to the XSLT transformation. + - Thanks, Michael! + ------------------------------------------------------------------- Fri Jan 13 02:39:50 UTC 2012 - vcizek@suse.com diff --git a/perl-XML-LibXSLT.spec b/perl-XML-LibXSLT.spec index d2fe2e1..b7d2ccd 100644 --- a/perl-XML-LibXSLT.spec +++ b/perl-XML-LibXSLT.spec @@ -1,7 +1,7 @@ # # spec file for package perl-XML-LibXSLT # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# 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 @@ -17,51 +17,53 @@ Name: perl-XML-LibXSLT -Version: 1.76 +Version: 1.80 Release: 0 -Summary: XML::LibXSLT Perl Module +%define cpan_name XML-LibXSLT +Summary: Interface to the GNOME libxslt library 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 +Url: http://search.cpan.org/dist/XML-LibXSLT/ +Source: http://www.cpan.org/authors/id/S/SH/SHLOMIF/%{cpan_name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: perl +BuildRequires: perl-macros +BuildRequires: perl(XML::LibXML) >= 1.70 +#BuildRequires: perl(Driver::BaseClass) +#BuildRequires: perl(XML::LibXML::Boolean) +#BuildRequires: perl(XML::LibXML::Literal) +#BuildRequires: perl(XML::LibXML::NodeList) +#BuildRequires: perl(XML::LibXML::Number) +#BuildRequires: perl(XML::LibXSLT) +#BuildRequires: perl(XML::Sablotron) +#BuildRequires: perl(XML::XPath) +Requires: perl(XML::LibXML) >= 1.70 %{perl_requires} +# MANUAL +BuildRequires: libxslt-devel %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. +This module is an interface to the GNOME project's libxslt. This is an +extremely good XSLT engine, highly compliant and also very fast. I have +tests showing this to be more than twice as fast as Sablotron. %prep -%setup -q -n XML-LibXSLT-%{version} +%setup -q -n %{cpan_name}-%{version} %build -perl Makefile.PL -make %{?_smp_mflags} +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +%{__make} %{?_smp_mflags} %check -make test +%{__make} test %install -make DESTDIR=%{buildroot} install_vendor +%perl_make_install %perl_process_packlist +%perl_gen_filelist -%clean -rm -rf %{buildroot} - -%files -%defattr(-,root,root) -%doc Changes README -%doc %{_mandir}/man3/* -%{perl_vendorarch}/XML -%{perl_vendorarch}/auto/XML +%files -f %{name}.files +%defattr(-,root,root,755) +%doc Changes example README %changelog