From 0da8ac0a98e3605a50f2f6e833cc144d34c9d97eee3ae8bbdfabcc41ee86680d Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Tue, 28 Apr 2009 02:29:57 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/byaccj?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++ .gitignore | 1 + byaccj.changes | 5 +++ byaccj.spec | 74 +++++++++++++++++++++++++++++++++++++++++++ byaccj1.14_src.tar.gz | 3 ++ ready | 0 6 files changed, 106 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 byaccj.changes create mode 100644 byaccj.spec create mode 100644 byaccj1.14_src.tar.gz create mode 100644 ready diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/byaccj.changes b/byaccj.changes new file mode 100644 index 0000000..a3a539a --- /dev/null +++ b/byaccj.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Sat Apr 25 16:51:10 CEST 2009 - mvyskocil@suse.cz + +- created package + diff --git a/byaccj.spec b/byaccj.spec new file mode 100644 index 0000000..aa26698 --- /dev/null +++ b/byaccj.spec @@ -0,0 +1,74 @@ +# +# spec file for package byaccj (Version 1.14) +# +# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Summary: Parser Generator with Java Extension + +Name: byaccj +Version: 1.14 +Release: 2 +%define jpp_release 3 +License: Public Domain, Freeware +Url: http://byaccj.sourceforge.net/ +Group: Development/Libraries/Java +Source0: http://downloads.sourceforge.net/%{name}/%{name}%{version}_src.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Requires: man-pages + +%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 +sed -i 's/\r//g' docs/tf.y + +%install +# manual +install -d -m 755 %{buildroot}%{_mandir}/man1 +mv docs/yacc.cat %{buildroot}%{_mandir}/man1 +# jars +mkdir -p %{buildroot}%{_bindir} +cp -p src/yacc.linux \ + %{buildroot}%{_bindir}/%{name} + +%clean +rm -rf %{buildroot} + +%files +%defattr(0644,root,root,0755) +%doc docs/* src/readme src/README +%{_mandir}/man1/yacc.cat* +%attr(755, root, root) %{_bindir}/%{name} + +%changelog +* Sat Apr 25 2009 mvyskocil@suse.cz +- created package diff --git a/byaccj1.14_src.tar.gz b/byaccj1.14_src.tar.gz new file mode 100644 index 0000000..60acf47 --- /dev/null +++ b/byaccj1.14_src.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2d257c2a4afb01aac1c08ba22c27f36bc4b39819d8b38e31cb7f44c25bdc23ba +size 55123 diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4