]> git.pld-linux.org Git - packages/antlr.git/blame - antlr.spec
- Initial
[packages/antlr.git] / antlr.spec
CommitLineData
cbedff71 1Summary: ANother Tool for Language Recognition
2Summary(pl): TODO
3Name: antlr
4Version: 2.7.2
5Release: 1
6License: Public Domain
7Group: Development/Tools
8Source0: http://www.antlr.org/download/%{name}-%{version}.tar.gz
9# Source0-md5: d67ffcaba6b2cedd99601b9052f63957
10Patch0: %{name}-classpath.patch
11URL: http://www.antlr.org/
12BuildRequires: jar
13Conflicts: pccts
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
17ANTLR, ANother Tool for Language Recognition, (formerly PCCTS) is a language
18tool that provides a framework for constructing recognizers, compilers, and
19translators from grammatical descriptions containing Java, C#, or C++ actions.
20ANTLR is popular because it is easy to understand, powerful, flexible,
21generates human-readable output, and comes with complete source. ANTLR provides
22excellent support for tree construction, tree walking, and translation.
23
24%description -l pl
25TODO.
26
27%prep
28%setup -q
29%patch0 -p1
30
31%build
32
33export CLASSPATH=$RPM_BUILD_DIR/%{name}-%{version}/antlr.jar
34
35%configure
36
37%{__make}
38
39%install
40rm -rf $RPM_BUILD_ROOT
41
42%{__make} install \
43 DESTDIR=$RPM_BUILD_ROOT
44
45%clean
46rm -rf $RPM_BUILD_ROOT
47
48%files
49%defattr(644,root,root,755)
50%doc RIGHTS
51%attr(755,root,root) %{_bindir}/antlr
52%attr(755,root,root) %{_bindir}/antlr-config
53%{_includedir}/%{name}
54%{_libdir}/libantlr.a
55%{_datadir}/%{name}-%{version}
This page took 0.076422 seconds and 4 git commands to generate.