SPECS: byaccj.spec (NEW) - initial from jpackage 1.7 branch

glen glen at pld-linux.org
Sun Dec 2 17:19:53 CET 2007


Author: glen                         Date: Sun Dec  2 16:19:52 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial from jpackage 1.7 branch

---- Files affected:
SPECS:
   byaccj.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/byaccj.spec
diff -u /dev/null SPECS/byaccj.spec:1.1
--- /dev/null	Sun Dec  2 17:19:52 2007
+++ SPECS/byaccj.spec	Sun Dec  2 17:19:47 2007
@@ -0,0 +1,54 @@
+# $Revision$, $Date$
+# TODO
+# - why only i386?
+Summary:	Parser Generator with Java Extension
+Name:		byaccj
+Version:	1.11
+Release:	0.1
+License:	GPL
+Group:		Development/Languages/Java
+URL:		http://byaccj.sourceforge.net/
+Source0:	http://dl.sourceforge.net/byaccj/%{name}%{version}_src.tar.gz
+# Source0-md5:	c8461131339b238ed750fe6509fae16b
+BuildArch:	i386
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%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
+%{__make} -C src linux
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
+install src/yacc.linux $RPM_BUILD_ROOT%{_bindir}/%{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc docs/*
+%attr(755, root, root) %{_bindir}/%{name}
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2007-12-02 16:19:47  glen
+- initial from jpackage 1.7 branch
+
================================================================


More information about the pld-cvs-commit mailing list