2024-01-05 20:26:49 +01:00
Name : antlr
2024-01-05 20:26:49 +01:00
Version : 4.10
2024-01-05 20:26:49 +01:00
Release : 1mamba
Summary : Parser generator for reading, processing, executing, or translating structured text or binary files
2024-01-05 20:26:49 +01:00
Group : Development/Tools
Vendor : openmamba
Distribution : openmamba
Packager : Silvan Calarco <silvan.calarco@mambasoft.it>
2024-01-05 20:26:49 +01:00
URL : https://www.antlr.org/
Source0 : https://www.antlr.org/download/antlr-%{version} -complete.jar
Source1 : antlr-bin
Source2 : antlr-bin-grun
2024-01-05 20:26:49 +01:00
License : Public Domain
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
2024-01-05 20:26:49 +01:00
BuildRequires : javapackages
2024-01-05 20:26:49 +01:00
%description
ANother Tool for Language Recognition, (formerly PCCTS) is a language tool that provides a framework for constructing recognizers, compilers, and translators from grammatical descriptions containing Java, C#, C++, or Python actions. ANTLR provides excellent support for tree construction, tree walking, and translation.
%prep
2024-01-05 20:26:49 +01:00
%setup -q -c -D -T
2024-01-05 20:26:49 +01:00
%build
%install
[ " %{buildroot} " != / ] && rm -rf %{buildroot}
2024-01-05 20:26:49 +01:00
install -D -m0644 %{SOURCE0} \
%{buildroot} %{_javadir} /%{name} -%{version} -complete.jar
ln -s %{name} -%{version} -complete.jar %{buildroot} %{_javadir} /antlr-complete.jar
2024-01-05 20:26:49 +01:00
2024-01-05 20:26:49 +01:00
install -D -m0755 %{SOURCE1} %{buildroot} %{_bindir} /antlr
install -D -m0755 %{SOURCE2} %{buildroot} %{_bindir} /grun
2024-01-05 20:26:49 +01:00
%clean
[ " %{buildroot} " != / ] && rm -rf " %{buildroot} "
%files
%defattr (-,root,root)
%{_bindir} /antlr
2024-01-05 20:26:49 +01:00
%{_bindir} /grun
%{_javadir} /antlr-%{version} -complete.jar
%{_javadir} /antlr-complete.jar
2024-01-05 20:26:49 +01:00
%changelog
2024-01-05 20:26:49 +01:00
* Tue Apr 12 2022 Automatic Build System <autodist@mambasoft.it> 4.10-1mamba
- automatic version update by autodist
2024-01-05 20:26:49 +01:00
* Sat Nov 06 2021 Automatic Build System <autodist@mambasoft.it> 4.9.3-1mamba
- automatic version update by autodist
2024-01-05 20:26:49 +01:00
* Sat Apr 10 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 4.9.2-1mamba
- update to 4.9.2
2024-01-05 20:26:49 +01:00
* Fri Feb 25 2011 gil <puntogil@libero.it> 2.7.7-9mamba
- rebuilt with java-gcj-compat 1.0.80-20mamba support
* Thu Nov 25 2010 gil <puntogil@libero.it> 2.7.7-8mamba
- rebuilt devel
* Sun Aug 29 2010 gil <puntogil@libero.it> 2.7.7-7mamba
- added new sub package: C++ C++-doc python-antlr sharp
* Thu Nov 12 2009 gil <puntogil@libero.it> 2.7.7-6mamba
- new sub package antlr-repolib
* Sat Sep 05 2009 gil <puntogil@libero.it> 2.7.7-5mamba
- rebuilt
* Sat May 30 2009 gil <puntogil@libero.it> 2.7.7-4mamba
- add maven2 pom
* Sat May 30 2009 gil <puntogil@libero.it> 2.7.7-3mamba
- linked jar files in %{_libdir}
* Wed Mar 11 2009 gil <puntogil@libero.it> 2.7.7-2mamba
- moved the jar files in %{_javadir}
* Fri Feb 20 2009 gil <puntogil@libero.it> 2.7.7-1mamba
- update to 2.7.7
- added packages: manual, javadoc
- added mono support
- added http://www.jedit.org/ support
* Wed Aug 17 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 2.7.5-1qilnx
- package created by autospec