]> git.pld-linux.org Git - packages/antlr.git/blob - antlr.spec
- Updated to 20030911 snapshot (2.7.2 produces a code that is not acceptable
[packages/antlr.git] / antlr.spec
1
2 %define         _snap   20030911
3
4 Summary:        ANother Tool for Language Recognition
5 Summary(pl):    TODO
6 Name:           antlr
7 Version:        2.7.3
8 Release:        0.%{_snap}.1
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-md5:  de00ded0f1922587bb24628152fc3f62
14 Patch0:         %{name}-Makefile.patch
15 Patch1:         %{name}-runscript.patch
16 URL:            http://www.antlr.org/
17 BuildRequires:  jar
18 BuildRequires:  jdk
19 Requires:       java
20 Conflicts:      pccts
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 ANTLR, ANother Tool for Language Recognition, (formerly PCCTS) is a language
25 tool that provides a framework for constructing recognizers, compilers, and
26 translators from grammatical descriptions containing Java, C#, or C++ actions.
27 ANTLR is popular because it is easy to understand, powerful, flexible,
28 generates human-readable output, and comes with complete source. ANTLR provides
29 excellent support for tree construction, tree walking, and translation. 
30
31 %description -l pl
32 TODO.
33
34 %prep
35 %setup -q -n %{name}-%{_snap}
36 %patch0 -p1
37 %patch1 -p1
38
39 %build
40
41 export CLASSPATH=$RPM_BUILD_DIR/%{name}-%{_snap}
42
43 %configure
44
45 %{__make}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49
50 %{__make} install \
51         DESTDIR=$RPM_BUILD_ROOT
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc RIGHTS
59 %attr(755,root,root) %{_bindir}/antlr
60 %attr(755,root,root) %{_bindir}/antlr-config
61 %{_includedir}/%{name}
62 %{_libdir}/libantlr.a
63 %{_datadir}/%{name}-%{version}
This page took 0.031252 seconds and 4 git commands to generate.