]> git.pld-linux.org Git - packages/perl-XML-Quote.git/blame - perl-XML-Quote.spec
- rebuild with perl 5.30.0
[packages/perl-XML-Quote.git] / perl-XML-Quote.spec
CommitLineData
f19d71bc
JB
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%include /usr/lib/rpm/macros.perl
122c4604 6%define pdir XML
7%define pnam Quote
f19d71bc 8Summary: XML::Quote - functions to quote/dequote strings in "XML"-way
829ee234 9Summary(pl.UTF-8): XML::Quote - funkcje do cytowania łańcuchów w sposób "XML-owy"
f19d71bc
JB
10Name: perl-XML-Quote
11Version: 1.02
798f27c2 12Release: 13
f19d71bc 13# same as perl
551ee886 14License: GPL v1+ or Artistic
f19d71bc 15Group: Development/Languages/Perl
06e92f31 16Source0: http://www.cpan.org/modules/by-module/XML/%{pdir}-%{pnam}-%{version}.tar.gz
f19d71bc 17# Source0-md5: 98f45c2efeeea13793949e5c74689741
06e92f31 18URL: http://search.cpan.org/dist/XML-Quote/
f19d71bc
JB
19BuildRequires: perl-devel >= 1:5.8.0
20BuildRequires: rpm-perlprov >= 4.1-13
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24This module provides functions to quote/dequote strings in "XML"-way.
25
26All functions are written in XS and are very fast; they correctly
27process UTF-8, tied, overloaded variables and all the rest of Perl
28"magic".
29
53a5301d
JR
30%description -l pl.UTF-8
31Ten moduł udostępnia funkcje do cytowania łańcuchów w sposób
f19d71bc
JB
32"XML-owy".
33
53a5301d
JR
34Wszystkie funkcje są napisane w XS i są bardzo szybkie. Poprawnie
35przetwarzają UTF-8, zmienne związane i przeciążone, a także całą
36resztę perlowej "magii".
f19d71bc
JB
37
38%prep
39%setup -q -n %{pdir}-%{pnam}-%{version}
40
41%build
42%{__perl} Makefile.PL \
43 INSTALLDIRS=vendor
f19d71bc 44%{__make} \
e595acef 45 CC="%{__cc}" \
f19d71bc
JB
46 OPTIMIZE="%{rpmcflags}"
47
48%{?with_tests:%{__make} test}
49
50%install
51rm -rf $RPM_BUILD_ROOT
52
53%{__make} install \
54 DESTDIR=$RPM_BUILD_ROOT
55
56%clean
57rm -rf $RPM_BUILD_ROOT
58
59%files
60%defattr(644,root,root,755)
61%doc Changes README
62%{perl_vendorarch}/XML/Quote.pm
63%dir %{perl_vendorarch}/auto/XML/Quote
f19d71bc
JB
64%attr(755,root,root) %{perl_vendorarch}/auto/XML/Quote/Quote.so
65%{perl_vendorarch}/auto/XML/Quote/autosplit.ix
66%{_mandir}/man3/*
This page took 0.112219 seconds and 4 git commands to generate.