From 91db67d2282314b5734bc2c63a57f130f3d4f098 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 21:02:15 +0100 Subject: [PATCH] automatic update by autodist [release 20130925-1mamba;Mon Sep 30 2013] --- README.md | 9 +++++++ byacc.spec | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 87 insertions(+) create mode 100644 byacc.spec diff --git a/README.md b/README.md index c80bc4b..8d1e031 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,11 @@ # byacc +Berkeley Yacc (byacc) is generally conceded to be the best yacc variant available. +In contrast to bison, it is written to avoid dependencies upon a particular compiler. + +Byacc was written around 1990 by Robert Corbett who is the original author of bison. +Originally written in K&R C, I have modified it to conform to ANSI C, and +made other improvements. + +See the changelog for details. + diff --git a/byacc.spec b/byacc.spec new file mode 100644 index 0000000..8c6e10d --- /dev/null +++ b/byacc.spec @@ -0,0 +1,78 @@ +Name: byacc +Version: 20130925 +Release: 1mamba +Summary: an LALR parser generator. +Group: Development/Tools +Vendor: openmamba +Distribution: openmamba +Packager: Automatic Build System +URL: http://invisible-island.net/byacc/byacc.html +Source: ftp://invisible-island.net/byacc/byacc-%{version}.tgz +License: Public Domain +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Berkeley Yacc (byacc) is generally conceded to be the best yacc variant available. +In contrast to bison, it is written to avoid dependencies upon a particular compiler. + +Byacc was written around 1990 by Robert Corbett who is the original author of bison. +Originally written in K&R C, I have modified it to conform to ANSI C, and +made other improvements. + +See the changelog for details. + +%prep +%setup -q + +%build +%configure --disable-dependency-tracking +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall +# fix conflicts with file from package bison +mv yacc %{buildroot}%{_bindir}/byacc +mv yacc.1 %{buildroot}%{_mandir}/man1/byaccc.1 +rm -rf %{buildroot}%{_mandir}/man1/yacc.1* +rm -rf %{buildroot}%{_bindir}/yacc + +%check +make check + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/byacc +%{_mandir}/man1/byaccc.1.gz +%doc ACKNOWLEDGEMENTS CHANGES NEW_FEATURES NOTES NO_WARRANTY README + +%changelog +* Mon Sep 30 2013 Automatic Build System 20130925-1mamba +- automatic update by autodist + +* Fri Mar 08 2013 Automatic Build System 20130304-1mamba +- automatic version update by autodist + +* Tue Oct 09 2012 Automatic Build System 20121003-1mamba +- automatic version update by autodist + +* Thu Jun 14 2012 Automatic Build System 20120526-1mamba +- automatic version update by autodist + +* Sat Sep 10 2011 Automatic Build System 20110908-1mamba +- automatic version update by autodist + +* Fri Feb 04 2011 gil 20101229-1mamba +- update to 20101229 + +* Wed Nov 10 2010 gil 20100610-1mamba +- update to 20100610 + +* Mon Jan 12 2009 gil 20080826-1mamba +- package created by autospec