]> git.pld-linux.org Git - packages/antlr.git/blob - antlr.spec
- wget@df sucks?
[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:        %{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
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 ANTLR, ANother Tool for Language Recognition, (formerly PCCTS) is a language
26 tool that provides a framework for constructing recognizers, compilers, and
27 translators from grammatical descriptions containing Java, C#, or C++ actions.
28 ANTLR is popular because it is easy to understand, powerful, flexible,
29 generates human-readable output, and comes with complete source. ANTLR provides
30 excellent support for tree construction, tree walking, and translation. 
31
32 %description -l pl
33 TODO.
34
35 %prep
36 %setup -q -n %{name}-%{_snap}
37 %patch0 -p1
38 %patch1 -p1
39
40 %build
41
42 export CLASSPATH=$RPM_BUILD_DIR/%{name}-%{_snap}
43
44 %configure
45
46 %{__make}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc RIGHTS
60 %attr(755,root,root) %{_bindir}/antlr
61 %attr(755,root,root) %{_bindir}/antlr-config
62 %{_includedir}/%{name}
63 %{_libdir}/libantlr.a
64 %{_datadir}/%{name}-%{version}
This page took 0.038062 seconds and 4 git commands to generate.