#
# Conditional build:
%bcond_without tests # do not perform "make test"
-#
-%include /usr/lib/rpm/macros.perl
+
%define pdir XML
%define pnam XSLT-Wrapper
Summary: XML::XSLT::Wrapper - Consistent interface to XSLT processors
+Summary(pl.UTF-8): XML::XSLT::Wrapper - spójny interfejs do procesorów XSLT
Name: perl-XML-XSLT-Wrapper
Version: 0.32
-Release: 0.1
+Release: 0.2
# same as perl
License: GPL v1+ or Artistic
Group: Development/Languages/Perl
-Source0: http://www.cpan.org/modules/by-authors/id/M/MU/MULL/XML-XSLT-Wrapper-0.32.tar.gz
+Source0: http://www.cpan.org/modules/by-authors/id/M/MU/MULL/XML-XSLT-Wrapper-%{version}.tar.gz
# Source0-md5: d08350e5d6a45d5e42ac7ab5fa80fd45
+URL: http://search.cpan.org/dist/XML-XSLT-Wrapper/
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+# found from inline code
+%define _noautoreq 'perl(XML::Xalan::Transformer)'
+
%description
-Provides a consistent interface to various XSLT processors. Tries each
-of a supplied list of processors in turn until one performs a successful
-transform. If no list is given, tries all the processors it knows until
-one works. Does its best to fail gracefully whenever a processor does
-not work for some reason.
+Provides a consistent interface to various XSLT processors. Tries each
+of a supplied list of processors in turn until one performs a
+successful transform. If no list is given, tries all the processors it
+knows until one works. Does its best to fail gracefully whenever a
+processor does not work for some reason.
+
+%description -l pl.UTF-8
+Ten moduł udostępnia spójny interfejs do różnych procesorów XSLT.
+Próbuje każdy z dostarczonej listy procesorów aż których wykona
+pomyślnie przekształcenie. Jeśli nie przekazano listy procesorów,
+próbuje wszystkich znanych sobie procesorów. Usiłuje zachować się jak
+najlepiej w przypadku niepowodzenia któregoś z procesorów.
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}