ad9d7b8
Name:           perl-XML-Filter-BufferText
ad9d7b8
Version:        1.01
3c2732e
Release:        6%{?dist}
ad9d7b8
Summary:        Filter to put all characters() in one event
0d8d69f
License:        GPL+ or Artistic
ad9d7b8
Group:          Development/Libraries
ad9d7b8
URL:            http://search.cpan.org/dist/XML-Filter-BufferText/
ad9d7b8
Source0:        http://www.cpan.org/modules/by-module/XML/XML-Filter-BufferText-%{version}.tar.gz
ad9d7b8
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
ad9d7b8
BuildArch:      noarch
ad9d7b8
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
ad9d7b8
Requires:       perl(XML::SAX::Base)
5362621
BuildRequires:  perl(XML::SAX::Base), perl(ExtUtils::MakeMaker), perl(Test::More)
ad9d7b8
ad9d7b8
%description
ad9d7b8
This is a very simple filter. One common cause of grief (and programmer
ad9d7b8
error) is that XML parsers aren't required to provide character events in
ad9d7b8
one chunk. They can, but are not forced to, and most don't. This filter
ad9d7b8
does the trivial but oft-repeated task of putting all characters into a
ad9d7b8
single event.
ad9d7b8
ad9d7b8
%prep
ad9d7b8
%setup -q -n XML-Filter-BufferText-%{version}
ad9d7b8
chmod 644 Changes README BufferText.pm
ad9d7b8
ad9d7b8
%build
ad9d7b8
%{__perl} Makefile.PL INSTALLDIRS=vendor
ad9d7b8
make %{?_smp_mflags}
ad9d7b8
ad9d7b8
%install
ad9d7b8
rm -rf %{buildroot}
ad9d7b8
ad9d7b8
make pure_install PERL_INSTALL_ROOT=%{buildroot}
ad9d7b8
ad9d7b8
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
ad9d7b8
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
ad9d7b8
ad9d7b8
%{_fixperms} %{buildroot}/*
ad9d7b8
ad9d7b8
%check
ad9d7b8
make test
ad9d7b8
ad9d7b8
%clean
ad9d7b8
rm -rf %{buildroot}
ad9d7b8
ad9d7b8
%files
ad9d7b8
%defattr(-,root,root,-)
ad9d7b8
%doc Changes README
ad9d7b8
%{perl_vendorlib}/*
ad9d7b8
%{_mandir}/man3/*
ad9d7b8
ad9d7b8
%changelog
3c2732e
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-6
3c2732e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
3c2732e
21d0678
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.01-5
21d0678
- Rebuild for perl 5.10 (again)
21d0678
5362621
* Tue Jan 29 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.01-4
5362621
- BR perl(Test::More)
5362621
0d8d69f
* Mon Jan 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.01-3
0d8d69f
- rebuild for new perl
0d8d69f
ad9d7b8
* Sat Mar 17 2007 Andreas Thienemann <andreas@bawue.net> 1.01-2
ad9d7b8
- Fixed dependencies
ad9d7b8
ad9d7b8
* Thu Mar 15 2007 Andreas Thienemann <andreas@bawue.net> 1.01-1
ad9d7b8
- Specfile autogenerated by cpanspec 1.69.1.
ad9d7b8
- Cleaned up for FE