%define pdir XML
%define pnam LibXSLT
Summary: XML::LibXSLT - interface to the GNOME libxslt library
-Summary(pl): XML::LibXSLT - interfejs do biblioteki libxslt z GNOME
+Summary(pl.UTF-8): XML::LibXSLT - interfejs do biblioteki libxslt z GNOME
Name: perl-XML-LibXSLT
Version: 1.61
Release: 1
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: 830ec12454ae14ee9145fee9b3b7c6aa
+Patch0: %{name}-error.patch
BuildRequires: libxslt-devel >= 1.0.6
BuildRequires: perl-XML-LibXML >= 1.60
BuildRequires: perl-devel >= 1:5.8.0
extremely good XSLT engine, highly compliant and also very fast. I
have tests showing this to be more than twice as fast as Sablotron.
-%description -l pl
-Ten modu³ jest interfejsem do libxslt z projektu GNOME. Jest to bardzo
-dobry silnik XSLT, o du¿ej zgodno¶ci ze standardem, a tak¿e bardzo
-szybki. Wed³ug testów jest ponad dwa razy szybszy od Sablotrona.
+%description -l pl.UTF-8
+Ten moduł jest interfejsem do libxslt z projektu GNOME. Jest to bardzo
+dobry silnik XSLT, o dużej zgodności ze standardem, a także bardzo
+szybki. Według testów jest ponad dwa razy szybszy od Sablotrona.
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
+%patch0 -p1
%build
%{__perl} Makefile.PL \
INSTALLDIRS=vendor
%{__make} \
+ CC="%{__cc}" \
OPTIMIZE="%{rpmcflags}"
%{?with_tests:%{__make} test}