|
|
85beb9 |
Name: javacc
|
|
|
85beb9 |
Version: 7.0.4
|
|
|
85beb9 |
Release: 5%{?dist}
|
|
|
85beb9 |
Summary: A parser/scanner generator for java
|
|
|
85beb9 |
License: BSD
|
|
|
85beb9 |
URL: http://javacc.org
|
|
|
85beb9 |
Source0: https://github.com/javacc/javacc/archive/%{version}.tar.gz
|
|
|
85beb9 |
|
|
|
85beb9 |
BuildRequires: javapackages-local
|
|
|
85beb9 |
BuildRequires: ant
|
|
|
85beb9 |
BuildRequires: javacc
|
|
|
85beb9 |
# Explicit javapackages-tools requires since scripts use
|
|
|
85beb9 |
# /usr/share/java-utils/java-functions
|
|
|
85beb9 |
Requires: javapackages-tools
|
|
|
85beb9 |
|
|
|
85beb9 |
BuildArch: noarch
|
|
|
85beb9 |
|
|
|
85beb9 |
%description
|
|
|
85beb9 |
Java Compiler Compiler (JavaCC) is the most popular parser generator for use
|
|
|
85beb9 |
with Java applications. A parser generator is a tool that reads a grammar
|
|
|
85beb9 |
specification and converts it to a Java program that can recognize matches to
|
|
|
85beb9 |
the grammar. In addition to the parser generator itself, JavaCC provides other
|
|
|
85beb9 |
standard capabilities related to parser generation such as tree building (via
|
|
|
85beb9 |
a tool called JJTree included with JavaCC), actions, debugging, etc.
|
|
|
85beb9 |
|
|
|
85beb9 |
%package demo
|
|
|
85beb9 |
Summary: Examples for %{name}
|
|
|
85beb9 |
Requires: %{name} = %{version}-%{release}
|
|
|
85beb9 |
|
|
|
85beb9 |
%description demo
|
|
|
85beb9 |
Examples for %{name}.
|
|
|
85beb9 |
|
|
|
85beb9 |
%package javadoc
|
|
|
85beb9 |
Summary: Javadoc for %{name}
|
|
|
85beb9 |
|
|
|
85beb9 |
%description javadoc
|
|
|
85beb9 |
This package contains the API documentation for %{name}.
|
|
|
85beb9 |
|
|
|
85beb9 |
%prep
|
|
|
85beb9 |
%setup -q -n %{name}-%{version}
|
|
|
85beb9 |
|
|
|
85beb9 |
# Remove binary information in the source tar
|
|
|
85beb9 |
find . -name "*.jar" -delete
|
|
|
85beb9 |
find . -name "*.class" -delete
|
|
|
85beb9 |
|
|
|
85beb9 |
find ./examples -type f -exec sed -i 's/\r//' {} \;
|
|
|
85beb9 |
|
|
|
85beb9 |
%build
|
|
|
85beb9 |
build-jar-repository -p bootstrap javacc
|
|
|
85beb9 |
|
|
|
85beb9 |
# There is maven pom which doesn't really work for building. The tests don't
|
|
|
85beb9 |
# work either (even when using bundled jars).
|
|
|
85beb9 |
ant jar javadoc
|
|
|
85beb9 |
|
|
|
85beb9 |
# The pom dependencies are also wrong
|
|
|
85beb9 |
%mvn_artifact --skip-dependencies pom.xml target/javacc-%{version}.jar
|
|
|
85beb9 |
|
|
|
85beb9 |
%install
|
|
|
85beb9 |
%mvn_file : %{name}
|
|
|
85beb9 |
|
|
|
85beb9 |
%mvn_install -J target/javadoc
|
|
|
85beb9 |
|
|
|
85beb9 |
%jpackage_script javacc '' '' javacc javacc true
|
|
|
85beb9 |
ln -s %{_bindir}/javacc %{buildroot}%{_bindir}/javacc.sh
|
|
|
85beb9 |
%jpackage_script jjdoc '' '' javacc jjdoc true
|
|
|
85beb9 |
%jpackage_script jjtree '' '' javacc jjtree true
|
|
|
85beb9 |
|
|
|
85beb9 |
%files -f .mfiles
|
|
|
85beb9 |
%license LICENSE
|
|
|
85beb9 |
%doc README
|
|
|
85beb9 |
%{_bindir}/javacc
|
|
|
85beb9 |
%{_bindir}/javacc.sh
|
|
|
85beb9 |
%{_bindir}/jjdoc
|
|
|
85beb9 |
%{_bindir}/jjtree
|
|
|
85beb9 |
|
|
|
85beb9 |
%files demo
|
|
|
85beb9 |
%doc examples
|
|
|
85beb9 |
|
|
|
85beb9 |
%files javadoc -f .mfiles-javadoc
|
|
|
85beb9 |
%license LICENSE
|
|
|
85beb9 |
|
|
|
85beb9 |
%changelog
|
|
|
85beb9 |
* Wed Nov 06 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 7.0.4-5
|
|
|
85beb9 |
- Downgrade to 7.0.4
|
|
|
85beb9 |
|
|
|
85beb9 |
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 7.0.5-2
|
|
|
85beb9 |
- Mass rebuild for javapackages-tools 201902
|
|
|
85beb9 |
|
|
|
85beb9 |
* Wed Oct 23 2019 Marian Koncek <mkoncek@redhat.com> - 7.0.5-1
|
|
|
85beb9 |
- Update to upstream version 7.0.5
|
|
|
85beb9 |
|
|
|
85beb9 |
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 7.0.4-3
|
|
|
85beb9 |
- Mass rebuild for javapackages-tools 201901
|
|
|
85beb9 |
|
|
|
85beb9 |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0:7.0.4-2
|
|
|
85beb9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
85beb9 |
|
|
|
85beb9 |
* Fri Oct 26 2018 Marian Koncek <mkoncek@redhat.com> - 0:7.0.4-1
|
|
|
85beb9 |
- Update to upstream version 7.0.4
|
|
|
85beb9 |
- Resolves: rhbz#1593262
|
|
|
85beb9 |
|
|
|
85beb9 |
* Tue Jul 31 2018 Severin Gehwolf <sgehwolf@redhat.com> - 0:7.0.2-6
|
|
|
85beb9 |
- Add requirement on javapackages-tools for scripts using
|
|
|
85beb9 |
java-functions.
|
|
|
85beb9 |
|
|
|
85beb9 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0:7.0.2-5
|
|
|
85beb9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
85beb9 |
|
|
|
85beb9 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0:7.0.2-4
|
|
|
85beb9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
85beb9 |
|
|
|
85beb9 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0:7.0.2-3
|
|
|
85beb9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
85beb9 |
|
|
|
85beb9 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0:7.0.2-2
|
|
|
85beb9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
85beb9 |
|
|
|
85beb9 |
* Mon Jan 16 2017 Michael Simacek <msimacek@redhat.com> - 0:7.0.2-1
|
|
|
85beb9 |
- Update to upstream version 7.0.2
|
|
|
85beb9 |
|
|
|
85beb9 |
* Mon Jan 02 2017 Michael Simacek <msimacek@redhat.com> - 0:7.0.1-1
|
|
|
85beb9 |
- Update to upstream version 7.0.1
|
|
|
85beb9 |
|
|
|
85beb9 |
* Tue Sep 06 2016 Michael Simacek <msimacek@redhat.com> - 0:6.1.3-1
|
|
|
85beb9 |
- Update to upstream version 6.1.3
|
|
|
85beb9 |
- Use new upstream location
|
|
|
85beb9 |
- Generate scripts with jpackage_script
|
|
|
85beb9 |
|
|
|
85beb9 |
* Tue Aug 23 2016 Michael Simacek <msimacek@redhat.com> - 0:6.1.2-1
|
|
|
85beb9 |
- Update to upstream version 6.1.2
|
|
|
85beb9 |
|
|
|
85beb9 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0:5.0-14
|
|
|
85beb9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
85beb9 |
|
|
|
85beb9 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:5.0-13
|
|
|
85beb9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
85beb9 |
|
|
|
85beb9 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:5.0-12
|
|
|
85beb9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
85beb9 |
|
|
|
85beb9 |
* Thu May 29 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:5.0-11
|
|
|
85beb9 |
- Use .mfiles generated during build
|
|
|
85beb9 |
|
|
|
85beb9 |
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:5.0-10
|
|
|
85beb9 |
- Use Requires: java-headless rebuild (#1067528)
|
|
|
85beb9 |
|
|
|
85beb9 |
* Tue Jul 30 2013 Michal Srb <msrb@redhat.com> - 0:5.0-9
|
|
|
85beb9 |
- Generate javadoc
|
|
|
85beb9 |
- Drop group tag
|
|
|
85beb9 |
|
|
|
85beb9 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:5.0-8
|
|
|
85beb9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
85beb9 |
|
|
|
85beb9 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:5.0-7
|
|
|
85beb9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
85beb9 |
|
|
|
85beb9 |
* Thu Jun 28 2012 Jaromir Capik <jcapik@redhat.com> 0:5.0-6
|
|
|
85beb9 |
- Fixing #835786 - javacc: Invalid upstream URL
|
|
|
85beb9 |
- Minor spec file changes according to the latest guidelines
|
|
|
85beb9 |
|
|
|
85beb9 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:5.0-5
|
|
|
85beb9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
85beb9 |
|
|
|
85beb9 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:5.0-4
|
|
|
85beb9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
85beb9 |
|
|
|
85beb9 |
* Tue Jul 13 2010 Alexander Kurtakov <akurtako@redhat.com> 0:5.0-3
|
|
|
85beb9 |
- Fix examples line endings.
|
|
|
85beb9 |
|
|
|
85beb9 |
* Fri Jun 4 2010 Alexander Kurtakov <akurtako@redhat.com> 0:5.0-2
|
|
|
85beb9 |
- Apply changes requested in review bug (rhbz#225940).
|
|
|
85beb9 |
|
|
|
85beb9 |
* Thu Feb 11 2010 Alexander Kurtakov <akurtako@redhat.com> 0:5.0-1
|
|
|
85beb9 |
- Update to upstream 5.0 release.
|
|
|
85beb9 |
|
|
|
85beb9 |
* Tue Nov 24 2009 Alexander Kurtakov <akurtako@redhat.com> 0:4.1-0.6
|
|
|
85beb9 |
- Use standard permissions and fix unowned directories.
|
|
|
85beb9 |
|
|
|
85beb9 |
* Tue Nov 24 2009 Alexander Kurtakov <akurtako@redhat.com> 0:4.1-0.5
|
|
|
85beb9 |
- Fix rpmlint warnings.
|
|
|
85beb9 |
- Drop gcj support.
|
|
|
85beb9 |
|
|
|
85beb9 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:4.1-0.4
|
|
|
85beb9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
85beb9 |
|
|
|
85beb9 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:4.1-0.3
|
|
|
85beb9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
85beb9 |
|
|
|
85beb9 |
* Wed Dec 03 2008 Matt Wringe <mwringe@redhat.com> - 0:4.1-0.2
|
|
|
85beb9 |
- Update to remove packaged jars in source tar
|
|
|
85beb9 |
- Build with bootstrap jar so that required java source
|
|
|
85beb9 |
files get generated
|
|
|
85beb9 |
|
|
|
85beb9 |
* Wed Oct 22 2008 Jerry James <loganjerry@gmail.com> - 0:4.1-0.1
|
|
|
85beb9 |
- Update to 4.1
|
|
|
85beb9 |
- Also ship the jjrun script
|
|
|
85beb9 |
- Own the appropriate gcj directory
|
|
|
85beb9 |
- Minor spec file changes to comply with latest Fedora guidelines
|
|
|
85beb9 |
- Include the top-level index.html file in the manual
|
|
|
85beb9 |
|
|
|
85beb9 |
* Wed Jul 9 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0:4.0-4.5
|
|
|
85beb9 |
- drop repotag
|
|
|
85beb9 |
|
|
|
85beb9 |
* Fri Feb 22 2008 Matt Wringe <mwringe at redhat.com> - 0:4.0-4jpp.4
|
|
|
85beb9 |
- Rename javacc script file to javacc.sh as this confuses the makefile
|
|
|
85beb9 |
|
|
|
85beb9 |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0:4.0-4jpp.3
|
|
|
85beb9 |
- Autorebuild for GCC 4.3
|
|
|
85beb9 |
|
|
|
85beb9 |
* Thu Aug 10 2006 Matt Wringe <mwringe at redhat.com> - 0:4.0-3jpp.3
|
|
|
85beb9 |
- Rebuilt with new naming convention
|
|
|
85beb9 |
|
|
|
85beb9 |
* Sat Jul 22 2006 Jakub Jelinek <jakub@redhat.com> - 0:4.0-3jpp_2fc
|
|
|
85beb9 |
- Rebuilt
|
|
|
85beb9 |
|
|
|
85beb9 |
* Tue Jul 18 2006 Matthew Wringe <mwringe at redhat.com> - 0:4.0-3jpp_1fc
|
|
|
85beb9 |
- Merged with upstream version
|
|
|
85beb9 |
- Changed directory locations to rpm macros
|
|
|
85beb9 |
- Added conditional native compiling
|
|
|
85beb9 |
|
|
|
85beb9 |
* Thu Apr 20 2006 Fernando Nasser <fnasser@redhat.com> - 0:4.0-2jpp
|
|
|
85beb9 |
- First JPP 1.7 build
|
|
|
85beb9 |
|
|
|
85beb9 |
* Fri Mar 31 2006 Sebastiano Vigna <vigna at acm.org> - 0:4.0-1jpp
|
|
|
85beb9 |
- Updated to 4.0
|
|
|
85beb9 |
|
|
|
85beb9 |
* Mon Aug 23 2004 Randy Watler <rwatler at finali.com> - 0:3.2-2jpp
|
|
|
85beb9 |
- Rebuild with ant-1.6.2
|
|
|
85beb9 |
|
|
|
85beb9 |
* Fri Jan 30 2004 Sebastiano Vigna <vigna at acm.org> 0:3.2-1jpp
|
|
|
85beb9 |
- First JPackage version
|