SHA256
1
0
forked from pool/antlr3
Fridrich Strba 2019-11-10 06:13:00 +00:00 committed by Git OBS Bridge
parent f682684736
commit e1d3f5f223

View File

@ -32,8 +32,6 @@
%endif %endif
Version: %{antlr_version} Version: %{antlr_version}
Release: 0 Release: 0
License: BSD-3-Clause
Group: Development/Libraries/Java
URL: https://www.antlr3.org/ URL: https://www.antlr3.org/
Source0: https://github.com/antlr/antlr3/archive/%{antlr_version}.tar.gz Source0: https://github.com/antlr/antlr3/archive/%{antlr_version}.tar.gz
Patch0: 0001-java8-fix.patch Patch0: 0001-java8-fix.patch
@ -42,15 +40,17 @@ Patch1: osgi-manifest.patch
Patch100: antlr3-generated_sources.patch Patch100: antlr3-generated_sources.patch
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: maven-local BuildRequires: maven-local
BuildRequires: unzip
BuildRequires: mvn(antlr:antlr) BuildRequires: mvn(antlr:antlr)
BuildRequires: mvn(org.antlr:stringtemplate) BuildRequires: mvn(org.antlr:stringtemplate)
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:) BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
BuildRequires: unzip
BuildArch: noarch BuildArch: noarch
%if %{with runtime} %if %{with runtime}
Name: antlr3-java Name: antlr3-java
Summary: Java run-time support for ANTLR-generated parsers Summary: Java run-time support for ANTLR-generated parsers
License: BSD-3-Clause
Group: Development/Libraries/Java
%description %description
Java run-time support for ANTLR-generated parsers Java run-time support for ANTLR-generated parsers
@ -58,6 +58,9 @@ Java run-time support for ANTLR-generated parsers
%else %else
Summary: ANother Tool for Language Recognition Summary: ANother Tool for Language Recognition
License: BSD-3-Clause
Group: Development/Libraries/Java
BuildRequires: unzip
BuildRequires: mvn(org.antlr:ST4) BuildRequires: mvn(org.antlr:ST4)
BuildRequires: mvn(org.antlr:antlr-runtime) BuildRequires: mvn(org.antlr:antlr-runtime)
BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin)
@ -65,7 +68,6 @@ BuildRequires: mvn(org.apache.maven:maven-plugin-api)
BuildRequires: mvn(org.apache.maven:maven-project) BuildRequires: mvn(org.apache.maven:maven-project)
BuildRequires: mvn(org.codehaus.plexus:plexus-compiler-api) BuildRequires: mvn(org.codehaus.plexus:plexus-compiler-api)
BuildRequires: mvn(xerces:dom3-xml-apis) BuildRequires: mvn(xerces:dom3-xml-apis)
BuildRequires: unzip
%if %{with bootstrap} %if %{with bootstrap}
Name: antlr3-bootstrap Name: antlr3-bootstrap