ce0241
Name:           perl-XML-Filter-BufferText
ce0241
Version:        1.01
ce0241
Release:        2%{?dist}
ce0241
Summary:        Filter to put all characters() in one event
ce0241
License:        GPL or Artistic
ce0241
Group:          Development/Libraries
ce0241
URL:            http://search.cpan.org/dist/XML-Filter-BufferText/
ce0241
Source0:        http://www.cpan.org/modules/by-module/XML/XML-Filter-BufferText-%{version}.tar.gz
ce0241
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
ce0241
BuildArch:      noarch
ce0241
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
ce0241
Requires:       perl(XML::SAX::Base)
ce0241
BuildRequires:  perl(XML::SAX::Base), perl(ExtUtils::MakeMaker)
ce0241
ce0241
%description
ce0241
This is a very simple filter. One common cause of grief (and programmer
ce0241
error) is that XML parsers aren't required to provide character events in
ce0241
one chunk. They can, but are not forced to, and most don't. This filter
ce0241
does the trivial but oft-repeated task of putting all characters into a
ce0241
single event.
ce0241
ce0241
%prep
ce0241
%setup -q -n XML-Filter-BufferText-%{version}
ce0241
chmod 644 Changes README BufferText.pm
ce0241
ce0241
%build
ce0241
%{__perl} Makefile.PL INSTALLDIRS=vendor
ce0241
make %{?_smp_mflags}
ce0241
ce0241
%install
ce0241
rm -rf %{buildroot}
ce0241
ce0241
make pure_install PERL_INSTALL_ROOT=%{buildroot}
ce0241
ce0241
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
ce0241
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
ce0241
ce0241
%{_fixperms} %{buildroot}/*
ce0241
ce0241
%check
ce0241
make test
ce0241
ce0241
%clean
ce0241
rm -rf %{buildroot}
ce0241
ce0241
%files
ce0241
%defattr(-,root,root,-)
ce0241
%doc Changes README
ce0241
%{perl_vendorlib}/*
ce0241
%{_mandir}/man3/*
ce0241
ce0241
%changelog
ce0241
* Sat Mar 17 2007 Andreas Thienemann <andreas@bawue.net> 1.01-2
ce0241
- Fixed dependencies
ce0241
ce0241
* Thu Mar 15 2007 Andreas Thienemann <andreas@bawue.net> 1.01-1
ce0241
- Specfile autogenerated by cpanspec 1.69.1.
ce0241
- Cleaned up for FE