forked from pool/perl-XML-LibXSLT
71 lines
1.9 KiB
RPMSpec
71 lines
1.9 KiB
RPMSpec
![]() |
#
|
||
|
# spec file for package perl-XML-LibXSLT (Version 1.59)
|
||
|
#
|
||
|
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||
|
# 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
|
||
|
BuildRequires: libxslt-devel
|
||
|
Version: 1.59
|
||
|
Release: 1
|
||
|
Requires: perl = %{perl_version}
|
||
|
Autoreqprov: on
|
||
|
Group: Development/Libraries/Perl
|
||
|
License: Artistic License
|
||
|
URL: http://search.cpan.org/dist/XML-LibXSLT/
|
||
|
Summary: XML::LibXSLT Perl Module
|
||
|
Source: http://search.cpan.org/CPAN/authors/id/P/PA/PAJAS/XML-LibXSLT-%{version}.tar.gz
|
||
|
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/.
|
||
|
|
||
|
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
|
||
|
#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 -n perl-XML-LibXSLT
|
||
|
* 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.
|