]> git.pld-linux.org Git - packages/antlr.git/blob - antlr.spec
- Fixed Conflicts; added Obsoletes pccts-antlr
[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}.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:       java
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 TODO.
35
36 %prep
37 %setup -q -n %{name}-%{_snap}
38 %patch0 -p1
39 %patch1 -p1
40
41 %build
42
43 export CLASSPATH=$RPM_BUILD_DIR/%{name}-%{_snap}
44
45 %configure
46
47 %{__make}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51
52 %{__make} install \
53         DESTDIR=$RPM_BUILD_ROOT
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644,root,root,755)
60 %doc RIGHTS
61 %attr(755,root,root) %{_bindir}/antlr
62 %attr(755,root,root) %{_bindir}/antlr-config
63 %{_includedir}/%{name}
64 %{_libdir}/libantlr.a
65 %{_datadir}/%{name}-%{version}
This page took 0.068187 seconds and 3 git commands to generate.