Name: perl-Parse-RecDescent Version: 1.964 Release: 1%{?_dist_release} Summary: Parse-RecDescent Perl module Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Parse-RecDescent/ Source0: http://search.cpan.org/CPAN/authors/id/D/DC/DCONWAY/Parse-RecDescent-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker), perl(version), perl(Test::More) BuildRequires: perl(Test::Pod) BuildRequires: perl(Text::Balanced) Distribution: Vine Vendor: Project Vine Packager: munepi %{?perl_default_filter} %description Parse::RecDescent incrementally generates top-down recursive-descent text parsers from simple yacc-like grammar specifications. It provides: * Regular expressions or literal strings as terminals (tokens), * Multiple (non-contiguous) productions for any rule, * Repeated and optional subrules within productions, * Full access to Perl within actions specified as part of the grammar, * Simple automated error reporting during parser generation and parsing, * The ability to commit to, uncommit to, or reject particular productions during a parse, * The ability to pass data up and down the parse tree ("down" via subrule argument lists, "up" via subrule return values) * Incremental extension of the parsing grammar (even during a parse), * Precompilation of parser objects, User-definable reduce-reduce conflict resolution via "scoring" of matching productions. %prep %setup -q -n Parse-RecDescent-%{version} chmod a-x demo/* tutorial/* %{__perl} -pi -e 's|^#!\s?/usr/local/bin/perl\b|#!%{__perl}|' demo/* %{__perl} -pi -e 's|^#!\s?/opt/local/bin/perl5\.10\.0\b|#!%{__perl}|' demo/* for f in Changes demo/demo_dot.pl; do iconv -f iso-8859-1 -t utf-8 < "$f" > "${f}_" && %__mv -f "${f}_" "$f" done %build %{__perl} Makefile.PL INSTALLDIRS=vendor %__make %{?_smp_mflags} %install %__rm -rf $RPM_BUILD_ROOT %__make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec %__rm -f {} ';' find $RPM_BUILD_ROOT -type d -depth -exec %__rmdir {} 2>/dev/null ';' %__chmod -R u+w $RPM_BUILD_ROOT/* %check %__make test %clean %__rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_vendorlib}/Parse/ %{_mandir}/man3/*.3* %doc Changes README demo/ tutorial/ %changelog * Thu Aug 12 2010 Munehiro Yamamoto - 1.964-1 - initial build * Tue May 04 2010 Marcela Maslanova - 1.964-2 - Mass rebuild with perl-5.12.0 * Fri Feb 19 2010 Marcela Mašláňová 1.964-1 - update, fix previous issue and https://rt.cpan.org/Public/Bug/Display.html?id=53948 * Tue Feb 16 2010 Marcela Mašláňová 1.963-2 - apply upstream patch https://rt.cpan.org/Public/Bug/Display.html?id=54457 which should fix problems with rebuilds of other modules * Tue Feb 9 2010 Paul Howarth 1.963-1 - update to 1.963 (fix subtle bug in leftop and rightop due to removal of $&) - recode Changes as utf-8 - more script interpreter fixes * Sun Sep 27 2009 Chris Weyl 1.962.2-1 - updated for latest GA SQL::Translator - add default filtering - auto-update to 1.962.2 (by cpan-spec-update 0.01) - added a new br on perl(Text::Balanced) (version 0) * Sun Jul 26 2009 Fedora Release Engineering - 1.96-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 1.96-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Mon Feb 2 2009 Stepan Kasal - 1.96-1 - new upstream version * Wed Feb 27 2008 Tom "spot" Callaway - 1.95.1-5 - Rebuild for perl 5.10 (again) * Sun Jan 20 2008 Tom "spot" Callaway - 1.95.1-4 - rebuild for new perl * Wed Nov 14 2007 Robin Norwood - 1.95.1-3 - Apply fixes from package review: - Remove BR: perl - Use iconv to convert file to utf-8 - Include BR: perl(Test::Pod) - Fix old changelog entry - Resolves: bz#226274 * Tue Oct 16 2007 Tom "spot" Callaway - 1.95.1-2 - add BR: perl(version), perl(Test::More) * Tue Oct 16 2007 Tom "spot" Callaway - 1.95.1-1 - bump to 1.95.1 - correct license tag (now under perl license) - add BR: perl(ExtUtils::MakeMaker) * Fri Jul 20 2007 Robin Norwood - 1.94-6.fc8 - Bring fixes from EPEL build into F8 - Fix minor specfile issues - Package the docs as well * Wed Jul 12 2006 Jesse Keating - 1.94-5.2.1 - rebuild * Fri Feb 03 2006 Jason Vas Dias - 1.94-5.2 - rebuild for new perl-5.8.8 * Fri Dec 16 2005 Jesse Keating - rebuilt for new gcc * Fri Dec 16 2005 Jesse Keating - rebuilt for new gcj * Thu Apr 21 2005 Jose Pedro Oliveira - 1.94-5 - #155620 - Bring up to date with current Fedora.Extras perl spec template. * Wed Sep 22 2004 Chip Turner 1.94-4 - rebuild * Tue Feb 17 2004 Chip Turner 1.94-2 - fix rm to not be interactive (bz115997) * Fri Feb 13 2004 Chip Turner 1.94-1 - update to 1.94 * Tue Aug 6 2002 Chip Turner - automated release bump and build * Sat Jul 20 2002 Chip Turner - remove Text::Balanced modules since they are now in core perl * Thu Jun 27 2002 Chip Turner - description update * Fri Jun 07 2002 cturner@redhat.com - Specfile autogenerated