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