%define upstream_name XML-XSLT %define upstream_version 0.48 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: XML::XSLT - A perl module for processing XSLT License: GPL+ or Artistic Group: Development/Perl URL: http://www.cpan.org/ Source0: http://search.cpan.org/CPAN/authors/id/J/JS/JSTOWE/%{upstream_name}-%{upstream_version}.tar.bz2 BuildRequires: perl-XML-Parser BuildRequires: perl-XML-DOM BuildArch: noarch %description This module implements the W3C's XSLT specification. The goal is full implementation of this spec, but we have not yet achieved that. However, it already works well. See XML::XSLT Commands for the current status of each command. XML::XSLT makes use of XML::DOM and LWP::Simple, while XML::DOM uses XML::Parser. Therefore XML::Parser, XML::DOM and LWP::Simple have to be installed properly for XML::XSLT to run. %prep %setup -q -n %{upstream_name}-%{upstream_version} # (tv) fix doc permissions: chmod 755 examples %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make make test %clean rm -rf $RPM_BUILD_ROOT %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %files %defattr(-,root,root) %doc ChangeLog MANIFEST README examples #%doc %attr(644,root,-) ChangeLog MANIFEST README examples %{_bindir}/* %{_mandir}/*/* %{perl_vendorlib}/XML %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.480.0-2.mga3 + Revision: 375239 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Fri Jan 21 2011 jquelin <jquelin> 0.480.0-1.mga1 + Revision: 28931 - mageia rebuild - imported package perl-XML-XSLT