]> git.pld-linux.org Git - packages/perl-XML-Filter-BufferText.git/commitdiff
- new RA-1_0 STABLE perl-XML-Filter-BufferText-1_00-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 4 Aug 2002 00:56:25 +0000 (00:56 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-XML-Filter-BufferText.spec -> 1.1

perl-XML-Filter-BufferText.spec [new file with mode: 0644]

diff --git a/perl-XML-Filter-BufferText.spec b/perl-XML-Filter-BufferText.spec
new file mode 100644 (file)
index 0000000..25d3a17
--- /dev/null
@@ -0,0 +1,61 @@
+#
+# Conditional build:
+# _without_tests - do not perform "make test"
+%include       /usr/lib/rpm/macros.perl
+%define                pdir    XML
+%define                pnam    Filter-BufferText
+Summary:       XML::Filter::BufferText Perl module - to guarantee characters in one event
+Summary(pl):   Modu³ Perla XML::Filter::BufferText - gwarantuj±cy znaki w jednym zdarzeniu
+Name:          perl-XML-Filter-BufferText
+Version:       1.00
+Release:       1
+License:       Artistic or GPL
+Group:         Development/Languages/Perl
+Source0:       ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+BuildRequires: perl >= 5.6
+%{!?_without_tests:BuildRequires:      perl-Test-Simple >= 0.40}
+%{!?_without_tests:BuildRequires:      perl-XML-SAX >= 0.04}
+%{!?_without_tests:BuildRequires:      perl(XML::SAX::Base) >= 1.03}
+BuildRequires: rpm-perlprov >= 3.0.3-16
+Requires:      perl-XML-SAX >= 0.04
+Requires:      perl(XML::SAX::Base) >= 1.03
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This is a very simple filter. One common cause of grief (and
+programmer error) is that XML parsers aren't required to provide
+character events in one chunk. They can, but are not forced to, and
+most don't. This filter does the trivial but oft-repeated task of
+putting all characters into a single event.
+
+%description -l pl
+To jest bardzo prosty filtr. Jednym z czêstych zmartwieñ (i b³êdów
+programistów) jest to, ¿e parsery XML nie musz± dostarczaæ zdarzeñ
+znakowych w jednym kawa³ku. Mog±, ale nie s± do tego zmuszone, i
+przewa¿nie tego nie robi±. Ten filtr wykonuje trywialne, ale czêsto
+wykonywane zadanie umieszczania wszystkich znaków w jednym zdarzeniu.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+perl Makefile.PL
+%{__make}
+
+%{!?_without_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_sitelib}/XML/Filter/BufferText.pm
+%{_mandir}/man3/*
This page took 0.085881 seconds and 4 git commands to generate.