]> git.pld-linux.org Git - SPECS.git/blob - perl-XML-Handler-PrintEvents.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / perl-XML-Handler-PrintEvents.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4
5 %define         pdir    XML
6 %define         pnam    Handler-PrintEvents
7 Summary:        XML::Handler::PrintEvents - prints PerlSAX events (for debugging)
8 Summary(pl.UTF-8):      XML::Handler::PrintEvents - wypisywanie zdarzeń PerlSAX (dla odpluskwiania)
9 Name:           perl-XML-Handler-PrintEvents
10 Version:        0.01
11 Release:        2
12 # same as perl
13 License:        GPL v1+ or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  bd3b3d840d98bca3e11f9dad34364da4
17 URL:            http://search.cpan.org/dist/XML-Handler-PrintEvents/
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 %if %{with tests}
21 BuildRequires:  perl-XML-Filter-SAXT
22 %endif
23 Obsoletes:      perl-libxml-enno
24 BuildArch:      noarch
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 This PerlSAX handler prints the PerlSAX events it receives to STDOUT.
29 It can be useful when debugging PerlSAX filters. It supports all
30 PerlSAX handler including ignorable_whitespace.
31
32 %description -l pl.UTF-8
33 Ten moduł obsługi PerlSAX wypisuje otrzymywane zdarzenia PerlSAX na
34 standardowe wyjście. Może to być przydatne przy odpluskwianiu filtrów
35 PerlSAX. Obsługuje wszystkie funkcje obsługi PerlSAX włącznie z
36 ignorable_whitespace.
37
38 %prep
39 %setup -q -n %{pdir}-%{pnam}-%{version}
40
41 %build
42 %{__perl} Makefile.PL \
43         INSTALLDIRS=vendor
44 %{__make}
45
46 %{?with_tests:%{__make} test}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc Changes README
60 %{perl_vendorlib}/XML/Handler/PrintEvents.pm
61 %{_mandir}/man3/*
This page took 0.230634 seconds and 3 git commands to generate.