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