]> git.pld-linux.org Git - SPECS.git/blob - perl-XML-SAX-Machines.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / perl-XML-SAX-Machines.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4
5 %define         pdir    XML
6 %define         pnam    SAX-Machines
7 Summary:        XML::SAX::Machines Perl module
8 Summary(cs.UTF-8):      Modul XML::SAX::Machines pro Perl
9 Summary(da.UTF-8):      Perlmodul XML::SAX::Machines
10 Summary(de.UTF-8):      XML::SAX::Machines Perl Modul
11 Summary(es.UTF-8):      Módulo de Perl XML::SAX::Machines
12 Summary(fr.UTF-8):      Module Perl XML::SAX::Machines
13 Summary(it.UTF-8):      Modulo di Perl XML::SAX::Machines
14 Summary(ja.UTF-8):      XML::SAX::Machines Perl モジュール
15 Summary(ko.UTF-8):      XML::SAX::Machines 펄 모줄
16 Summary(nb.UTF-8):      Perlmodul XML::SAX::Machines
17 Summary(pl.UTF-8):      Moduł Perla XML::SAX::Machines
18 Summary(pt.UTF-8):      Módulo de Perl XML::SAX::Machines
19 Summary(pt_BR.UTF-8):   Módulo Perl XML::SAX::Machines
20 Summary(ru.UTF-8):      Модуль для Perl XML::SAX::Machines
21 Summary(sv.UTF-8):      XML::SAX::Machines Perlmodul
22 Summary(uk.UTF-8):      Модуль для Perl XML::SAX::Machines
23 Summary(zh_CN.UTF-8):   XML::SAX::Machines Perl 模块
24 Name:           perl-XML-SAX-Machines
25 Version:        0.42
26 Release:        1
27 Epoch:          1
28 License:        Artistic, GPL or BSD
29 Group:          Development/Languages/Perl
30 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
31 # Source0-md5:  82cce7207bd50edd1d2386eea5e2c84b
32 URL:            http://search.cpan.org/dist/XML-SAX-Machines/
33 BuildRequires:  perl-devel >= 1:5.8.0
34 %if %{with tests}
35 BuildRequires:  perl(XML::SAX::Base) >= 1.02
36 BuildRequires:  perl-XML-SAX >= 0.05
37 # doc say 0.4100001, so maybe too much, but safer
38 BuildRequires:  perl-XML-SAX-Writer >= 0.42
39 BuildRequires:  rpm-perlprov >= 4.1-13
40 %endif
41 Requires:       perl(XML::SAX::Base) >= 1.02
42 Requires:       perl-XML-SAX >= 0.05
43 # as above...
44 Requires:       perl-XML-SAX-Writer >= 0.42
45 BuildArch:      noarch
46 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
47
48 %description
49 XML::SAX::Machines is a collection of APIs that allow complex SAX
50 machines to be constructed without a huge amount of extra typing.
51
52 %description -l pl.UTF-8
53 XML::SAX::Machines to zestaw API pozwalający na konstruowanie
54 złożonych konstrukcji SAX bez dużej ilości nadmiarowego kodu.
55
56 %prep
57 %setup -q -n %{pdir}-%{pnam}-%{version}
58
59 %build
60 %{__perl} Makefile.PL \
61         INSTALLDIRS=vendor
62 %{__make}
63
64 %{?with_tests:%{__make} test}
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68
69 %{__make} install \
70         DESTDIR=$RPM_BUILD_ROOT \
71         INSTALLSITELIB=$RPM_BUILD_ROOT%{perl_vendorlib}
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %files
77 %defattr(644,root,root,755)
78 %doc CHANGES README
79 %{perl_vendorlib}/XML/Filter/*.pm
80 %{perl_vendorlib}/XML/SAX/*.pm
81 %{perl_vendorlib}/XML/SAX/Machines
82 %{_mandir}/man3/*
This page took 0.104044 seconds and 3 git commands to generate.