Blame SPECS/perl-XML-Twig.spec

d88ab9
Name:           perl-XML-Twig
d88ab9
Version:        3.44
828f64
Release:        2%{?dist}
d88ab9
Summary:        Perl module for processing huge XML documents in tree mode
d88ab9
License:        GPL+ or Artistic
d88ab9
Group:          Development/Libraries
d88ab9
URL:            http://search.cpan.org/dist/XML-Twig/
d88ab9
Source0:        http://www.cpan.org/authors/id/M/MI/MIROD/XML-Twig-%{version}.tar.gz
d88ab9
BuildArch:      noarch
d88ab9
BuildRequires:  expat >= 2.0.1
d88ab9
BuildRequires:  perl
d88ab9
BuildRequires:  perl(ExtUtils::MakeMaker)
d88ab9
# Run-time:
d88ab9
BuildRequires:  perl(base)
d88ab9
BuildRequires:  perl(bytes)
d88ab9
BuildRequires:  perl(Carp)
d88ab9
BuildRequires:  perl(Encode)
d88ab9
BuildRequires:  perl(File::Basename)
d88ab9
BuildRequires:  perl(File::Spec)
d88ab9
# Keep HTML::Entities::Numbered optional
d88ab9
# Keep HTML::Tidy optional
d88ab9
BuildRequires:  perl(HTML::TreeBuilder) >= 4.00
d88ab9
BuildRequires:  perl(IO::Scalar)
d88ab9
BuildRequires:  perl(Scalar::Util)
d88ab9
BuildRequires:  perl(strict)
d88ab9
BuildRequires:  perl(Text::Wrap)
d88ab9
BuildRequires:  perl(UNIVERSAL)
d88ab9
BuildRequires:  perl(utf8)
d88ab9
BuildRequires:  perl(vars)
d88ab9
BuildRequires:  perl(warnings)
d88ab9
BuildRequires:  perl(XML::Parser) >= 2.23
d88ab9
# Prefer XML::XPathEngine over XML::XPath
d88ab9
BuildRequires:  perl(XML::XPathEngine)
d88ab9
# Tests:
d88ab9
BuildRequires:  perl(Config)
d88ab9
BuildRequires:  perl(Cwd)
d88ab9
BuildRequires:  perl(FindBin)
d88ab9
BuildRequires:  perl(lib)
d88ab9
BuildRequires:  perl(Test)
d88ab9
BuildRequires:  perl(Test::More)
d88ab9
# Optional tests:
d88ab9
BuildRequires:  perl(IO::String)
d88ab9
BuildRequires:  perl(LWP)
d88ab9
BuildRequires:  perl(HTML::Entities)
d88ab9
%if !( 0%{?rhel} >= 7 )
d88ab9
BuildRequires:  perl(Test::CPAN::Meta::JSON)
d88ab9
%endif
d88ab9
BuildRequires:  perl(Text::Iconv)
d88ab9
BuildRequires:  perl(Tie::IxHash)
d88ab9
BuildRequires:  perl(Unicode::Map8)
d88ab9
BuildRequires:  perl(Unicode::String)
d88ab9
BuildRequires:  perl(utf8)
d88ab9
BuildRequires:  perl(XML::Filter::BufferText)
d88ab9
BuildRequires:  perl(XML::Handler::YAWriter)
d88ab9
BuildRequires:  perl(XML::SAX::Writer) >= 0.39
d88ab9
BuildRequires:  perl(XML::Simple)
d88ab9
Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
d88ab9
Requires:       perl(Encode)
d88ab9
Requires:       perl(HTML::TreeBuilder) >= 4.00
d88ab9
Requires:       perl(IO::Scalar)
d88ab9
Requires:       perl(Scalar::Util)
d88ab9
Requires:       perl(Text::Wrap)
d88ab9
Requires:       perl(XML::Parser) >= 2.23
d88ab9
d88ab9
%{?perl_default_filter}
d88ab9
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(XML::XPathEngine::NodeSet\\)
d88ab9
%global __requires_exclude %__requires_exclude|^perl\\(xml_split::state\\)
d88ab9
# Filter under-specified dependencies
d88ab9
%global __requires_exclude %__requires_exclude|^perl\\(XML::Parser\\)$
d88ab9
d88ab9
%description
d88ab9
This module provides a way to process XML documents. It is build on
d88ab9
top of XML::Parser.  XML::Twig offers a tree interface to the
d88ab9
document, while allowing you to output the parts of it that have been
d88ab9
completely processed.  It allows minimal resource (CPU and memory)
d88ab9
usage by building the tree only for the parts of the documents that
d88ab9
need actual processing, through the use of the twig_roots and
d88ab9
twig_print_outside_roots options.
d88ab9
d88ab9
%prep
d88ab9
%setup -q -n XML-Twig-%{version}
d88ab9
iconv -f iso88591 -t utf8 < Changes > Changes.utf8 && \
d88ab9
    mv -f Changes.utf8 Changes
