rpms/antlr3/devel .cvsignore, 1.2, 1.3 antlr3.spec, 1.1, 1.2 sources, 1.2, 1.3
Bart Vanbrabant
zoeloelip at fedoraproject.org
Thu Nov 6 10:54:16 UTC 2008
- Previous message (by thread): rpms/pngnq/F-9 pngnq-0.5-getopt.patch, NONE, 1.1 pngnq-0.5-makefile.patch, NONE, 1.1 pngnq.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/pngcrush/F-9 pngcrush-build.patch, NONE, 1.1 pngcrush.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: zoeloelip
Update of /cvs/pkgs/rpms/antlr3/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21336
Modified Files:
.cvsignore antlr3.spec sources
Log Message:
* Mon Nov 3 2008 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be> - 3.1.1-1
- Update to version 3.1.1
- Add python runtime subpackage
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/antlr3/devel/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore 1 Jul 2008 17:42:02 -0000 1.2
+++ .cvsignore 6 Nov 2008 10:53:46 -0000 1.3
@@ -1 +1 @@
-antlr-3.0.1.tar.gz
+antlr-3.1.1.tar.gz
Index: antlr3.spec
===================================================================
RCS file: /cvs/pkgs/rpms/antlr3/devel/antlr3.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- antlr3.spec 1 Jul 2008 17:42:02 -0000 1.1
+++ antlr3.spec 6 Nov 2008 10:53:46 -0000 1.2
@@ -1,9 +1,11 @@
+%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+
Summary: ANother Tool for Language Recognition
Name: antlr3
-Version: 3.0.1
-Release: 2%{?dist}
+Version: 3.1.1
+Release: 1%{?dist}
URL: http://www.antlr.org/
-Source0: http://www.antlr.org/download/antlr-3.0.1.tar.gz
+Source0: http://www.antlr.org/download/antlr-3.1.1.tar.gz
# Utility file, in conversation with upstream about this
Source1: antlr-clean-generated
License: BSD
@@ -23,6 +25,16 @@
interpreters, compilers, and translators from grammatical
descriptions containing actions in a variety of target languages.
+%package python
+Group: Development/Libraries
+Summary: Python runtime support for ANTLR-generated parsers
+BuildRequires: python-devel
+BuildRequires: python-setuptools-devel
+BuildArch: noarch
+
+%description python
+Python runtime support for ANTLR-generated parsers
+
%prep
%setup -q -n antlr-%{version}
@@ -30,13 +42,22 @@
rm -f lib/*.jar
build-jar-repository -s -p lib stringtemplate
# Clean out generated files upstream includes
-python %{SOURCE1} .
+%{__python} %{SOURCE1} .
# Build
ant
+# Build the python runtime
+cd runtime/Python
+%{__python} setup.py build
+cd ../..
+
%install
rm -rf $RPM_BUILD_ROOT
-install -D build/antlr.jar $RPM_BUILD_ROOT%{_datadir}/java/antlr3.jar
+install -D build/antlr-%{version}.jar $RPM_BUILD_ROOT%{_datadir}/java/antlr3.jar
+
+cd runtime/Python
+%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+cd ../..
%clean
rm -rf $RPM_BUILD_ROOT
@@ -46,7 +67,16 @@
%doc README.txt LICENSE.txt
%{_datadir}/java/*.jar
+%files python
+%defattr(0644,root,root,0755)
+%{python_sitelib}/antlr3/*
+%{python_sitelib}/antlr_python_runtime-*
+
%changelog
+* Mon Nov 3 2008 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be> - 3.1.1-1
+- Update to version 3.1.1
+- Add python runtime subpackage
+
* Fri Jun 27 2008 Colin Walters <walters at redhat.com> - 3.0.1-2
- Fix some BRs
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/antlr3/devel/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources 1 Jul 2008 17:42:02 -0000 1.2
+++ sources 6 Nov 2008 10:53:46 -0000 1.3
@@ -1 +1 @@
-3368332e3ecec632db667cb5cdfdbf6f antlr-3.0.1.tar.gz
+c9fb696a18126a4d633aedcd96d9822a antlr-3.1.1.tar.gz
- Previous message (by thread): rpms/pngnq/F-9 pngnq-0.5-getopt.patch, NONE, 1.1 pngnq-0.5-makefile.patch, NONE, 1.1 pngnq.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/pngcrush/F-9 pngcrush-build.patch, NONE, 1.1 pngcrush.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list