%define upstream_name Parse-RecDescent-Consumer %define upstream_version 1.03 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: 4 Summary: Parse::RecDescent::Consumer - reveal text matched through n token transitions License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Parse/%{upstream_name}-%{upstream_version}.tar.bz2 BuildRequires: perl-devel BuildArch: noarch %description A common need when writing grammars is to know how much text was consumed at different points in a parse. Usually, this involves a lot of brain-twisting unwinding of of highly nested list-of-lists (of lists...). Instead this module allows you to take the low-road approach. You simply create a Consumer which records the current text about to be parsed. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build perl Makefile.PL INSTALLDIRS=vendor %make %check make test %install %makeinstall_std %files %doc Changes %{perl_vendorlib}/Parse/RecDescent/Consumer.pm %{_mandir}/*/* %changelog * Wed Jul 29 2009 Jérôme Quelin 1.30.0-1mdv2010.0 + Revision: 404286 - rebuild using %%perl_convert_version * Wed Jul 23 2008 Thierry Vignaud 1.03-4mdv2009.0 + Revision: 241810 - rebuild - kill re-definition of %%buildroot on Pixel's request + Olivier Blin - restore BuildRoot * Sat Sep 15 2007 Guillaume Rousse 1.03-2mdv2008.0 + Revision: 86768 - rebuild * Wed Sep 13 2006 Oden Eriksson 1.03-1mdv2007.0 - rebuild * Thu Jul 14 2005 Oden Eriksson 1.03-1mdk - initial Mandriva package