This commit is contained in:
parent
88e4bc0106
commit
ddb6390687
@ -24,7 +24,7 @@ Release: 0
|
|||||||
Summary: Antlr for bootstrapping purposes
|
Summary: Antlr for bootstrapping purposes
|
||||||
License: BSD-3-Clause AND SUSE-Public-Domain
|
License: BSD-3-Clause AND SUSE-Public-Domain
|
||||||
Group: Development/Libraries/Java
|
Group: Development/Libraries/Java
|
||||||
Url: http://www.antlr.org
|
URL: http://www.antlr.org
|
||||||
Source0: antlr-%{version}.tar.bz2
|
Source0: antlr-%{version}.tar.bz2
|
||||||
Source1: manifest.antlr
|
Source1: manifest.antlr
|
||||||
BuildRequires: java-devel >= 1.8
|
BuildRequires: java-devel >= 1.8
|
||||||
|
11
antlr.spec
11
antlr.spec
@ -23,7 +23,7 @@ Release: 0
|
|||||||
Summary: Another Tool for Language Recognition
|
Summary: Another Tool for Language Recognition
|
||||||
License: GPL-2.0-or-later AND SUSE-Public-Domain AND MIT
|
License: GPL-2.0-or-later AND SUSE-Public-Domain AND MIT
|
||||||
Group: Development/Tools/Other
|
Group: Development/Tools/Other
|
||||||
Url: http://www.antlr.org/
|
URL: http://www.antlr.org/
|
||||||
Source0: antlr-%{version}.tar.bz2
|
Source0: antlr-%{version}.tar.bz2
|
||||||
Source1: %{name}-build.xml
|
Source1: %{name}-build.xml
|
||||||
Source2: %{name}-script
|
Source2: %{name}-script
|
||||||
@ -37,14 +37,14 @@ BuildRequires: fdupes
|
|||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: java-devel >= 1.8
|
BuildRequires: java-devel >= 1.8
|
||||||
BuildRequires: javapackages-tools
|
BuildRequires: javapackages-tools
|
||||||
%if %{with python2}
|
|
||||||
BuildRequires: python2-base
|
|
||||||
%endif
|
|
||||||
BuildRequires: xml-commons-apis
|
BuildRequires: xml-commons-apis
|
||||||
Requires: %{name}-java
|
Requires: %{name}-java
|
||||||
Provides: %{name}-bootstrap = %{version}
|
Provides: %{name}-bootstrap = %{version}
|
||||||
Obsoletes: %{name}-bootstrap < %{version}
|
Obsoletes: %{name}-bootstrap < %{version}
|
||||||
Obsoletes: %{name}-javadoc
|
Obsoletes: %{name}-javadoc
|
||||||
|
%if %{with python2}
|
||||||
|
BuildRequires: python2-base
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
ANTLR, Another Tool for Language Recognition, (formerly PCCTS) is a
|
ANTLR, Another Tool for Language Recognition, (formerly PCCTS) is a
|
||||||
@ -167,7 +167,8 @@ find doc -type f | xargs chmod 0644
|
|||||||
%fdupes -s doc
|
%fdupes -s doc
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc LICENSE.txt README.txt CHANGES.txt
|
%license LICENSE.txt
|
||||||
|
%doc README.txt CHANGES.txt
|
||||||
%dir %{_datadir}/%{name}-%{version}
|
%dir %{_datadir}/%{name}-%{version}
|
||||||
%{_bindir}/antlr
|
%{_bindir}/antlr
|
||||||
%{_bindir}/antlr-config
|
%{_bindir}/antlr-config
|
||||||
|
Loading…
Reference in New Issue
Block a user