|
|
4a6495 |
Name: perl-XML-TokeParser
|
|
|
4a6495 |
Version: 0.05
|
|
|
4a6495 |
Release: 12%{?dist}
|
|
|
4a6495 |
Summary: Simplified interface to XML::Parser
|
|
|
4a6495 |
License: GPL+ or Artistic
|
|
|
4a6495 |
Group: Development/Libraries
|
|
|
4a6495 |
URL: http://search.cpan.org/dist/XML-TokeParser/
|
|
|
4a6495 |
Source0: http://www.cpan.org/authors/id/P/PO/PODMASTER/XML-TokeParser-%{version}.tar.gz
|
|
|
4a6495 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
4a6495 |
BuildArch: noarch
|
|
|
4a6495 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
4a6495 |
BuildRequires: perl(Carp)
|
|
|
4a6495 |
BuildRequires: perl(IO::File)
|
|
|
4a6495 |
BuildRequires: perl(Test)
|
|
|
4a6495 |
BuildRequires: perl(XML::Catalog)
|
|
|
4a6495 |
BuildRequires: perl(XML::Parser) >= 2
|
|
|
4a6495 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
4a6495 |
Requires: perl(IO::File)
|
|
|
4a6495 |
Requires: perl(XML::Catalog)
|
|
|
4a6495 |
Requires: perl(XML::Parser) >= 2
|
|
|
4a6495 |
|
|
|
4a6495 |
%description
|
|
|
4a6495 |
XML::TokeParser provides a procedural ("pull mode") interface to
|
|
|
4a6495 |
XML::Parser in much the same way that Gisle Aas' HTML::TokeParser provides
|
|
|
4a6495 |
a procedural interface to HTML::Parser. XML::TokeParser splits its XML
|
|
|
4a6495 |
input up into "tokens," each corresponding to an XML::Parser event.
|
|
|
4a6495 |
|
|
|
4a6495 |
%prep
|
|
|
4a6495 |
%setup -q -n XML-TokeParser-%{version}
|
|
|
4a6495 |
find . -type f | xargs sed -i -e 's/\r//'
|
|
|
4a6495 |
find . -type f | xargs chmod 0644
|
|
|
4a6495 |
|
|
|
4a6495 |
%build
|
|
|
4a6495 |
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
4a6495 |
make %{?_smp_mflags}
|
|
|
4a6495 |
|
|
|
4a6495 |
%install
|
|
|
4a6495 |
rm -rf $RPM_BUILD_ROOT
|
|
|
4a6495 |
|
|
|
4a6495 |
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
4a6495 |
|
|
|
4a6495 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
4a6495 |
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
4a6495 |
|
|
|
4a6495 |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
4a6495 |
|
|
|
4a6495 |
%check
|
|
|
4a6495 |
make test
|
|
|
4a6495 |
|
|
|
4a6495 |
%clean
|
|
|
4a6495 |
rm -rf $RPM_BUILD_ROOT
|
|
|
4a6495 |
|
|
|
4a6495 |
%files
|
|
|
4a6495 |
%defattr(-,root,root,-)
|
|
|
4a6495 |
%doc Changes README TODO TokeParser.xml
|
|
|
4a6495 |
%{perl_vendorlib}/*
|
|
|
4a6495 |
%{_mandir}/man3/*
|
|
|
4a6495 |
|
|
|
4a6495 |
%changelog
|
|
|
4a6495 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.05-12
|
|
|
4a6495 |
- Mass rebuild 2013-12-27
|
|
|
4a6495 |
|
|
|
4a6495 |
* Fri Aug 17 2012 Jitka Plesnikova <jplesnik@redhat.com> - 0.05-11
|
|
|
4a6495 |
- Specify all dependencies.
|
|
|
4a6495 |
|
|
|
4a6495 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-10
|
|
|
4a6495 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
4a6495 |
|
|
|
4a6495 |
* Fri Jun 15 2012 Petr Pisar <ppisar@redhat.com> - 0.05-9
|
|
|
4a6495 |
- Perl 5.16 rebuild
|
|
|
4a6495 |
|
|
|
4a6495 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-8
|
|
|
4a6495 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
4a6495 |
|
|
|
4a6495 |
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 0.05-7
|
|
|
4a6495 |
- Perl mass rebuild
|
|
|
4a6495 |
|
|
|
4a6495 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-6
|
|
|
4a6495 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
4a6495 |
|
|
|
4a6495 |
* Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.05-5
|
|
|
4a6495 |
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
4a6495 |
|
|
|
4a6495 |
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.05-4
|
|
|
4a6495 |
- Mass rebuild with perl-5.12.0
|
|
|
4a6495 |
|
|
|
4a6495 |
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.05-3
|
|
|
4a6495 |
- rebuild against perl 5.10.1
|
|
|
4a6495 |
|
|
|
4a6495 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-2
|
|
|
4a6495 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
4a6495 |
|
|
|
4a6495 |
* Mon May 04 2009 Iain Arnell <iarnell@gmail.com> 0.05-1
|
|
|
4a6495 |
- Specfile autogenerated by cpanspec 1.77.
|
|
|
4a6495 |
- Fix line-endings and permissions
|