%define pkg_name XML-Grove %define pkg_version 0.46alpha %define rpm_pkg_version 0.46 %define rpm_pkg_release 40.n0i.7 Summary: Flexible lightweight mid-level XML objects Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/K/KM/KMACLEOD/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: reb00t-rpmdevtools BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(XML::Parser) >= 2.19 %global perl_filter_prov 'perl\\(XML::Grove\\)$' %description XML::Grove is a tree-based object model for accessing the information set of parsed or stored XML, HTML, or SGML instances. XML::Grove objects are Perl hashes and arrays where you access the properties of the objects using normal Perl syntax. %prep %setup -q -n %{pkg_name}-%{pkg_version} %{fix_perl_path examples/} %build %{perl_build} # test fail! mdeah, oldie module %{!?_without_test:%{__make} test || :} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %doc ChangeLog Changes COPYING DOM examples/ README %changelog * Fri Jun 15 2007 Marius Feraru - 0.46-40.n0i.7.0.46alpha - spec file (re)created using N0i::CPAN::RPMizer/1.14.9 - rebuild on perl 5.8.8 * Sat Jul 23 2005 Marius Feraru 0.46-39.n0i.6.0.46alpha - spec file (re)created using N0i::CPAN::RPMizer/1.01 - rebuild on perl 5.8.7 * Wed Mar 30 2005 Marius FERARU 0:0.46-38.n0i.5 - rebuild (FC4) * Thu Dec 02 2004 Marius FERARU 0:0.46-37.n0i.4 - rebuild (perl 5.8.6) - no dependencies are to be computed based on files in %%docdir * Tue May 11 2004 Marius Feraru 0:0.46-36.n0i.3 - spec file (re?)created using N0i::CPAN::RPMizer/2004050401 - rebuild (perl 5.8.4) * Fri Jan 23 2004 Marius FERARU 0:0.46-25.n0i.0.alpha.2 - automatic rebuild (perl v.5.8.3) * Tue Dec 30 2003 Marius FERARU 0:0.46-25.n0i.0.alpha.1 - version 0.46 - spec file (re?)created using N0i::CPAN::RPMizer/2003102001 * Tue Aug 6 2002 Chip Turner - automated release bump and build * Tue Jun 4 2002 Chip Turner - properly claim directories owned by package so they are removed when package i s removed * Sat Jan 26 2002 Jeff Johnson - add internal provides. * Wed Jan 09 2002 Tim Powers - automated rebuild * Mon Jul 23 2001 Crutcher Dunnavant 0.46alpha-2 - imported from mandrake * Mon Jun 18 2001 Till Kamppeter 0.46alpha-1mdk - Newly introduced for Foomatic.