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