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