d88ab9
d88ab9
%build
d88ab9
perl Makefile.PL -y INSTALLDIRS=perl
d88ab9
make %{?_smp_mflags}
d88ab9
d88ab9
%install
d88ab9
make pure_install DESTDIR=%{buildroot}
d88ab9
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
d88ab9
%{_fixperms} %{buildroot}/*
d88ab9
d88ab9
%check
d88ab9
make test
d88ab9
d88ab9
%files
d88ab9
%doc Changes README 
d88ab9
%{perl_privlib}/*
d88ab9
%{_bindir}/*
d88ab9
%{_mandir}/man1/*
d88ab9
%{_mandir}/man3/*
d88ab9
d88ab9
%changelog
828f64
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 3.44-2
828f64
- Mass rebuild 2013-12-27
828f64
d88ab9
* Tue May 14 2013 Petr Šabata <contyk@redhat.com> - 3.44-1
d88ab9
- 3.44 enhancement update
d88ab9
d88ab9
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.42-3
d88ab9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
d88ab9
d88ab9
* Mon Nov 12 2012 Petr Pisar <ppisar@redhat.com> - 3.42-2
d88ab9
- Do not build-require Test::CPAN::Meta::JSON on RHEL >= 7
d88ab9
- Keep Tidy optional
d88ab9
d88ab9
* Mon Nov 12 2012 Petr Pisar <ppisar@redhat.com> - 3.42-1
d88ab9
- 3.42 bump
d88ab9
d88ab9
* Tue Aug 14 2012 Petr Šabata <contyk@redhat.com> - 3.41-1
d88ab9
- 3.41 bump
d88ab9
d88ab9
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.40-4
d88ab9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
d88ab9
d88ab9
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 3.40-3
d88ab9
- Perl 5.16 re-rebuild of bootstrapped packages
d88ab9
d88ab9
* Mon Jun 18 2012 Petr Pisar <ppisar@redhat.com> - 3.40-2
d88ab9
- Perl 5.16 rebuild
d88ab9
d88ab9
* Fri May 11 2012 Petr Šabata <contyk@redhat.com> - 3.40-1
d88ab9
- 3.40 bump
d88ab9
- Dropping defattr and perl command macros
d88ab9
d88ab9
* Thu Apr 19 2012 Marcela Mašláňová <mmaslano@redhat.com> - 3.39-4
d88ab9
- make module Kwalitee conditional
d88ab9
d88ab9
* Tue Apr 10 2012 Marcela Mašláňová <mmaslano@redhat.com> - 3.39-3
d88ab9
- remove cyclic dependency added by mistake  810563 
d88ab9
  XML::Twig::Elt, XML::Twig::XPath
d88ab9
d88ab9
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.39-2
d88ab9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
d88ab9
d88ab9
* Thu Sep 22 2011 Petr Sabata <contyk@redhat.com> - 3.39-1
d88ab9
- 3.39 bump
d88ab9
d88ab9
* Sun Jul 24 2011 Iain Arnell <iarnell@gmail.com> 3.38-4
d88ab9
- update filtering for rpm 4.9
d88ab9
d88ab9
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 3.38-3
d88ab9
- Perl mass rebuild
d88ab9
d88ab9
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 3.38-2
d88ab9
- Perl mass rebuild
d88ab9
d88ab9
* Wed Mar 23 2011 Marcela Mašláňová <mmaslano@redhat.com> 3.38-1
d88ab9
- update to 3.38
d88ab9
- BR organize according to cpanspec list
d88ab9
d88ab9
* Mon Feb 14 2011 Marcela Mašláňová <mmaslano@redhat.com> 3.37-3
d88ab9
- 677179 filter internal xml_split::state from requires and call filter properly
d88ab9
- add new BR, which is now in Fedora
d88ab9
d88ab9
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.37-2
d88ab9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
d88ab9
d88ab9
* Mon Oct 18 2010 Marcela Mašláňová <mmaslano@redhat.com> 3.37-1
d88ab9
- update, fix BR, R
d88ab9
d88ab9
* Tue Sep 21 2010 Marcela Mašláňová <mmaslano@redhat.com> 3.35-1
d88ab9
- update
d88ab9
d88ab9
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 3.34-2
d88ab9
- Mass rebuild with perl-5.12.0
d88ab9
d88ab9
* Tue Jan 19 2010 Chris Weyl <cweyl@alumni.drew.edu> 3.34-1
d88ab9
- update prov/dep filtering to current guidelines
d88ab9
- auto-update to 3.34 (by cpan-spec-update 0.01)
d88ab9
- added a new br on perl(ExtUtils::MakeMaker) (version 0)
d88ab9
- altered br on perl(XML::Parser) (0 => 2.23)
d88ab9
d88ab9
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 3.33-2
d88ab9
- rebuild against perl 5.10.1
d88ab9
d88ab9
* Mon Oct 19 2009 Marcela Mašláňová <mmaslano@redhat.com> - 3.33-1
d88ab9
- new development release which should fix various bug reports e.g. 529220
d88ab9
d88ab9
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.32-3
d88ab9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
d88ab9
d88ab9
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.32-2
d88ab9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
d88ab9
d88ab9
* Sun Mar  2 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 3.32-1
d88ab9
- update to 3.32
d88ab9
d88ab9
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 3.29-6
d88ab9
- Rebuild for perl 5.10 (again)
d88ab9
d88ab9
* Mon Jan 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 3.29-5
d88ab9
- rebuild for new perl
d88ab9
d88ab9
* Sun Jul 08 2007 Robin Norwood <rnorwood@redhat.com> - 3.29-4
d88ab9
- Resolves: rhbz#247247
d88ab9
- Remove bogus Provides: perl(XML::XPathEngine::NodeSet), and move
d88ab9
  Requires filter into spec file.
d88ab9
d88ab9
* Thu Jun 28 2007 Robin Norwood <rnorwood@redhat.com> - 3.29-3
d88ab9
- Add several buildrequires for tests and optional features
d88ab9
d88ab9
* Sat Feb 17 2007 Jose Pedro Oliveira <jpo at="" di.uminho.pt=""> - 3.29-2
d88ab9
- Minor cleanups.
d88ab9
d88ab9
* Tue Feb 13 2007 Robin Norwood <rnorwood@redhat.com> - 3.29-1
d88ab9
- New version: 3.29
d88ab9
d88ab9
* Mon Jul 17 2006 Jason Vas Dias <jvdias@redhat.com> - 3.26-1
d88ab9
- Upgrade to 3.26
d88ab9
d88ab9
* Mon Jun 05 2006 Jason Vas Dias <jvdias@redhat.com> - 3.25-1
d88ab9
- Upgrade to 3.25
d88ab9
d88ab9
* Fri Feb 03 2006 Jason Vas Dias <jvdias@redhat.com> - 3.22-1.1
d88ab9
- Update to 3.23
d88ab9
- rebuild for new perl-5.8.8
d88ab9
d88ab9
* Mon Dec 19 2005 Jason Vas Dias<jvdias@redhat.com> - 3.22-1
d88ab9
- Update to 3.22
d88ab9
d88ab9
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
d88ab9
- rebuilt for new gcc
d88ab9
d88ab9
* Sun Apr 17 2005 Jose Pedro Oliveira <jpo at="" di.uminho.pt=""> - 3.17-1
d88ab9
- Update to 3.17.
d88ab9
- Specfile cleanup. (#155168)
d88ab9
d88ab9
* Wed Sep 22 2004 Chip Turner <cturner@redhat.com> 3.13-6
d88ab9
- rebuild
d88ab9
d88ab9
* Mon May  3 2004 Chip Turner <cturner@redhat.com> 3.13-5
d88ab9
- bugzilla 122079, add dep filter to remove bad dependency
d88ab9
d88ab9
* Fri Apr 23 2004 Chip Turner <cturner@redhat.com> 3.13-4
d88ab9
- remove Packager tag
d88ab9
d88ab9
* Fri Apr 23 2004 Chip Turner <cturner@redhat.com> 3.13-2
d88ab9
- bump
d88ab9
d88ab9
* Fri Feb 13 2004 Chip Turner <cturner@redhat.com> 3.13-1
d88ab9
- update to 3.13
d88ab9
d88ab9
* Tue Dec 10 2002 Chip Turner <cturner@redhat.com>
d88ab9
- update to latest version from CPAN
d88ab9
d88ab9
* Mon Aug 26 2002 Chip Turner <cturner@redhat.com>
d88ab9
- rebuild for build failure
d88ab9
d88ab9
* Tue Aug  6 2002 Chip Turner <cturner@redhat.com>
d88ab9
- automated release bump and build
d88ab9
d88ab9
* Wed May 29 2002 cturner@redhat.com
d88ab9
- Specfile autogenerated