%global pkg_name XML-Twig %global pkg_version 3.33 %global rpm_pkg_version 3.33 %global rpm_pkg_release 1.n0i.22 Summary: A module for easy processing of XML Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/M/MI/MIROD/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: rpm-build-reb00t-perl BuildRequires: perl(XML::Parser) >= 2.23 %description This module provides a way to process XML documents. It is build on top of XML::Parser. XML::Twig offers a tree interface to the document, while allowing you to output the parts of it that have been completely processed. It allows minimal resource (CPU and memory) usage by building the tree only for the parts of the documents that need actual processing, through the use of the twig_roots and twig_print_outside_roots options. %prep %setup -q -n %{pkg_name}-%{pkg_version} %{fix_encoding Changes} %build %{perl_build} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files -b -m} %doc Changes README %changelog * Sun Oct 18 2009 Marius FERARU - 3.33-1.n0i.22 - version 3.33 * Wed Nov 14 2007 Marius Feraru - 3.32-1.n0i.21 - version 3.32 * Thu Nov 08 2007 Marius Feraru - 3.31-1.n0i.20 - version 3.31 * Wed Nov 07 2007 Marius Feraru - 3.30-1.n0i.19 - version 3.30 * Tue May 22 2007 Marius Feraru - 3.29-1.n0i.18 - spec file (re)created using N0i::CPAN::RPMizer v1.14.7 - version 3.29 * Sun Jul 02 2006 Marius Feraru - 3.26-1.n0i.17 - version 3.26 * Sat May 13 2006 Marius Feraru - 3.25-1.n0i.16 - version 3.25 * Thu May 11 2006 Marius Feraru - 3.24-1.n0i.15 - version 3.24 * Fri Feb 03 2006 Marius Feraru - 3.23-1.n0i.14 - version 3.23 * Mon Oct 17 2005 Marius Feraru 3.22-1.n0i.13 - version 3.22 * Wed Aug 17 2005 Marius FERARU 3.21-1.n0i.12 - version 3.21 * Thu Jul 21 2005 Marius Feraru 3.17-18.n0i.11 - spec file (re)created using N0i::CPAN::RPMizer/1.01 - rebuild on perl 5.8.7 * Sun Mar 20 2005 Marius Feraru 0:3.17-17.n0i.10 - version 3.17 * Thu Dec 02 2004 Marius Feraru 0:3.15-16.n0i.9 - automatic rebuild (perl 5.8.6) * Sat May 08 2004 Marius FERARU 0:3.15-15.n0i.8 - rebuild (to beat Fedora's official release) * Fri Apr 30 2004 Marius Feraru 0:3.15-3.n0i.7 - automatic rebuild * Wed Apr 21 2004 Marius Feraru 0:3.15-2.n0i.6 - automatic rebuild * Wed Apr 07 2004 Marius FERARU 0:3.15-1.n0i.5 - version 3.15 * Sat Apr 03 2004 Marius Feraru 0:3.14-1.n0i.4 - version 3.14 - spec file (re?)created using N0i::CPAN::RPMizer/2004032101 * Sun Feb 22 2004 Marius FERARU 0:3.13-1.n0i.3 - version 3.13 * Fri Jan 23 2004 Marius FERARU 0:3.11-0.n0i.2 - automatic rebuild (perl v.5.8.3) * Wed Dec 31 2003 Marius FERARU 0:3.11-0.n0i.1 - version 3.11 - spec file (re?)created using N0i::CPAN::RPMizer/2003102001 * Tue Dec 10 2002 Chip Turner - update to latest version from CPAN * Mon Aug 26 2002 Chip Turner - rebuild for build failure * Tue Aug 6 2002 Chip Turner - automated release bump and build * Wed May 29 2002 cturner@redhat.com - Specfile autogenerated