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