]> git.pld-linux.org Git - packages/antlr.git/commitdiff
- Initial
authoradgor <adgor@pld-linux.org>
Thu, 9 Oct 2003 12:49:02 +0000 (12:49 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    antlr.spec -> 1.1

antlr.spec [new file with mode: 0644]

diff --git a/antlr.spec b/antlr.spec
new file mode 100644 (file)
index 0000000..c5a6a46
--- /dev/null
@@ -0,0 +1,55 @@
+Summary:       ANother Tool for Language Recognition
+Summary(pl):   TODO
+Name:          antlr
+Version:       2.7.2
+Release:       1
+License:       Public Domain
+Group:         Development/Tools
+Source0:       http://www.antlr.org/download/%{name}-%{version}.tar.gz
+# Source0-md5: d67ffcaba6b2cedd99601b9052f63957
+Patch0:                %{name}-classpath.patch
+URL:           http://www.antlr.org/
+BuildRequires: jar
+Conflicts:     pccts
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+ANTLR, ANother Tool for Language Recognition, (formerly PCCTS) is a language
+tool that provides a framework for constructing recognizers, compilers, and
+translators from grammatical descriptions containing Java, C#, or C++ actions.
+ANTLR is popular because it is easy to understand, powerful, flexible,
+generates human-readable output, and comes with complete source. ANTLR provides
+excellent support for tree construction, tree walking, and translation. 
+
+%description -l pl
+TODO.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+
+export CLASSPATH=$RPM_BUILD_DIR/%{name}-%{version}/antlr.jar
+
+%configure
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc RIGHTS
+%attr(755,root,root) %{_bindir}/antlr
+%attr(755,root,root) %{_bindir}/antlr-config
+%{_includedir}/%{name}
+%{_libdir}/libantlr.a
+%{_datadir}/%{name}-%{version}
This page took 0.032347 seconds and 4 git commands to generate.