]> git.pld-linux.org Git - packages/perl-XML-Handler-PrintEvents.git/blame - perl-XML-Handler-PrintEvents.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-XML-Handler-PrintEvents.git] / perl-XML-Handler-PrintEvents.spec
CommitLineData
46301ea2 1#
2# Conditional build:
7853a4ef 3%bcond_without tests # do not perform "make test"
9e48da5f 4
493a4d1d 5%define pdir XML
6%define pnam Handler-PrintEvents
bf9b56c4 7Summary: XML::Handler::PrintEvents - prints PerlSAX events (for debugging)
8d1ff7f7 8Summary(pl.UTF-8): XML::Handler::PrintEvents - wypisywanie zdarzeń PerlSAX (dla odpluskwiania)
46301ea2 9Name: perl-XML-Handler-PrintEvents
10Version: 0.01
f60667e0 11Release: 2
46301ea2 12# same as perl
13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16# Source0-md5: bd3b3d840d98bca3e11f9dad34364da4
9e48da5f 17URL: http://search.cpan.org/dist/XML-Handler-PrintEvents/
abe9f612 18BuildRequires: perl-devel >= 1:5.8.0
46301ea2 19BuildRequires: rpm-perlprov >= 4.1-13
20%if %{with tests}
21BuildRequires: perl-XML-Filter-SAXT
22%endif
23Obsoletes: perl-libxml-enno
24BuildArch: noarch
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
abe9f612
JB
28This PerlSAX handler prints the PerlSAX events it receives to STDOUT.
29It can be useful when debugging PerlSAX filters. It supports all
30PerlSAX handler including ignorable_whitespace.
46301ea2 31
20437423
JR
32%description -l pl.UTF-8
33Ten moduł obsługi PerlSAX wypisuje otrzymywane zdarzenia PerlSAX na
34standardowe wyjście. Może to być przydatne przy odpluskwianiu filtrów
35PerlSAX. Obsługuje wszystkie funkcje obsługi PerlSAX włącznie z
abe9f612 36ignorable_whitespace.
46301ea2 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
49rm -rf $RPM_BUILD_ROOT
50
51%{__make} install \
52 DESTDIR=$RPM_BUILD_ROOT
53
54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%files
58%defattr(644,root,root,755)
59%doc Changes README
46301ea2 60%{perl_vendorlib}/XML/Handler/PrintEvents.pm
46301ea2 61%{_mandir}/man3/*
This page took 0.055851 seconds and 4 git commands to generate.