Name: perl-Parse-RecDescent Version: 1.80 Release: 5 Packager: cturner@redhat.com Summary: Parse-RecDescent Perl module License: distributable Group: Development/Libraries URL: http://search.cpan.org/search?mode=module&query=Parse%3a%3aRecDescent BuildRoot: %{_tmppath}/%{name}-root BuildRequires: perl >= 0:5.00503 Source0: Parse-RecDescent-1.80.tar.gz %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} %build CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr INSTALLDIRS=vendor make make test %clean rm -rf $RPM_BUILD_ROOT %install rm -rf $RPM_BUILD_ROOT eval `perl '-V:installarchlib'` mkdir -p $RPM_BUILD_ROOT/$installarchlib make install [ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress find $RPM_BUILD_ROOT/usr -type f -print | \ sed "s@^$RPM_BUILD_ROOT@@g" | \ grep -v perllocal.pod | \ grep -v "\.packlist" > Parse-RecDescent-1.80-filelist if [ "$(cat Parse-RecDescent-1.80-filelist)X" = "X" ] ; then echo "ERROR: EMPTY FILE LIST" exit -1 fi %files -f Parse-RecDescent-1.80-filelist %defattr(-,root,root) %changelog * Thu Jun 27 2002 Chip Turner - description update * Fri Jun 07 2002 cturner@redhat.com - Specfile autogenerated