1 # TODO: Move antlr-java to separate package ?
3 Summary: ANother Tool for Language Recognition
4 Summary(pl): Jeszcze jedno narzêdzie do rozpoznawania jêzyka
9 Group: Development/Tools
10 Source0: http://www.antlr.org/download/%{name}-%{version}.tar.gz
11 # Source0-md5: 33df7cdc8e80447cdd78607c76f02bac
12 URL: http://www.antlr.org/
13 BuildRequires: gcc-java
14 BuildRequires: gcc-java-tools
18 Conflicts: pccts < 1.33MR33-6
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 ANTLR, ANother Tool for Language Recognition, (formerly PCCTS) is a language
23 tool that provides a framework for constructing recognizers, compilers, and
24 translators from grammatical descriptions containing Java, C#, or C++ actions.
25 ANTLR is popular because it is easy to understand, powerful, flexible,
26 generates human-readable output, and comes with complete source. ANTLR provides
27 excellent support for tree construction, tree walking, and translation.
30 ANTLR (ANother Tool for Language Recognition; poprzednio znane jako
31 PCCTS) to narzêdzie jêzykowe dostarczaj±ce szkielet do tworzenia
32 programów rozpoznaj±cych jêzyki, kompilatorów, translatorów z opisów
33 gramatycznych obejmuj±cych Javê, C# lub C++. ANTLR jest popularne
34 poniewa¿ jest ³atwe do zrozumienia, potê¿ne, elastyczne, generuje
35 wyj¶cie czytelne dla cz³owieka i jest dostêpne z pe³nymi ¼ród³ami.
36 ANTLR ma ¶wietne wsparcie dla tworzenia drzew, przechodzenia po
37 drzewach oraz translacji.
43 #export CLASSPATH=$RPM_BUILD_DIR/%{name}-%{version}
45 cp /usr/share/automake/config.sub scripts
53 rm -rf $RPM_BUILD_ROOT
56 DESTDIR=$RPM_BUILD_ROOT
59 rm -rf $RPM_BUILD_ROOT
62 %defattr(644,root,root,755)
64 %attr(755,root,root) %{_bindir}/antlr
65 %attr(755,root,root) %{_bindir}/antlr-config
66 %attr(755,root,root) %{_bindir}/antlr-java
67 %{_includedir}/%{name}
69 %{_datadir}/%{name}-2.7.3