Name: byaccj Version: 1.14 Release: 1mamba Summary: Parser Generator with Java Extension Group: Development/Libraries Vendor: openmamba Distribution: openmamba Packager: gil URL: http://byaccj.sourceforge.net/ Source: http://mesh.dl.sourceforge.net/sourceforge/byaccj/byaccj%{version}_src.tar.gz License: Public Domain BuildRoot: %{_tmppath}/%{name}-%{version}-root %description BYACC/J is an extension of the Berkeley v 1.8 YACC-compatible parser generator. Standard YACC takes a YACC source file, and generates one or more C files from it, which if compiled properly, will produce a LALR-grammar parser. This is useful for expression parsing, interactive command parsing, and file reading. Many megabytes of YACC code have been written over the years. This is the standard YACC tool that is in use every day to produce C/C++ parsers. I have added a "-J" flag which will cause BYACC to generate Java source code, instead. So there finally is a YACC for Java now! %prep %setup -q -n %{name}%{version}_src %build pushd src make linux popd %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" mkdir -p %{buildroot}%{_bindir} install -m 755 src/yacc.linux %{buildroot}%{_bindir}/byaccj mkdir -p %{buildroot}%{_mandir}/man1 #install -m 644 docs/yacc.cat %{buildroot}%{_mandir}/man1 install -m 644 src/yacc.1 %{buildroot}%{_mandir}/man1/byacc.1 %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_bindir}/byaccj #%{_mandir}/man1/yacc.cat.gz %{_mandir}/man1/byacc.1.gz %doc docs/* src/readme src/README %changelog * Mon Mar 02 2009 gil 1.14-1mamba - package created by autospec