3 %bcond_without tests # do not perform "make test"
7 Summary: XML::Quote - functions to quote/dequote strings in "XML"-way
8 Summary(pl.UTF-8): XML::Quote - funkcje do cytowania łańcuchów w sposób "XML-owy"
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/XML/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 98f45c2efeeea13793949e5c74689741
17 URL: http://search.cpan.org/dist/XML-Quote/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 This module provides functions to quote/dequote strings in "XML"-way.
25 All functions are written in XS and are very fast; they correctly
26 process UTF-8, tied, overloaded variables and all the rest of Perl
29 %description -l pl.UTF-8
30 Ten moduł udostępnia funkcje do cytowania łańcuchów w sposób
33 Wszystkie funkcje są napisane w XS i są bardzo szybkie. Poprawnie
34 przetwarzają UTF-8, zmienne związane i przeciążone, a także całą
35 resztę perlowej "magii".
38 %setup -q -n %{pdir}-%{pnam}-%{version}
41 %{__perl} Makefile.PL \
45 OPTIMIZE="%{rpmcflags}"
47 %{?with_tests:%{__make} test}
50 rm -rf $RPM_BUILD_ROOT
53 DESTDIR=$RPM_BUILD_ROOT
56 rm -rf $RPM_BUILD_ROOT
59 %defattr(644,root,root,755)
61 %{perl_vendorarch}/XML/Quote.pm
62 %dir %{perl_vendorarch}/auto/XML/Quote
63 %attr(755,root,root) %{perl_vendorarch}/auto/XML/Quote/Quote.so
64 %{perl_vendorarch}/auto/XML/Quote/autosplit.ix