]> git.pld-linux.org Git - packages/antlr.git/blame - antlr.spec
- wget@df sucks?
[packages/antlr.git] / antlr.spec
CommitLineData
13a53ba3 1
2%define _snap 20030911
3
cbedff71 4Summary: ANother Tool for Language Recognition
5Summary(pl): TODO
6Name: antlr
13a53ba3 7Version: 2.7.3
8Release: 0.%{_snap}.1
cbedff71 9License: Public Domain
10Group: Development/Tools
13a53ba3 11#Source0: http://www.antlr.org/download/%{name}-%{version}.tar.gz
6f204a06 12#Source0: http://wwwhome.cs.utwente.nl/~klaren/antlr/%{name}-%{_snap}.tar.gz
13Source0: %{name}-%{_snap}.tar.gz
13a53ba3 14# Source0-md5: de00ded0f1922587bb24628152fc3f62
15Patch0: %{name}-Makefile.patch
16Patch1: %{name}-runscript.patch
cbedff71 17URL: http://www.antlr.org/
18BuildRequires: jar
9baa97ff 19BuildRequires: jdk
20Requires: java
cbedff71 21Conflicts: pccts
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25ANTLR, ANother Tool for Language Recognition, (formerly PCCTS) is a language
26tool that provides a framework for constructing recognizers, compilers, and
27translators from grammatical descriptions containing Java, C#, or C++ actions.
28ANTLR is popular because it is easy to understand, powerful, flexible,
29generates human-readable output, and comes with complete source. ANTLR provides
30excellent support for tree construction, tree walking, and translation.
31
32%description -l pl
33TODO.
34
35%prep
13a53ba3 36%setup -q -n %{name}-%{_snap}
cbedff71 37%patch0 -p1
13a53ba3 38%patch1 -p1
cbedff71 39
40%build
41
13a53ba3 42export CLASSPATH=$RPM_BUILD_DIR/%{name}-%{_snap}
43
cbedff71 44%configure
45
46%{__make}
47
48%install
49rm -rf $RPM_BUILD_ROOT
50
51%{__make} install \
52 DESTDIR=$RPM_BUILD_ROOT
53
54%clean
55rm -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.101834 seconds and 4 git commands to generate.