]> git.pld-linux.org Git - packages/byaccj.git/commitdiff
- initial from jpackage 1.7 branch
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 2 Dec 2007 16:19:47 +0000 (16:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    byaccj.spec -> 1.1

byaccj.spec [new file with mode: 0644]

diff --git a/byaccj.spec b/byaccj.spec
new file mode 100644 (file)
index 0000000..b040a81
--- /dev/null
@@ -0,0 +1,43 @@
+# 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}
This page took 0.073743 seconds and 4 git commands to generate.