]> git.pld-linux.org Git - packages/antlr.git/blobdiff - antlr.spec
- obsolete
[packages/antlr.git] / antlr.spec
index 5d63378dca0b921e8333d03603269ae75e6fe8f6..e3094ff7fada3bad3a80ebb5e78f21398cf44f37 100644 (file)
@@ -1,6 +1,6 @@
 # TODO:
 #  *  add python bcond
-#  *  fix csharp
+#  *  package the Emacs and Jedit modes
 #
 # Conditional build:
 %bcond_without gcj     # use javac instead of GCJ
 Summary:       ANother Tool for Language Recognition
 Summary(pl):   Jeszcze jedno narzêdzie do rozpoznawania jêzyka
 Name:          antlr
-Version:       2.7.6
-Release:       0.9
+Version:       2.7.7
+Release:       1
 License:       Public Domain
 Group:         Development/Tools
 Source0:       http://www.antlr.org/download/%{name}-%{version}.tar.gz
-# Source0-md5: 17d8bf2e814f0a26631aadbbda8d7324
+# Source0-md5: 01cc9a2a454dd33dcd8c856ec89af090
 Patch0:                %{name}-DESTDIR.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
@@ -30,9 +34,7 @@ BuildRequires:        jar
 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
@@ -66,17 +68,17 @@ Group:              Libraries
 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
@@ -96,7 +98,7 @@ Przyk
 
 %build
 cp -f /usr/share/automake/config.sub scripts
-
+%{__autoconf}
 %configure \
        --enable-cxx \
        %{?with_dotnet:--enable-csharp} \
@@ -145,6 +147,7 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with dotnet}
 %files -n dotnet-antlr
 %defattr(644,root,root,755)
+%dir %{_prefix}/lib/mono/%{name}
 %{_prefix}/lib/mono/%{name}/*.dll
 %endif
 
This page took 0.072479 seconds and 4 git commands to generate.