SPECS: antlr.spec - added csharp patch (fixes dotnet- build) - bet...

qboosh qboosh at pld-linux.org
Mon May 22 22:39:31 CEST 2006


Author: qboosh                       Date: Mon May 22 20:39:30 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added csharp patch (fixes dotnet- build)
- better python- desc from AC-branch

---- Files affected:
SPECS:
   antlr.spec (1.39 -> 1.40) 

---- Diffs:

================================================================
Index: SPECS/antlr.spec
diff -u SPECS/antlr.spec:1.39 SPECS/antlr.spec:1.40
--- SPECS/antlr.spec:1.39	Mon May 22 00:39:33 2006
+++ SPECS/antlr.spec	Mon May 22 22:39:25 2006
@@ -1,7 +1,8 @@
 # $Revision$, $Date$
 # TODO:
+#  *  update java stuff
 #  *  add python bcond
-#  *  fix csharp
+#  *  package the Emacs and Jedit modes
 #
 # Conditional build:
 %bcond_without	gcj	# use javac instead of GCJ
@@ -19,9 +20,14 @@
 Source0:	http://www.antlr.org/download/%{name}-%{version}.tar.gz
 # Source0-md5:	17d8bf2e814f0a26631aadbbda8d7324
 Patch0:		%{name}-DESTDIR.patch
+Patch1:		%{name}-csharp.patch
 URL:		http://www.antlr.org/
+BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	libstdc++-devel
+%{?with_dotnet:BuildRequires:	mono-csharp}
+BuildRequires:	python
+BuildRequires:	sed >= 4.0
 %if %{with gcj}
 BuildRequires:	gcc-java >= 5:4.0.0
 BuildRequires:	gcc-java-tools >= 5:4.0.0
@@ -31,9 +37,7 @@
 BuildRequires:	jdk
 Requires:	jre
 %endif
-%{?with_dotnet:BuildRequires:	mono-csharp}
 Conflicts:	pccts < 1.33MR33-6
-BuildRequires:	sed >= 4.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -67,17 +71,18 @@
 Moduły języka .NET dla biblioteki ANTLR.
 
 %package -n python-antlr
-Summary:	Python support for ANTLR
-Summary(pl):	Moduły języka Python dla biblioteki ANTLR
+Summary:	Python runtime support for ANTLR-generated parsers
+Summary(pl):	Moduł uruchomieniowy języka Python dla analizatorów ANTLR
 Group:		Libraries/Python
 Requires:	%{name} = %{epoch}:%{version}-%{release}
 %pyrequires_eq	python-libs
 
 %description -n python-antlr
-Python support for ANTLR.
+Python runtime support for ANTLR-generated parsers.
 
 %description -n python-antlr -l pl
-Moduły języka Python dla biblioteki ANTLR.
+Moduł uruchomieniowy języka Python dla analizatorów wygenerowanych
+przez ANTLR.
 
 %package examples
 Summary:	Examples of ANTLR usage
@@ -94,10 +99,11 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 cp -f /usr/share/automake/config.sub scripts
-
+%{__autoconf}
 %configure \
 	--enable-cxx \
 	%{?with_dotnet:--enable-csharp} \
@@ -163,6 +169,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.40  2006/05/22 20:39:25  qboosh
+- added csharp patch (fixes dotnet- build)
+- better python- desc from AC-branch
+
 Revision 1.39  2006/05/21 22:39:33  qboosh
 - explicit java/javac/jar arguments for both cases
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/antlr.spec?r1=1.39&r2=1.40&f=u



More information about the pld-cvs-commit mailing list