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