Name: perl-XML-Parser-Lite-Tree Version: 0.10 Release: 1%{?dist} Summary: Lightweight XML tree builder License: Artistic 2.0 Group: Development/Libraries URL: http://search.cpan.org/dist/XML-Parser-Lite-Tree/ Source0: http://www.cpan.org/authors/id/I/IA/IAMCAL/XML-Parser-Lite-Tree-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This is a singleton class for parsing XML into a tree structure. How does this differ from other XML tree generators? By using XML::Parser::Lite, which is a pure perl XML parser. Using this module you can tree-ify simple XML without having to compile any C. %prep %setup -q -n XML-Parser-Lite-Tree-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Wed Aug 19 2009 Juan J. Martinez - 0.10-1 - Update to newer version with bug fixes * Sun Aug 02 2009 Michal Ingeli - 0.09-1 - Update to newer version with fixed license * Sun Jun 21 2009 Michal Ingeli - 0.08-1 - Specfile autogenerated by cpanspec 1.77.