This commit is contained in:
parent
022af96e44
commit
0a864f7893
15
antlr3.spec
15
antlr3.spec
@ -32,15 +32,14 @@
|
|||||||
%endif
|
%endif
|
||||||
Version: %{antlr_version}
|
Version: %{antlr_version}
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: ANother Tool for Language Recognition
|
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Libraries/Java
|
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
|
||||||
Patch100: antlr3-generated_sources.patch
|
|
||||||
# Generate OSGi metadata
|
# Generate OSGi metadata
|
||||||
Patch1: osgi-manifest.patch
|
Patch1: osgi-manifest.patch
|
||||||
|
Patch100: antlr3-generated_sources.patch
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: maven-local
|
BuildRequires: maven-local
|
||||||
BuildRequires: mvn(antlr:antlr)
|
BuildRequires: mvn(antlr:antlr)
|
||||||
@ -48,15 +47,17 @@ 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
|
BuildRequires: unzip
|
||||||
|
BuildArch: noarch
|
||||||
%if %{with runtime}
|
%if %{with runtime}
|
||||||
Name: antlr3-java
|
Name: antlr3-java
|
||||||
BuildArch: noarch
|
Summary: Java run-time support for ANTLR-generated parsers
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Java run-time support for ANTLR-generated parsers
|
Java run-time support for ANTLR-generated parsers
|
||||||
|
|
||||||
%else
|
%else
|
||||||
|
|
||||||
|
Summary: ANother Tool for Language Recognition
|
||||||
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)
|
||||||
@ -92,7 +93,11 @@ Group: Development/Libraries/Java
|
|||||||
Requires: mvn(org.antlr:antlr-runtime) = %{antlr_version}
|
Requires: mvn(org.antlr:antlr-runtime) = %{antlr_version}
|
||||||
# Explicit requires for javapackages-tools since antlr3-script
|
# Explicit requires for javapackages-tools since antlr3-script
|
||||||
# uses /usr/share/java-utils/java-functions
|
# uses /usr/share/java-utils/java-functions
|
||||||
BuildArch: noarch
|
Requires: javapackages-tools
|
||||||
|
%if %{without bootstrap}
|
||||||
|
Provides: antlr3-bootstrap-tool
|
||||||
|
Conflicts: antlr3-bootstrap-tool
|
||||||
|
%endif
|
||||||
|
|
||||||
%description tool
|
%description tool
|
||||||
ANother Tool for Language Recognition, is a language tool
|
ANother Tool for Language Recognition, is a language tool
|
||||||
@ -219,14 +224,12 @@ EOF
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%else
|
%else
|
||||||
|
|
||||||
%files -f .mfiles
|
%files -f .mfiles
|
||||||
%license tool/LICENSE.txt
|
%license tool/LICENSE.txt
|
||||||
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{without bootstrap}
|
%if %{without bootstrap}
|
||||||
|
|
||||||
%files javadoc -f .mfiles-javadoc
|
%files javadoc -f .mfiles-javadoc
|
||||||
%license tool/LICENSE.txt
|
%license tool/LICENSE.txt
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user