]> git.pld-linux.org Git - packages/antlr.git/blob - antlr.spec
- 2.7.4
[packages/antlr.git] / antlr.spec
1 # TODO: Move antlr-java to separate package ?
2
3 Summary:        ANother Tool for Language Recognition
4 Summary(pl):    Jeszcze jedno narzêdzie do rozpoznawania jêzyka
5 Name:           antlr
6 Version:        2.7.4
7 Release:        1
8 License:        Public Domain
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
15 # BuildRequires:        jar
16 # BuildRequires:        jdk
17 # Requires:     jre
18 Conflicts:      pccts < 1.33MR33-6
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
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. 
28
29 %description -l pl
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.
38
39 %prep
40 %setup -q
41
42 %build
43 cp /usr/share/automake/config.sub scripts
44
45 %configure \
46         --enable-gcj
47
48 %{__make}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
53 %{__make} install \
54         DESTDIR=$RPM_BUILD_ROOT
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc doc/*
62 %attr(755,root,root) %{_bindir}/antlr
63 %attr(755,root,root) %{_bindir}/antlr-config
64 %attr(755,root,root) %{_bindir}/antlr-java
65 %{_includedir}/%{name}
66 %{_libdir}/libantlr.a
67 %{_datadir}/%{name}-2.7.3
This page took 0.028098 seconds and 3 git commands to generate.