eab233
Name:           perl-XML-TokeParser
eab233
Version:        0.05
eab233
Release:        25%{?dist}
eab233
Summary:        Simplified interface to XML::Parser
eab233
License:        GPL+ or Artistic
eab233
eab233
URL:            http://search.cpan.org/dist/XML-TokeParser/
eab233
Source0:        http://www.cpan.org/authors/id/P/PO/PODMASTER/XML-TokeParser-%{version}.tar.gz
eab233
eab233
BuildArch:      noarch
eab233
BuildRequires:  make
eab233
BuildRequires:  perl-interpreter
eab233
BuildRequires:  perl-generators
eab233
BuildRequires:  perl(Carp)
eab233
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
eab233
BuildRequires:  perl(IO::File)
eab233
BuildRequires:  perl(Test)
eab233
BuildRequires:  perl(XML::Catalog)
eab233
BuildRequires:  perl(XML::Parser) >= 2
eab233
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
eab233
Requires:       perl(IO::File)
eab233
Requires:       perl(XML::Catalog)
eab233
Requires:       perl(XML::Parser) >= 2
eab233
eab233
%{?perl_default_filter}
eab233
eab233
%description
eab233
XML::TokeParser provides a procedural ("pull mode") interface to
eab233
XML::Parser in much the same way that Gisle Aas' HTML::TokeParser provides
eab233
a procedural interface to HTML::Parser. XML::TokeParser splits its XML
eab233
input up into "tokens," each corresponding to an XML::Parser event.
eab233
eab233
%prep
eab233
%setup -q -n XML-TokeParser-%{version}
eab233
find . -type f | xargs sed -i -e 's/\r//'
eab233
find . -type f | xargs chmod 0644
eab233
eab233
%build
eab233
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
eab233
make %{?_smp_mflags}
eab233
eab233
%install
eab233
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
eab233
%{_fixperms} $RPM_BUILD_ROOT/*
eab233
eab233
%check
eab233
make test
eab233
eab233
%files
eab233
%doc Changes README TODO TokeParser.xml
eab233
%{perl_vendorlib}/XML*
eab233
%{_mandir}/man3/XML*
eab233
eab233
%changelog
eab233
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.05-25
eab233
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
eab233
eab233
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.05-24
eab233
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
eab233
eab233
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.05-23
eab233
- Perl 5.26 rebuild
eab233
eab233
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.05-22
eab233
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
eab233
eab233
* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.05-21
eab233
- Perl 5.24 rebuild
eab233
eab233
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.05-20
eab233
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
eab233
eab233
* Thu Nov 19 2015 Emmanuel Seyman <emmanuel@seyman.fr> - 0.05-19
eab233
- Add more BuildRequires
eab233
- Add perl default filter
eab233
- Use NO_PACKLIST=1 when creating Makefile
eab233
- Remove no-longer-used declarations
eab233
- Tighten file listing
eab233
eab233
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-18
eab233
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
eab233
eab233
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.05-17
eab233
- Perl 5.22 rebuild
eab233
eab233
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.05-16
eab233
- Perl 5.20 rebuild
eab233
eab233
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-15
eab233
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
eab233
eab233
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-14
eab233
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
eab233
eab233
* Wed Jul 24 2013 Petr Pisar <ppisar@redhat.com> - 0.05-13
eab233
- Perl 5.18 rebuild
eab233
eab233
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-12
eab233
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
eab233
eab233
* Fri Aug 17 2012 Jitka Plesnikova <jplesnik@redhat.com> - 0.05-11
eab233
- Specify all dependencies.
eab233
eab233
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-10
eab233
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
eab233
eab233
* Fri Jun 15 2012 Petr Pisar <ppisar@redhat.com> - 0.05-9
eab233
- Perl 5.16 rebuild
eab233
eab233
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-8
eab233
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
eab233
eab233
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 0.05-7
eab233
- Perl mass rebuild
eab233
eab233
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-6
eab233
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
eab233
eab233
* Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.05-5
eab233
- 661697 rebuild for fixing problems with vendorach/lib
eab233
eab233
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.05-4
eab233
- Mass rebuild with perl-5.12.0
eab233
eab233
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.05-3
eab233
- rebuild against perl 5.10.1
eab233
eab233
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-2
eab233
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
eab233
eab233
* Mon May 04 2009 Iain Arnell <iarnell@gmail.com> 0.05-1
eab233
- Specfile autogenerated by cpanspec 1.77.
eab233
- Fix line-endings and permissions