60efdd
Summary:	Parser Generator with Java Extension
60efdd
Name:		byaccj
60efdd
Version:	1.15
60efdd
Release:	19%{?dist}
60efdd
License:	Public Domain
60efdd
URL:		http://byaccj.sourceforge.net/
60efdd
60efdd
Source0:	http://sourceforge.net/projects/byaccj/files/byaccj/1.15/byaccj1.15_src.tar.gz
60efdd
60efdd
BuildRequires:  gcc
60efdd
BuildRequires:  make
60efdd
60efdd
%description
60efdd
BYACC/J is an extension of the Berkeley v 1.8 YACC-compatible 
60efdd
parser generator. Standard YACC takes a YACC source file, and 
60efdd
generates one or more C files from it, which if compiled properly, 
60efdd
will produce a LALR-grammar parser. This is useful for expression 
60efdd
parsing, interactive command parsing, and file reading. Many 
60efdd
megabytes of YACC code have been written over the years.
60efdd
This is the standard YACC tool that is in use every day to produce 
60efdd
C/C++ parsers. I have added a "-J" flag which will cause BYACC to 
60efdd
generate Java source code, instead. So there finally is a YACC for 
60efdd
Java now! 
60efdd
60efdd
%prep
60efdd
%setup -q -n %{name}%{version}
60efdd
chmod -c -x src/* docs/*
60efdd
sed -i -e 's|-arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4||g' src/Makefile
60efdd
60efdd
%build
60efdd
pushd src
60efdd
make yacc CFLAGS="%{optflags}" LDFLAGS=""
60efdd
popd
60efdd
60efdd
%install
60efdd
install -d -m 755 %{buildroot}%{_bindir}
60efdd
install -p -m 755 src/yacc %{buildroot}%{_bindir}/%{name}
60efdd
60efdd
%files
60efdd
%doc docs/* src/README
60efdd
%{_bindir}/%{name}
60efdd
60efdd
%changelog
60efdd
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.15-19
60efdd
- Mass rebuild for javapackages-tools 201902
60efdd
60efdd
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.15-18
60efdd
- Mass rebuild for javapackages-tools 201901
60efdd
60efdd
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.15-17
60efdd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
60efdd
60efdd
* Fri Sep 22 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.15-16
60efdd
- Cleanup spec file
60efdd
60efdd
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.15-15
60efdd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
60efdd
60efdd
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.15-14
60efdd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
60efdd
60efdd
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.15-13
60efdd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
60efdd
60efdd
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.15-12
60efdd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
60efdd
60efdd
* Tue Jun 23 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.15-11
60efdd
- Don't install bogus manpage
60efdd
60efdd
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.15-10
60efdd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
60efdd
60efdd
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.15-9
60efdd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
60efdd
60efdd
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.15-8
60efdd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
60efdd
60efdd
* Fri Jul 26 2013 Ville Skyttä <ville.skytta@iki.fi> - 0:1.15-7
60efdd
- Simplify installation of docs.
60efdd
- Drop executable bits from sources and docs.
60efdd
60efdd
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.15-6
60efdd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
60efdd
60efdd
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.15-5
60efdd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
60efdd
60efdd
* Thu Jan 26 2012 Alexander Kurtakov <akurtako@redhat.com> - 0:1.15-4
60efdd
- Fix build.
60efdd
60efdd
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.15-3
60efdd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
60efdd
60efdd
* Tue Sep 06 2011 Luis Bazan <bazanluis20@gmail.com> 0:1.15-2
60efdd
- New Release
60efdd
60efdd
* Thu Aug 25 2011 Luis Bazan <bazanluis20@gmail.com> 0:1.15-1
60efdd
- Update to 1.15
60efdd
60efdd
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.14-6
60efdd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
60efdd
60efdd
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.14-5
60efdd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
60efdd
60efdd
* Sun May 10 2009 Ville Skyttä <ville.skytta@iki.fi> - 0:1.14-4
60efdd
- Build with %%{optflags} (#500022).
60efdd
60efdd
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.14-3
60efdd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
60efdd
60efdd
* Wed Jul  9 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0:1.14-2
60efdd
- drop repotag
60efdd
60efdd
* Sat Feb 9 2008 Devrim GUNDUZ <devrim@commandprompt.com> - 0:1.14-1jpp.1
60efdd
- Update to 1.14
60efdd
- Cosmetic cleanup in spec
60efdd
60efdd
* Tue Mar 06 2007 Vivek Lakshmanan <vivekl@redhat.com> - 0:1.11-2jpp.2.fc7
60efdd
- First build in fedora after passing review
60efdd
60efdd
* Thu Feb 15 2007 Tania Bento <tbento@redhat.com> - 0:1.11-2jpp.1
60efdd
- Fixed the %%Release tag.
60efdd
- Changed the %%License tag.
60efdd
- Fixed the %%BuildRoot tag.
60efdd
- Removed the %%Vendor tag.
60efdd
- Removed the %%Distribution tag.
60efdd
- Removed the %%BuildRequires: gcc and make tags as these d not need to be
60efdd
listed.
60efdd
- Removed "%%define section free".
60efdd
- Added "sed -i 's/\r//g docs/tf.y' to fix a warning generated by
60efdd
rpmlint.
60efdd
- Fixed the %%Source0 tag.
60efdd
- Changed the %%Group tag.
60efdd
- Installed man pages in proper directory. 
60efdd
60efdd
* Wed Jan 04 2006 Fernando Nasser <fnasser@redhat.com> - 0:1.11-2jpp
60efdd
- First JPP 1.7 build
60efdd
60efdd
* Wed Nov 16 2005 Ralph Apel <r.apel at r-apel.de> - 0:1.11-1jpp
60efdd
- First JPackage release
60efdd