]> git.pld-linux.org Git - packages/perl-XML-Quote.git/blob - perl-XML-Quote.spec
perl 5.38.0 rebuild
[packages/perl-XML-Quote.git] / perl-XML-Quote.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %define         pdir    XML
6 %define         pnam    Quote
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"
9 Name:           perl-XML-Quote
10 Version:        1.02
11 Release:        17
12 # same as perl
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)
21
22 %description
23 This module provides functions to quote/dequote strings in "XML"-way.
24
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
27 "magic".
28
29 %description -l pl.UTF-8
30 Ten moduł udostępnia funkcje do cytowania łańcuchów w sposób
31 "XML-owy".
32
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".
36
37 %prep
38 %setup -q -n %{pdir}-%{pnam}-%{version}
39
40 %build
41 %{__perl} Makefile.PL \
42         INSTALLDIRS=vendor
43 %{__make} \
44         CC="%{__cc}" \
45         OPTIMIZE="%{rpmcflags}"
46
47 %{?with_tests:%{__make} test}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51
52 %{__make} install \
53         DESTDIR=$RPM_BUILD_ROOT
54
55 %clean
56 rm -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 %attr(755,root,root) %{perl_vendorarch}/auto/XML/Quote/Quote.so
64 %{perl_vendorarch}/auto/XML/Quote/autosplit.ix
65 %{_mandir}/man3/*
This page took 0.161139 seconds and 4 git commands to generate.