]> git.pld-linux.org Git - packages/antlr.git/blob - antlr.spec
- typo
[packages/antlr.git] / antlr.spec
1 # TODO: Move antlr-java to separate package ?
2
3 %define         _snap   20030911
4
5 Summary:        ANother Tool for Language Recognition
6 Summary(pl):    Jeszcze jedno narzêdzie do rozpoznawania jêzyka
7 Name:           antlr
8 Version:        2.7.3
9 Release:        0.%{_snap}.5
10 License:        Public Domain
11 Group:          Development/Tools
12 #Source0:       http://www.antlr.org/download/%{name}-%{version}.tar.gz
13 #Source0:       http://wwwhome.cs.utwente.nl/~klaren/antlr/%{name}-%{_snap}.tar.gz
14 Source0:        %{name}-%{_snap}.tar.gz
15 # Source0-md5:  de00ded0f1922587bb24628152fc3f62
16 Patch0:         %{name}-Makefile.patch
17 Patch1:         %{name}-runscript.patch
18 URL:            http://www.antlr.org/
19 BuildRequires:  gcc-java
20 BuildRequires:  gcc-java-tools
21 # BuildRequires:        jar
22 # BuildRequires:        jdk
23 # Requires:     jre
24 Conflicts:      pccts < 1.33MR33-6
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 ANTLR, ANother Tool for Language Recognition, (formerly PCCTS) is a language
29 tool that provides a framework for constructing recognizers, compilers, and
30 translators from grammatical descriptions containing Java, C#, or C++ actions.
31 ANTLR is popular because it is easy to understand, powerful, flexible,
32 generates human-readable output, and comes with complete source. ANTLR provides
33 excellent support for tree construction, tree walking, and translation. 
34
35 %description -l pl
36 ANTLR (ANother Tool for Language Recognition; poprzednio znane jako
37 PCCTS) to narzêdzie jêzykowe dostarczaj±ce szkielet do tworzenia
38 programów rozpoznaj±cych jêzyki, kompilatorów, translatorów z opisów
39 gramatycznych obejmuj±cych Javê, C# lub C++. ANTLR jest popularne
40 poniewa¿ jest ³atwe do zrozumienia, potê¿ne, elastyczne, generuje
41 wyj¶cie czytelne dla cz³owieka i jest dostêpne z pe³nymi ¼ród³ami.
42 ANTLR ma ¶wietne wsparcie dla tworzenia drzew, przechodzenia po
43 drzewach oraz translacji.
44
45 %prep
46 %setup -q -n %{name}-%{_snap}
47 %patch0 -p1
48 %patch1 -p1
49
50 %build
51 export CLASSPATH=$RPM_BUILD_DIR/%{name}-%{_snap}
52
53 %configure \
54     --enable-gcj
55
56 %{__make}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60
61 %{__make} install \
62         DESTDIR=$RPM_BUILD_ROOT
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %files
68 %defattr(644,root,root,755)
69 %doc RIGHTS
70 %attr(755,root,root) %{_bindir}/antlr
71 %attr(755,root,root) %{_bindir}/antlr-config
72 #%%attr(755,root,root) %{_bindir}/antlr-java
73 %{_includedir}/%{name}
74 %{_libdir}/libantlr.a
75 %{_datadir}/%{name}-%{version}
This page took 0.087007 seconds and 4 git commands to generate.