From b4777b627e081192bf78d6b8966b65b73ce2df79ea7d48bc37c89d438c7a2ba4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Sat, 3 Sep 2011 15:16:17 +0000 Subject: [PATCH] Accepting request 80777 from home:gberh Please add byacc. OBS-URL: https://build.opensuse.org/request/show/80777 OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/byacc?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++++ .gitignore | 1 + byacc.changes | 5 ++++ byacc.spec | 80 ++++++++++++++++++++++++++++++++++++++++++++++++++ byacc.tar.gz | 3 ++ 5 files changed, 112 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 byacc.changes create mode 100644 byacc.spec create mode 100644 byacc.tar.gz 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/byacc.changes b/byacc.changes new file mode 100644 index 0000000..95d0d7d --- /dev/null +++ b/byacc.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Mon Mar 29 18:27:53 UTC 2010 - guido+opensuse.org@berhoerster.name + +- initial packaging of byacc + diff --git a/byacc.spec b/byacc.spec new file mode 100644 index 0000000..14f90ad --- /dev/null +++ b/byacc.spec @@ -0,0 +1,80 @@ +# +# spec file for package byacc (Version 20100216) +# +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 Guido Berhoerster. +# +# 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/ +# + +Name: byacc +Version: 20100216 +Release: 1 +Summary: LALR(1) parser generator +Group: Development/Languages/C and C++ +License: Public Domain +Url: http://invisible-island.net/byacc/byacc.html +AutoReqProv: on +Source: http://invisible-island.net/datafiles/release/byacc.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +Berkeley Yacc is a LALR(1) parser generator. It has been made as compatible as +possible with AT&T Yacc and it accepts any input specification that conforms to +the AT&T Yacc documentation. In contrast to bison, it is written to avoid +dependencies upon a particular compiler. + +Authors: +-------- + Robert Corbett + Thomas E. Dickey + Benson I. Margulies + Dave Gentzel + Antoine Verheijen + Peter S. Housel + Dale Smith + Ozan Yigit + John Campbell + Bill Sommerfeld + Paul Hilfinger + Gary Bridgewater + Dave Bakken + Dan Lanciani + Richard Sargent + Parag Patel + + +%prep +%setup + +%build +# without --with-warnings several functions will not be marked with gcc's +# noreturn attribute and produce warnings when $RPM_OPT_FLAGS contains -Wall +%configure --with-warnings +make %{?_smp_mflags} + +%install +%makeinstall +mv %{buildroot}%{_bindir}/yacc %{buildroot}%{_bindir}/byacc +mv %{buildroot}%{_mandir}/man1/yacc.1 %{buildroot}%{_mandir}/man1/byacc.1 + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc ACKNOWLEDGEMENTS CHANGES NEW_FEATURES NO_WARRANTY NOTES README +%doc %{_mandir}/man1/byacc.1* +%{_bindir}/byacc + +%changelog + diff --git a/byacc.tar.gz b/byacc.tar.gz new file mode 100644 index 0000000..1a68d41 --- /dev/null +++ b/byacc.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:805309c131dcd45ae1cb6b385228633244070f11a63688e34d7d14448e204fa0 +size 155635