]> git.pld-linux.org Git - packages/perl-XML-Filter-BufferText.git/blame - perl-XML-Filter-BufferText.spec
- tabs in preamble
[packages/perl-XML-Filter-BufferText.git] / perl-XML-Filter-BufferText.spec
CommitLineData
81d0b5c4
JB
1#
2# Conditional build:
91cc0a60 3%bcond_without tests # do not perform "make test"
4#
81d0b5c4 5%include /usr/lib/rpm/macros.perl
d97a35c9 6%define pdir XML
7%define pnam Filter-BufferText
81d0b5c4 8Summary: XML::Filter::BufferText Perl module - to guarantee characters in one event
44e31e2b 9Summary(pl.UTF-8): Moduł Perla XML::Filter::BufferText - gwarancja przesłania znaków w jednym zdarzeniu
81d0b5c4 10Name: perl-XML-Filter-BufferText
8f81aee2 11Version: 1.01
12Release: 1
05fe1e1a 13# same as perl
14License: GPL v1+ or Artistic
81d0b5c4 15Group: Development/Languages/Perl
1d702e41 16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
8f81aee2 17# Source0-md5: 2992c0387632583b966ab9c965b25512
91cc0a60 18%if %{with tests}
19BuildRequires: perl-Test-Simple >= 0.40
20BuildRequires: perl-XML-SAX >= 0.04
21BuildRequires: perl(XML::SAX::Base) >= 1.03
22%endif
76361c42 23BuildRequires: perl-devel >= 1:5.8.0
291549a5 24BuildRequires: rpm-perlprov >= 4.1-13
81d0b5c4
JB
25Requires: perl-XML-SAX >= 0.04
26Requires: perl(XML::SAX::Base) >= 1.03
27BuildArch: noarch
28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30%description
31This is a very simple filter. One common cause of grief (and
32programmer error) is that XML parsers aren't required to provide
33character events in one chunk. They can, but are not forced to, and
34most don't. This filter does the trivial but oft-repeated task of
35putting all characters into a single event.
36
d1a83e46
JR
37%description -l pl.UTF-8
38To jest bardzo prosty filtr. Jednym z częstych zmartwień (i błędów
39programistów) jest to, że analizatory XML-a nie muszą dostarczać
40zdarzeń znakowych w jednym kawałku. Mogą, ale nie są do tego zmuszone,
41i przeważnie tego nie robią. Ten filtr wykonuje trywialne, ale często
42wykonywane zadanie umieszczania wszystkich znaków w jednym zdarzeniu.
81d0b5c4
JB
43
44%prep
45%setup -q -n %{pdir}-%{pnam}-%{version}
46
47%build
291549a5 48%{__perl} Makefile.PL \
278e80e8 49 INSTALLDIRS=vendor
81d0b5c4
JB
50%{__make}
51
91cc0a60 52%{?with_tests:%{__make} test}
81d0b5c4
JB
53
54%install
55rm -rf $RPM_BUILD_ROOT
56
57%{__make} install \
58 DESTDIR=$RPM_BUILD_ROOT
59
60%clean
61rm -rf $RPM_BUILD_ROOT
62
63%files
64%defattr(644,root,root,755)
65%doc Changes README
291549a5 66%{perl_vendorlib}/XML/Filter/BufferText.pm
81d0b5c4 67%{_mandir}/man3/*
This page took 0.076689 seconds and 4 git commands to generate.