antlr/antlr.spec

374 lines
11 KiB
RPMSpec
Raw Normal View History

2006-07-19 19:41:20 +00:00
# Copyright (c) 2000-2005, JPackage Project
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the
# distribution.
# 3. Neither the name of the JPackage Project nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
2006-08-04 21:28:25 +00:00
%define _with_gcj_support 1
2006-07-19 19:41:20 +00:00
%define gcj_support %{?_with_gcj_support:1}%{!?_with_gcj_support:%{?_without_gcj_support:0}%{!?_without_gcj_support:%{?_gcj_support:%{_gcj_support}}%{!?_gcj_support:0}}}
%define build_jedit %{?_with_jedit:1}%{!?_without_jedit:0}
2006-07-19 19:41:20 +00:00
auto-import changelog data from antlr-2.7.2-3jpp.src.rpm 2.7.2-3jpp - Add non-versioned javadoc dir symlink. - Crosslink with local J2SE javadocs. - Spec cleanups, change to UTF-8. 2.7.2-2jpp - Rebuild for JPackage 1.5. Sat Mar 01 2003 Ville Skyttä <ville.skytta at iki.fi> - 2.7.2-1jpp - Update to 2.7.2. - Include antlr script and jEdit mode (see antlr-jedit RPM description). - Use sed instead of bash 2 extension when symlinking jars during build. Tue May 07 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-8jpp - really section macro - hardcoded distribution and vendor tag - group tag again Thu May 02 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-7jpp - distribution tag - group tag - section macro Fri Jan 18 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-6jpp - versioned dir for javadoc - no dependencies for manual and javadoc packages - additional sources in individual archives Sat Dec 01 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-5jpp - javadoc in javadoc package Wed Nov 21 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 2.7.1-4jpp - removed packager tag - new jpp extension Sat Oct 06 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-3jpp - used a build file instead of makefile - build classes instead of blindly jared them ! - used original tarball - corrected license spelling Sun Sep 30 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-2jpp - first unified release - s/jPackage/JPackage Tue Aug 28 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-1mdk - first Mandrake release
2004-09-09 03:00:15 +00:00
%define section free
2005-01-11 14:40:39 +00:00
%define native %{?_with_native:1}%{!?_without_native:0}
2004-11-12 11:06:49 +00:00
auto-import changelog data from antlr-2.7.2-3jpp.src.rpm 2.7.2-3jpp - Add non-versioned javadoc dir symlink. - Crosslink with local J2SE javadocs. - Spec cleanups, change to UTF-8. 2.7.2-2jpp - Rebuild for JPackage 1.5. Sat Mar 01 2003 Ville Skyttä <ville.skytta at iki.fi> - 2.7.2-1jpp - Update to 2.7.2. - Include antlr script and jEdit mode (see antlr-jedit RPM description). - Use sed instead of bash 2 extension when symlinking jars during build. Tue May 07 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-8jpp - really section macro - hardcoded distribution and vendor tag - group tag again Thu May 02 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-7jpp - distribution tag - group tag - section macro Fri Jan 18 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-6jpp - versioned dir for javadoc - no dependencies for manual and javadoc packages - additional sources in individual archives Sat Dec 01 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-5jpp - javadoc in javadoc package Wed Nov 21 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 2.7.1-4jpp - removed packager tag - new jpp extension Sat Oct 06 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-3jpp - used a build file instead of makefile - build classes instead of blindly jared them ! - used original tarball - corrected license spelling Sun Sep 30 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-2jpp - first unified release - s/jPackage/JPackage Tue Aug 28 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-1mdk - first Mandrake release
2004-09-09 03:00:15 +00:00
Summary: ANother Tool for Language Recognition
Name: antlr
2006-07-19 19:41:20 +00:00
Version: 2.7.6
2006-08-04 14:52:55 +00:00
Release: 4jpp.1
auto-import changelog data from antlr-2.7.2-3jpp.src.rpm 2.7.2-3jpp - Add non-versioned javadoc dir symlink. - Crosslink with local J2SE javadocs. - Spec cleanups, change to UTF-8. 2.7.2-2jpp - Rebuild for JPackage 1.5. Sat Mar 01 2003 Ville Skyttä <ville.skytta at iki.fi> - 2.7.2-1jpp - Update to 2.7.2. - Include antlr script and jEdit mode (see antlr-jedit RPM description). - Use sed instead of bash 2 extension when symlinking jars during build. Tue May 07 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-8jpp - really section macro - hardcoded distribution and vendor tag - group tag again Thu May 02 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-7jpp - distribution tag - group tag - section macro Fri Jan 18 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-6jpp - versioned dir for javadoc - no dependencies for manual and javadoc packages - additional sources in individual archives Sat Dec 01 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-5jpp - javadoc in javadoc package Wed Nov 21 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 2.7.1-4jpp - removed packager tag - new jpp extension Sat Oct 06 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-3jpp - used a build file instead of makefile - build classes instead of blindly jared them ! - used original tarball - corrected license spelling Sun Sep 30 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-2jpp - first unified release - s/jPackage/JPackage Tue Aug 28 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-1mdk - first Mandrake release
2004-09-09 03:00:15 +00:00
Epoch: 0
License: Public Domain
URL: http://www.antlr.org/
Group: Development/Code Generators
2006-07-19 19:41:20 +00:00
#http://www.antlr.org/download/antlr-%{version}.tar.gz
Source0: antlr-%{version}-RHCLEAN.tar.gz
auto-import changelog data from antlr-2.7.2-3jpp.src.rpm 2.7.2-3jpp - Add non-versioned javadoc dir symlink. - Crosslink with local J2SE javadocs. - Spec cleanups, change to UTF-8. 2.7.2-2jpp - Rebuild for JPackage 1.5. Sat Mar 01 2003 Ville Skyttä <ville.skytta at iki.fi> - 2.7.2-1jpp - Update to 2.7.2. - Include antlr script and jEdit mode (see antlr-jedit RPM description). - Use sed instead of bash 2 extension when symlinking jars during build. Tue May 07 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-8jpp - really section macro - hardcoded distribution and vendor tag - group tag again Thu May 02 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-7jpp - distribution tag - group tag - section macro Fri Jan 18 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-6jpp - versioned dir for javadoc - no dependencies for manual and javadoc packages - additional sources in individual archives Sat Dec 01 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-5jpp - javadoc in javadoc package Wed Nov 21 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 2.7.1-4jpp - removed packager tag - new jpp extension Sat Oct 06 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-3jpp - used a build file instead of makefile - build classes instead of blindly jared them ! - used original tarball - corrected license spelling Sun Sep 30 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-2jpp - first unified release - s/jPackage/JPackage Tue Aug 28 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-1mdk - first Mandrake release
2004-09-09 03:00:15 +00:00
Source1: %{name}-build.xml
Source2: %{name}-script
2006-07-19 19:41:20 +00:00
#http://www.antlr.org/share/1069557132934/makefile.gcj
Source3: makefile.gcj
auto-import changelog data from antlr-2.7.2-3jpp.src.rpm 2.7.2-3jpp - Add non-versioned javadoc dir symlink. - Crosslink with local J2SE javadocs. - Spec cleanups, change to UTF-8. 2.7.2-2jpp - Rebuild for JPackage 1.5. Sat Mar 01 2003 Ville Skyttä <ville.skytta at iki.fi> - 2.7.2-1jpp - Update to 2.7.2. - Include antlr script and jEdit mode (see antlr-jedit RPM description). - Use sed instead of bash 2 extension when symlinking jars during build. Tue May 07 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-8jpp - really section macro - hardcoded distribution and vendor tag - group tag again Thu May 02 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-7jpp - distribution tag - group tag - section macro Fri Jan 18 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-6jpp - versioned dir for javadoc - no dependencies for manual and javadoc packages - additional sources in individual archives Sat Dec 01 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-5jpp - javadoc in javadoc package Wed Nov 21 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 2.7.1-4jpp - removed packager tag - new jpp extension Sat Oct 06 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-3jpp - used a build file instead of makefile - build classes instead of blindly jared them ! - used original tarball - corrected license spelling Sun Sep 30 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-2jpp - first unified release - s/jPackage/JPackage Tue Aug 28 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-1mdk - first Mandrake release
2004-09-09 03:00:15 +00:00
Patch0: %{name}-jedit.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
2005-01-11 14:40:39 +00:00
%if %{native}
BuildRequires: %{_bindir}/gcj, %{__make}
%else
2006-07-19 19:41:20 +00:00
%if ! %{gcj_support}
2005-11-28 21:18:50 +00:00
BuildArch: noarch
2006-07-19 19:41:20 +00:00
%endif
2005-01-11 14:40:39 +00:00
BuildRequires: ant
BuildRequires: %{__perl}, java-javadoc
auto-import changelog data from antlr-2.7.2-3jpp.src.rpm 2.7.2-3jpp - Add non-versioned javadoc dir symlink. - Crosslink with local J2SE javadocs. - Spec cleanups, change to UTF-8. 2.7.2-2jpp - Rebuild for JPackage 1.5. Sat Mar 01 2003 Ville Skyttä <ville.skytta at iki.fi> - 2.7.2-1jpp - Update to 2.7.2. - Include antlr script and jEdit mode (see antlr-jedit RPM description). - Use sed instead of bash 2 extension when symlinking jars during build. Tue May 07 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-8jpp - really section macro - hardcoded distribution and vendor tag - group tag again Thu May 02 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-7jpp - distribution tag - group tag - section macro Fri Jan 18 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-6jpp - versioned dir for javadoc - no dependencies for manual and javadoc packages - additional sources in individual archives Sat Dec 01 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-5jpp - javadoc in javadoc package Wed Nov 21 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 2.7.1-4jpp - removed packager tag - new jpp extension Sat Oct 06 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-3jpp - used a build file instead of makefile - build classes instead of blindly jared them ! - used original tarball - corrected license spelling Sun Sep 30 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-2jpp - first unified release - s/jPackage/JPackage Tue Aug 28 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-1mdk - first Mandrake release
2004-09-09 03:00:15 +00:00
Requires: jpackage-utils
2005-01-11 14:40:39 +00:00
Requires(post): %{_sbindir}/update-alternatives
Requires(postun): %{_sbindir}/update-alternatives
%endif
auto-import changelog data from antlr-2.7.2-3jpp.src.rpm 2.7.2-3jpp - Add non-versioned javadoc dir symlink. - Crosslink with local J2SE javadocs. - Spec cleanups, change to UTF-8. 2.7.2-2jpp - Rebuild for JPackage 1.5. Sat Mar 01 2003 Ville Skyttä <ville.skytta at iki.fi> - 2.7.2-1jpp - Update to 2.7.2. - Include antlr script and jEdit mode (see antlr-jedit RPM description). - Use sed instead of bash 2 extension when symlinking jars during build. Tue May 07 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-8jpp - really section macro - hardcoded distribution and vendor tag - group tag again Thu May 02 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-7jpp - distribution tag - group tag - section macro Fri Jan 18 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-6jpp - versioned dir for javadoc - no dependencies for manual and javadoc packages - additional sources in individual archives Sat Dec 01 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-5jpp - javadoc in javadoc package Wed Nov 21 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 2.7.1-4jpp - removed packager tag - new jpp extension Sat Oct 06 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-3jpp - used a build file instead of makefile - build classes instead of blindly jared them ! - used original tarball - corrected license spelling Sun Sep 30 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-2jpp - first unified release - s/jPackage/JPackage Tue Aug 28 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-1mdk - first Mandrake release
2004-09-09 03:00:15 +00:00
2006-07-19 19:41:20 +00:00
%if %{gcj_support}
BuildRequires: java-gcj-compat-devel
Requires(post): java-gcj-compat
Requires(postun): java-gcj-compat
%endif
auto-import changelog data from antlr-2.7.2-3jpp.src.rpm 2.7.2-3jpp - Add non-versioned javadoc dir symlink. - Crosslink with local J2SE javadocs. - Spec cleanups, change to UTF-8. 2.7.2-2jpp - Rebuild for JPackage 1.5. Sat Mar 01 2003 Ville Skyttä <ville.skytta at iki.fi> - 2.7.2-1jpp - Update to 2.7.2. - Include antlr script and jEdit mode (see antlr-jedit RPM description). - Use sed instead of bash 2 extension when symlinking jars during build. Tue May 07 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-8jpp - really section macro - hardcoded distribution and vendor tag - group tag again Thu May 02 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-7jpp - distribution tag - group tag - section macro Fri Jan 18 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-6jpp - versioned dir for javadoc - no dependencies for manual and javadoc packages - additional sources in individual archives Sat Dec 01 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-5jpp - javadoc in javadoc package Wed Nov 21 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 2.7.1-4jpp - removed packager tag - new jpp extension Sat Oct 06 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-3jpp - used a build file instead of makefile - build classes instead of blindly jared them ! - used original tarball - corrected license spelling Sun Sep 30 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-2jpp - first unified release - s/jPackage/JPackage Tue Aug 28 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-1mdk - first Mandrake release
2004-09-09 03:00:15 +00:00
%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
C++ or Java actions [You can use PCCTS 1.xx to generate C-based
parsers].
2005-01-11 14:40:39 +00:00
%package native
Group: Development/Code Generators
Summary: ANother Tool for Language Recognition (native version)
Requires(post): %{_sbindir}/update-alternatives
Requires(postun): %{_sbindir}/update-alternatives
2006-07-19 19:41:20 +00:00
%if %{gcj_support}
BuildRequires: java-gcj-compat-devel
Requires(post): java-gcj-compat
Requires(postun): java-gcj-compat
%endif
2005-01-11 14:40:39 +00:00
%description native
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
C++ or Java actions [You can use PCCTS 1.xx to generate C-based
parsers]. This package includes the native version of the antlr tool.
auto-import changelog data from antlr-2.7.2-3jpp.src.rpm 2.7.2-3jpp - Add non-versioned javadoc dir symlink. - Crosslink with local J2SE javadocs. - Spec cleanups, change to UTF-8. 2.7.2-2jpp - Rebuild for JPackage 1.5. Sat Mar 01 2003 Ville Skyttä <ville.skytta at iki.fi> - 2.7.2-1jpp - Update to 2.7.2. - Include antlr script and jEdit mode (see antlr-jedit RPM description). - Use sed instead of bash 2 extension when symlinking jars during build. Tue May 07 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-8jpp - really section macro - hardcoded distribution and vendor tag - group tag again Thu May 02 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-7jpp - distribution tag - group tag - section macro Fri Jan 18 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-6jpp - versioned dir for javadoc - no dependencies for manual and javadoc packages - additional sources in individual archives Sat Dec 01 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-5jpp - javadoc in javadoc package Wed Nov 21 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 2.7.1-4jpp - removed packager tag - new jpp extension Sat Oct 06 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-3jpp - used a build file instead of makefile - build classes instead of blindly jared them ! - used original tarball - corrected license spelling Sun Sep 30 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-2jpp - first unified release - s/jPackage/JPackage Tue Aug 28 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-1mdk - first Mandrake release
2004-09-09 03:00:15 +00:00
%package manual
Group: Development/Code Generators
Summary: Manual for %{name}
%description manual
Documentation for %{name}.
%package javadoc
Group: Development/Documentation
Summary: Javadoc for %{name}
2006-08-04 14:52:55 +00:00
Requires(post): /bin/rm,/bin/ln
Requires(postun): /bin/rm
auto-import changelog data from antlr-2.7.2-3jpp.src.rpm 2.7.2-3jpp - Add non-versioned javadoc dir symlink. - Crosslink with local J2SE javadocs. - Spec cleanups, change to UTF-8. 2.7.2-2jpp - Rebuild for JPackage 1.5. Sat Mar 01 2003 Ville Skyttä <ville.skytta at iki.fi> - 2.7.2-1jpp - Update to 2.7.2. - Include antlr script and jEdit mode (see antlr-jedit RPM description). - Use sed instead of bash 2 extension when symlinking jars during build. Tue May 07 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-8jpp - really section macro - hardcoded distribution and vendor tag - group tag again Thu May 02 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-7jpp - distribution tag - group tag - section macro Fri Jan 18 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-6jpp - versioned dir for javadoc - no dependencies for manual and javadoc packages - additional sources in individual archives Sat Dec 01 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-5jpp - javadoc in javadoc package Wed Nov 21 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 2.7.1-4jpp - removed packager tag - new jpp extension Sat Oct 06 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-3jpp - used a build file instead of makefile - build classes instead of blindly jared them ! - used original tarball - corrected license spelling Sun Sep 30 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-2jpp - first unified release - s/jPackage/JPackage Tue Aug 28 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-1mdk - first Mandrake release
2004-09-09 03:00:15 +00:00
%description javadoc
Javadoc for %{name}.
%if %{build_jedit}
auto-import changelog data from antlr-2.7.2-3jpp.src.rpm 2.7.2-3jpp - Add non-versioned javadoc dir symlink. - Crosslink with local J2SE javadocs. - Spec cleanups, change to UTF-8. 2.7.2-2jpp - Rebuild for JPackage 1.5. Sat Mar 01 2003 Ville Skyttä <ville.skytta at iki.fi> - 2.7.2-1jpp - Update to 2.7.2. - Include antlr script and jEdit mode (see antlr-jedit RPM description). - Use sed instead of bash 2 extension when symlinking jars during build. Tue May 07 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-8jpp - really section macro - hardcoded distribution and vendor tag - group tag again Thu May 02 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-7jpp - distribution tag - group tag - section macro Fri Jan 18 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-6jpp - versioned dir for javadoc - no dependencies for manual and javadoc packages - additional sources in individual archives Sat Dec 01 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-5jpp - javadoc in javadoc package Wed Nov 21 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 2.7.1-4jpp - removed packager tag - new jpp extension Sat Oct 06 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-3jpp - used a build file instead of makefile - build classes instead of blindly jared them ! - used original tarball - corrected license spelling Sun Sep 30 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-2jpp - first unified release - s/jPackage/JPackage Tue Aug 28 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-1mdk - first Mandrake release
2004-09-09 03:00:15 +00:00
%package jedit
Group: Text Editors
Summary: ANTLR mode for jEdit
Requires: jedit >= 0:4.1
%description jedit
ANTLR mode for jEdit. To enable this mode, insert the following into your
%{_datadir}/jedit/modes/catalog:
<MODE NAME="antlr" FILE="antlr.xml" FILE_NAME_GLOB="*.g"/>
%endif
auto-import changelog data from antlr-2.7.2-3jpp.src.rpm 2.7.2-3jpp - Add non-versioned javadoc dir symlink. - Crosslink with local J2SE javadocs. - Spec cleanups, change to UTF-8. 2.7.2-2jpp - Rebuild for JPackage 1.5. Sat Mar 01 2003 Ville Skyttä <ville.skytta at iki.fi> - 2.7.2-1jpp - Update to 2.7.2. - Include antlr script and jEdit mode (see antlr-jedit RPM description). - Use sed instead of bash 2 extension when symlinking jars during build. Tue May 07 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-8jpp - really section macro - hardcoded distribution and vendor tag - group tag again Thu May 02 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-7jpp - distribution tag - group tag - section macro Fri Jan 18 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-6jpp - versioned dir for javadoc - no dependencies for manual and javadoc packages - additional sources in individual archives Sat Dec 01 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-5jpp - javadoc in javadoc package Wed Nov 21 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 2.7.1-4jpp - removed packager tag - new jpp extension Sat Oct 06 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-3jpp - used a build file instead of makefile - build classes instead of blindly jared them ! - used original tarball - corrected license spelling Sun Sep 30 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-2jpp - first unified release - s/jPackage/JPackage Tue Aug 28 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-1mdk - first Mandrake release
2004-09-09 03:00:15 +00:00
%prep
%setup -q
# remove all binary libs
find . -name "*.jar" -exec rm -f {} \;
2005-01-11 14:40:39 +00:00
%if !%{native}
%patch0 -p0
cp -p %{SOURCE1} build.xml
auto-import changelog data from antlr-2.7.2-3jpp.src.rpm 2.7.2-3jpp - Add non-versioned javadoc dir symlink. - Crosslink with local J2SE javadocs. - Spec cleanups, change to UTF-8. 2.7.2-2jpp - Rebuild for JPackage 1.5. Sat Mar 01 2003 Ville Skyttä <ville.skytta at iki.fi> - 2.7.2-1jpp - Update to 2.7.2. - Include antlr script and jEdit mode (see antlr-jedit RPM description). - Use sed instead of bash 2 extension when symlinking jars during build. Tue May 07 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-8jpp - really section macro - hardcoded distribution and vendor tag - group tag again Thu May 02 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-7jpp - distribution tag - group tag - section macro Fri Jan 18 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-6jpp - versioned dir for javadoc - no dependencies for manual and javadoc packages - additional sources in individual archives Sat Dec 01 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-5jpp - javadoc in javadoc package Wed Nov 21 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 2.7.1-4jpp - removed packager tag - new jpp extension Sat Oct 06 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-3jpp - used a build file instead of makefile - build classes instead of blindly jared them ! - used original tarball - corrected license spelling Sun Sep 30 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-2jpp - first unified release - s/jPackage/JPackage Tue Aug 28 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-1mdk - first Mandrake release
2004-09-09 03:00:15 +00:00
# fixup paths to manual
2005-01-11 14:40:39 +00:00
%{__perl} -pi -e 's|"doc/|"%{_docdir}/%{name}-manual-%{version}/|g' \
auto-import changelog data from antlr-2.7.2-3jpp.src.rpm 2.7.2-3jpp - Add non-versioned javadoc dir symlink. - Crosslink with local J2SE javadocs. - Spec cleanups, change to UTF-8. 2.7.2-2jpp - Rebuild for JPackage 1.5. Sat Mar 01 2003 Ville Skyttä <ville.skytta at iki.fi> - 2.7.2-1jpp - Update to 2.7.2. - Include antlr script and jEdit mode (see antlr-jedit RPM description). - Use sed instead of bash 2 extension when symlinking jars during build. Tue May 07 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-8jpp - really section macro - hardcoded distribution and vendor tag - group tag again Thu May 02 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-7jpp - distribution tag - group tag - section macro Fri Jan 18 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-6jpp - versioned dir for javadoc - no dependencies for manual and javadoc packages - additional sources in individual archives Sat Dec 01 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-5jpp - javadoc in javadoc package Wed Nov 21 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 2.7.1-4jpp - removed packager tag - new jpp extension Sat Oct 06 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-3jpp - used a build file instead of makefile - build classes instead of blindly jared them ! - used original tarball - corrected license spelling Sun Sep 30 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-2jpp - first unified release - s/jPackage/JPackage Tue Aug 28 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-1mdk - first Mandrake release
2004-09-09 03:00:15 +00:00
install.html
2005-01-11 14:40:39 +00:00
%endif
auto-import changelog data from antlr-2.7.2-3jpp.src.rpm 2.7.2-3jpp - Add non-versioned javadoc dir symlink. - Crosslink with local J2SE javadocs. - Spec cleanups, change to UTF-8. 2.7.2-2jpp - Rebuild for JPackage 1.5. Sat Mar 01 2003 Ville Skyttä <ville.skytta at iki.fi> - 2.7.2-1jpp - Update to 2.7.2. - Include antlr script and jEdit mode (see antlr-jedit RPM description). - Use sed instead of bash 2 extension when symlinking jars during build. Tue May 07 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-8jpp - really section macro - hardcoded distribution and vendor tag - group tag again Thu May 02 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-7jpp - distribution tag - group tag - section macro Fri Jan 18 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-6jpp - versioned dir for javadoc - no dependencies for manual and javadoc packages - additional sources in individual archives Sat Dec 01 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-5jpp - javadoc in javadoc package Wed Nov 21 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 2.7.1-4jpp - removed packager tag - new jpp extension Sat Oct 06 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-3jpp - used a build file instead of makefile - build classes instead of blindly jared them ! - used original tarball - corrected license spelling Sun Sep 30 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-2jpp - first unified release - s/jPackage/JPackage Tue Aug 28 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-1mdk - first Mandrake release
2004-09-09 03:00:15 +00:00
%build
2005-01-11 14:40:39 +00:00
%if %{native}
%{__make} -f %{SOURCE3} COMPOPTS="$RPM_OPT_FLAGS"
%else
2005-11-28 21:18:50 +00:00
ant -Dj2se.apidoc=%{_javadocdir}/java
2005-01-11 14:40:39 +00:00
%endif
auto-import changelog data from antlr-2.7.2-3jpp.src.rpm 2.7.2-3jpp - Add non-versioned javadoc dir symlink. - Crosslink with local J2SE javadocs. - Spec cleanups, change to UTF-8. 2.7.2-2jpp - Rebuild for JPackage 1.5. Sat Mar 01 2003 Ville Skyttä <ville.skytta at iki.fi> - 2.7.2-1jpp - Update to 2.7.2. - Include antlr script and jEdit mode (see antlr-jedit RPM description). - Use sed instead of bash 2 extension when symlinking jars during build. Tue May 07 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-8jpp - really section macro - hardcoded distribution and vendor tag - group tag again Thu May 02 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-7jpp - distribution tag - group tag - section macro Fri Jan 18 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-6jpp - versioned dir for javadoc - no dependencies for manual and javadoc packages - additional sources in individual archives Sat Dec 01 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-5jpp - javadoc in javadoc package Wed Nov 21 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 2.7.1-4jpp - removed packager tag - new jpp extension Sat Oct 06 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-3jpp - used a build file instead of makefile - build classes instead of blindly jared them ! - used original tarball - corrected license spelling Sun Sep 30 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-2jpp - first unified release - s/jPackage/JPackage Tue Aug 28 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-1mdk - first Mandrake release
2004-09-09 03:00:15 +00:00
%install
rm -rf $RPM_BUILD_ROOT
2005-01-11 14:40:39 +00:00
install -dm 755 $RPM_BUILD_ROOT%{_bindir}
touch $RPM_BUILD_ROOT%{_bindir}/antlr # for %%ghost
%if %{native}
install -pm 755 cantlr $RPM_BUILD_ROOT%{_bindir}/antlr-native
%else
auto-import changelog data from antlr-2.7.2-3jpp.src.rpm 2.7.2-3jpp - Add non-versioned javadoc dir symlink. - Crosslink with local J2SE javadocs. - Spec cleanups, change to UTF-8. 2.7.2-2jpp - Rebuild for JPackage 1.5. Sat Mar 01 2003 Ville Skyttä <ville.skytta at iki.fi> - 2.7.2-1jpp - Update to 2.7.2. - Include antlr script and jEdit mode (see antlr-jedit RPM description). - Use sed instead of bash 2 extension when symlinking jars during build. Tue May 07 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-8jpp - really section macro - hardcoded distribution and vendor tag - group tag again Thu May 02 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-7jpp - distribution tag - group tag - section macro Fri Jan 18 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-6jpp - versioned dir for javadoc - no dependencies for manual and javadoc packages - additional sources in individual archives Sat Dec 01 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-5jpp - javadoc in javadoc package Wed Nov 21 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 2.7.1-4jpp - removed packager tag - new jpp extension Sat Oct 06 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-3jpp - used a build file instead of makefile - build classes instead of blindly jared them ! - used original tarball - corrected license spelling Sun Sep 30 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-2jpp - first unified release - s/jPackage/JPackage Tue Aug 28 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-1mdk - first Mandrake release
2004-09-09 03:00:15 +00:00
# jars
mkdir -p $RPM_BUILD_ROOT%{_javadir}
cp -p work/lib/%{name}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
(cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}.jar; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done)
2005-01-11 14:40:39 +00:00
# script
cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/antlr-java
auto-import changelog data from antlr-2.7.2-3jpp.src.rpm 2.7.2-3jpp - Add non-versioned javadoc dir symlink. - Crosslink with local J2SE javadocs. - Spec cleanups, change to UTF-8. 2.7.2-2jpp - Rebuild for JPackage 1.5. Sat Mar 01 2003 Ville Skyttä <ville.skytta at iki.fi> - 2.7.2-1jpp - Update to 2.7.2. - Include antlr script and jEdit mode (see antlr-jedit RPM description). - Use sed instead of bash 2 extension when symlinking jars during build. Tue May 07 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-8jpp - really section macro - hardcoded distribution and vendor tag - group tag again Thu May 02 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-7jpp - distribution tag - group tag - section macro Fri Jan 18 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-6jpp - versioned dir for javadoc - no dependencies for manual and javadoc packages - additional sources in individual archives Sat Dec 01 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-5jpp - javadoc in javadoc package Wed Nov 21 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 2.7.1-4jpp - removed packager tag - new jpp extension Sat Oct 06 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-3jpp - used a build file instead of makefile - build classes instead of blindly jared them ! - used original tarball - corrected license spelling Sun Sep 30 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-2jpp - first unified release - s/jPackage/JPackage Tue Aug 28 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-1mdk - first Mandrake release
2004-09-09 03:00:15 +00:00
# javadoc
mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
2006-07-22 21:51:01 +00:00
cp -pr work/api/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
auto-import changelog data from antlr-2.7.2-3jpp.src.rpm 2.7.2-3jpp - Add non-versioned javadoc dir symlink. - Crosslink with local J2SE javadocs. - Spec cleanups, change to UTF-8. 2.7.2-2jpp - Rebuild for JPackage 1.5. Sat Mar 01 2003 Ville Skyttä <ville.skytta at iki.fi> - 2.7.2-1jpp - Update to 2.7.2. - Include antlr script and jEdit mode (see antlr-jedit RPM description). - Use sed instead of bash 2 extension when symlinking jars during build. Tue May 07 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-8jpp - really section macro - hardcoded distribution and vendor tag - group tag again Thu May 02 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-7jpp - distribution tag - group tag - section macro Fri Jan 18 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-6jpp - versioned dir for javadoc - no dependencies for manual and javadoc packages - additional sources in individual archives Sat Dec 01 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-5jpp - javadoc in javadoc package Wed Nov 21 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 2.7.1-4jpp - removed packager tag - new jpp extension Sat Oct 06 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-3jpp - used a build file instead of makefile - build classes instead of blindly jared them ! - used original tarball - corrected license spelling Sun Sep 30 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-2jpp - first unified release - s/jPackage/JPackage Tue Aug 28 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-1mdk - first Mandrake release
2004-09-09 03:00:15 +00:00
ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name}
# jedit mode
%if %{build_jedit}
auto-import changelog data from antlr-2.7.2-3jpp.src.rpm 2.7.2-3jpp - Add non-versioned javadoc dir symlink. - Crosslink with local J2SE javadocs. - Spec cleanups, change to UTF-8. 2.7.2-2jpp - Rebuild for JPackage 1.5. Sat Mar 01 2003 Ville Skyttä <ville.skytta at iki.fi> - 2.7.2-1jpp - Update to 2.7.2. - Include antlr script and jEdit mode (see antlr-jedit RPM description). - Use sed instead of bash 2 extension when symlinking jars during build. Tue May 07 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-8jpp - really section macro - hardcoded distribution and vendor tag - group tag again Thu May 02 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-7jpp - distribution tag - group tag - section macro Fri Jan 18 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-6jpp - versioned dir for javadoc - no dependencies for manual and javadoc packages - additional sources in individual archives Sat Dec 01 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-5jpp - javadoc in javadoc package Wed Nov 21 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 2.7.1-4jpp - removed packager tag - new jpp extension Sat Oct 06 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-3jpp - used a build file instead of makefile - build classes instead of blindly jared them ! - used original tarball - corrected license spelling Sun Sep 30 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-2jpp - first unified release - s/jPackage/JPackage Tue Aug 28 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-1mdk - first Mandrake release
2004-09-09 03:00:15 +00:00
mkdir -p $RPM_BUILD_ROOT%{_datadir}/jedit/modes
cp -p extras/antlr-jedit.xml $RPM_BUILD_ROOT%{_datadir}/jedit/modes/antlr.xml
2004-11-12 11:06:49 +00:00
%endif
%endif
auto-import changelog data from antlr-2.7.2-3jpp.src.rpm 2.7.2-3jpp - Add non-versioned javadoc dir symlink. - Crosslink with local J2SE javadocs. - Spec cleanups, change to UTF-8. 2.7.2-2jpp - Rebuild for JPackage 1.5. Sat Mar 01 2003 Ville Skyttä <ville.skytta at iki.fi> - 2.7.2-1jpp - Update to 2.7.2. - Include antlr script and jEdit mode (see antlr-jedit RPM description). - Use sed instead of bash 2 extension when symlinking jars during build. Tue May 07 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-8jpp - really section macro - hardcoded distribution and vendor tag - group tag again Thu May 02 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-7jpp - distribution tag - group tag - section macro Fri Jan 18 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-6jpp - versioned dir for javadoc - no dependencies for manual and javadoc packages - additional sources in individual archives Sat Dec 01 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-5jpp - javadoc in javadoc package Wed Nov 21 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 2.7.1-4jpp - removed packager tag - new jpp extension Sat Oct 06 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-3jpp - used a build file instead of makefile - build classes instead of blindly jared them ! - used original tarball - corrected license spelling Sun Sep 30 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-2jpp - first unified release - s/jPackage/JPackage Tue Aug 28 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-1mdk - first Mandrake release
2004-09-09 03:00:15 +00:00
2006-07-19 19:41:20 +00:00
%if %{gcj_support}
%{_bindir}/aot-compile-rpm
%endif
auto-import changelog data from antlr-2.7.2-3jpp.src.rpm 2.7.2-3jpp - Add non-versioned javadoc dir symlink. - Crosslink with local J2SE javadocs. - Spec cleanups, change to UTF-8. 2.7.2-2jpp - Rebuild for JPackage 1.5. Sat Mar 01 2003 Ville Skyttä <ville.skytta at iki.fi> - 2.7.2-1jpp - Update to 2.7.2. - Include antlr script and jEdit mode (see antlr-jedit RPM description). - Use sed instead of bash 2 extension when symlinking jars during build. Tue May 07 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-8jpp - really section macro - hardcoded distribution and vendor tag - group tag again Thu May 02 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-7jpp - distribution tag - group tag - section macro Fri Jan 18 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-6jpp - versioned dir for javadoc - no dependencies for manual and javadoc packages - additional sources in individual archives Sat Dec 01 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-5jpp - javadoc in javadoc package Wed Nov 21 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 2.7.1-4jpp - removed packager tag - new jpp extension Sat Oct 06 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-3jpp - used a build file instead of makefile - build classes instead of blindly jared them ! - used original tarball - corrected license spelling Sun Sep 30 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-2jpp - first unified release - s/jPackage/JPackage Tue Aug 28 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-1mdk - first Mandrake release
2004-09-09 03:00:15 +00:00
%clean
rm -rf $RPM_BUILD_ROOT
2005-01-11 14:40:39 +00:00
%post
%{_sbindir}/update-alternatives --install %{_bindir}/antlr \
%{name} %{_bindir}/antlr-java 10
2006-07-19 19:41:20 +00:00
%if %{gcj_support}
if [ -x %{_bindir}/rebuild-gcj-db ]
then
%{_bindir}/rebuild-gcj-db
fi
%endif
2005-01-11 14:40:39 +00:00
%postun
if [ $1 -eq 0 ] ; then
%{_sbindir}/update-alternatives --remove %{name} %{_bindir}/antlr-java
fi
%if %{native}
2006-07-19 19:41:20 +00:00
%if %{gcj_support}
if [ -x %{_bindir}/rebuild-gcj-db ]
then
%{_bindir}/rebuild-gcj-db
fi
%endif
2005-01-11 14:40:39 +00:00
%post native
%{_sbindir}/update-alternatives --install %{_bindir}/antlr \
%{name} %{_bindir}/antlr-native 20
2006-07-19 19:41:20 +00:00
%if %{gcj_support}
if [ -x %{_bindir}/rebuild-gcj-db ]
then
%{_bindir}/rebuild-gcj-db
fi
%endif
2005-01-11 14:40:39 +00:00
%postun native
if [ $1 -eq 0 ] ; then
%{_sbindir}/update-alternatives --remove %{name} %{_bindir}/antlr-native
fi
%endif
2006-07-19 19:41:20 +00:00
%if %{gcj_support}
if [ -x %{_bindir}/rebuild-gcj-db ]
then
%{_bindir}/rebuild-gcj-db
fi
%endif
auto-import changelog data from antlr-2.7.2-3jpp.src.rpm 2.7.2-3jpp - Add non-versioned javadoc dir symlink. - Crosslink with local J2SE javadocs. - Spec cleanups, change to UTF-8. 2.7.2-2jpp - Rebuild for JPackage 1.5. Sat Mar 01 2003 Ville Skyttä <ville.skytta at iki.fi> - 2.7.2-1jpp - Update to 2.7.2. - Include antlr script and jEdit mode (see antlr-jedit RPM description). - Use sed instead of bash 2 extension when symlinking jars during build. Tue May 07 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-8jpp - really section macro - hardcoded distribution and vendor tag - group tag again Thu May 02 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-7jpp - distribution tag - group tag - section macro Fri Jan 18 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-6jpp - versioned dir for javadoc - no dependencies for manual and javadoc packages - additional sources in individual archives Sat Dec 01 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-5jpp - javadoc in javadoc package Wed Nov 21 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 2.7.1-4jpp - removed packager tag - new jpp extension Sat Oct 06 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-3jpp - used a build file instead of makefile - build classes instead of blindly jared them ! - used original tarball - corrected license spelling Sun Sep 30 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-2jpp - first unified release - s/jPackage/JPackage Tue Aug 28 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-1mdk - first Mandrake release
2004-09-09 03:00:15 +00:00
%post javadoc
rm -f %{_javadocdir}/%{name}
ln -s %{name}-%{version} %{_javadocdir}/%{name}
2005-01-11 14:40:39 +00:00
%if %{native}
%files native
%defattr(0644,root,root,0755)
2006-07-19 19:41:20 +00:00
%doc INSTALL.txt LICENSE.txt
2005-01-11 14:40:39 +00:00
%defattr(0755,root,root,0755)
%ghost %{_bindir}/antlr
%{_bindir}/antlr-native
%else
auto-import changelog data from antlr-2.7.2-3jpp.src.rpm 2.7.2-3jpp - Add non-versioned javadoc dir symlink. - Crosslink with local J2SE javadocs. - Spec cleanups, change to UTF-8. 2.7.2-2jpp - Rebuild for JPackage 1.5. Sat Mar 01 2003 Ville Skyttä <ville.skytta at iki.fi> - 2.7.2-1jpp - Update to 2.7.2. - Include antlr script and jEdit mode (see antlr-jedit RPM description). - Use sed instead of bash 2 extension when symlinking jars during build. Tue May 07 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-8jpp - really section macro - hardcoded distribution and vendor tag - group tag again Thu May 02 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-7jpp - distribution tag - group tag - section macro Fri Jan 18 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-6jpp - versioned dir for javadoc - no dependencies for manual and javadoc packages - additional sources in individual archives Sat Dec 01 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-5jpp - javadoc in javadoc package Wed Nov 21 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 2.7.1-4jpp - removed packager tag - new jpp extension Sat Oct 06 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-3jpp - used a build file instead of makefile - build classes instead of blindly jared them ! - used original tarball - corrected license spelling Sun Sep 30 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-2jpp - first unified release - s/jPackage/JPackage Tue Aug 28 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-1mdk - first Mandrake release
2004-09-09 03:00:15 +00:00
%files
%defattr(0644,root,root,0755)
2006-07-19 19:41:20 +00:00
%doc INSTALL.txt LICENSE.txt
2005-01-11 14:40:39 +00:00
%{_javadir}/%{name}*.jar
%defattr(0755,root,root,0755)
%ghost %{_bindir}/antlr
%{_bindir}/antlr-java
auto-import changelog data from antlr-2.7.2-3jpp.src.rpm 2.7.2-3jpp - Add non-versioned javadoc dir symlink. - Crosslink with local J2SE javadocs. - Spec cleanups, change to UTF-8. 2.7.2-2jpp - Rebuild for JPackage 1.5. Sat Mar 01 2003 Ville Skyttä <ville.skytta at iki.fi> - 2.7.2-1jpp - Update to 2.7.2. - Include antlr script and jEdit mode (see antlr-jedit RPM description). - Use sed instead of bash 2 extension when symlinking jars during build. Tue May 07 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-8jpp - really section macro - hardcoded distribution and vendor tag - group tag again Thu May 02 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-7jpp - distribution tag - group tag - section macro Fri Jan 18 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-6jpp - versioned dir for javadoc - no dependencies for manual and javadoc packages - additional sources in individual archives Sat Dec 01 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-5jpp - javadoc in javadoc package Wed Nov 21 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 2.7.1-4jpp - removed packager tag - new jpp extension Sat Oct 06 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-3jpp - used a build file instead of makefile - build classes instead of blindly jared them ! - used original tarball - corrected license spelling Sun Sep 30 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-2jpp - first unified release - s/jPackage/JPackage Tue Aug 28 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-1mdk - first Mandrake release
2004-09-09 03:00:15 +00:00
2006-07-19 19:41:20 +00:00
%if %{gcj_support}
%attr(-,root,root) %{_libdir}/gcj/%{name}
%endif
auto-import changelog data from antlr-2.7.2-3jpp.src.rpm 2.7.2-3jpp - Add non-versioned javadoc dir symlink. - Crosslink with local J2SE javadocs. - Spec cleanups, change to UTF-8. 2.7.2-2jpp - Rebuild for JPackage 1.5. Sat Mar 01 2003 Ville Skyttä <ville.skytta at iki.fi> - 2.7.2-1jpp - Update to 2.7.2. - Include antlr script and jEdit mode (see antlr-jedit RPM description). - Use sed instead of bash 2 extension when symlinking jars during build. Tue May 07 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-8jpp - really section macro - hardcoded distribution and vendor tag - group tag again Thu May 02 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-7jpp - distribution tag - group tag - section macro Fri Jan 18 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-6jpp - versioned dir for javadoc - no dependencies for manual and javadoc packages - additional sources in individual archives Sat Dec 01 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-5jpp - javadoc in javadoc package Wed Nov 21 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 2.7.1-4jpp - removed packager tag - new jpp extension Sat Oct 06 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-3jpp - used a build file instead of makefile - build classes instead of blindly jared them ! - used original tarball - corrected license spelling Sun Sep 30 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-2jpp - first unified release - s/jPackage/JPackage Tue Aug 28 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-1mdk - first Mandrake release
2004-09-09 03:00:15 +00:00
%files manual
%defattr(0644,root,root,0755)
%doc doc/*
%files javadoc
%defattr(0644,root,root,0755)
%doc %{_javadocdir}/%{name}-%{version}
%ghost %doc %{_javadocdir}/%{name}
%if %{build_jedit}
auto-import changelog data from antlr-2.7.2-3jpp.src.rpm 2.7.2-3jpp - Add non-versioned javadoc dir symlink. - Crosslink with local J2SE javadocs. - Spec cleanups, change to UTF-8. 2.7.2-2jpp - Rebuild for JPackage 1.5. Sat Mar 01 2003 Ville Skyttä <ville.skytta at iki.fi> - 2.7.2-1jpp - Update to 2.7.2. - Include antlr script and jEdit mode (see antlr-jedit RPM description). - Use sed instead of bash 2 extension when symlinking jars during build. Tue May 07 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-8jpp - really section macro - hardcoded distribution and vendor tag - group tag again Thu May 02 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-7jpp - distribution tag - group tag - section macro Fri Jan 18 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-6jpp - versioned dir for javadoc - no dependencies for manual and javadoc packages - additional sources in individual archives Sat Dec 01 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-5jpp - javadoc in javadoc package Wed Nov 21 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 2.7.1-4jpp - removed packager tag - new jpp extension Sat Oct 06 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-3jpp - used a build file instead of makefile - build classes instead of blindly jared them ! - used original tarball - corrected license spelling Sun Sep 30 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-2jpp - first unified release - s/jPackage/JPackage Tue Aug 28 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-1mdk - first Mandrake release
2004-09-09 03:00:15 +00:00
%files jedit
%defattr(0644,root,root,0755)
%{_datadir}/jedit/modes/*
2004-11-12 11:06:49 +00:00
%endif
%endif
auto-import changelog data from antlr-2.7.2-3jpp.src.rpm 2.7.2-3jpp - Add non-versioned javadoc dir symlink. - Crosslink with local J2SE javadocs. - Spec cleanups, change to UTF-8. 2.7.2-2jpp - Rebuild for JPackage 1.5. Sat Mar 01 2003 Ville Skyttä <ville.skytta at iki.fi> - 2.7.2-1jpp - Update to 2.7.2. - Include antlr script and jEdit mode (see antlr-jedit RPM description). - Use sed instead of bash 2 extension when symlinking jars during build. Tue May 07 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-8jpp - really section macro - hardcoded distribution and vendor tag - group tag again Thu May 02 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-7jpp - distribution tag - group tag - section macro Fri Jan 18 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-6jpp - versioned dir for javadoc - no dependencies for manual and javadoc packages - additional sources in individual archives Sat Dec 01 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-5jpp - javadoc in javadoc package Wed Nov 21 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 2.7.1-4jpp - removed packager tag - new jpp extension Sat Oct 06 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-3jpp - used a build file instead of makefile - build classes instead of blindly jared them ! - used original tarball - corrected license spelling Sun Sep 30 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-2jpp - first unified release - s/jPackage/JPackage Tue Aug 28 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-1mdk - first Mandrake release
2004-09-09 03:00:15 +00:00
%changelog
2006-08-04 14:52:55 +00:00
* Thu Aug 03 2006 Deepak Bhole <dbhole@redhat.com> = 0:2.7.6-4jpp.1
- Add missing requirements.
2006-07-22 21:51:01 +00:00
* Sat Jul 22 2006 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:2.7.6-3jpp_5fc
- Unstub docs.
2006-07-22 08:35:15 +00:00
* Sat Jul 22 2006 Jakub Jelinek <jakub@redhat.com> - 0:2.7.6-3jpp_4fc
- Remove hack-libgcj requirement.
2006-07-21 23:10:02 +00:00
* Fri Jul 21 2006 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:2.7.6-3jpp_3fc
2006-07-21 23:28:27 +00:00
- Stub docs. (dist-fc6-java)
- Require hack-libgcj for build. (dist-fc6-java)
2006-07-21 23:10:02 +00:00
- Bump release number.
2006-08-04 14:52:55 +00:00
* Wed Jul 19 2006 Deepak Bhole <dbhole@redhat.com> = 0:2.7.6-3jpp_2fc
- From gbenson@redhat:
- Omit the jedit subpackage to fix dependencies.
2006-08-04 14:52:55 +00:00
* Wed Jul 19 2006 Deepak Bhole <dbhole@redhat.com> = 0:2.7.6-3jpp_1fc
2006-07-19 19:41:20 +00:00
- Added conditional native compilation.
2005-12-22 06:09:03 +00:00
2006-07-19 19:41:20 +00:00
* Fri Jan 13 2006 Fernando Nasser <fnasser@redhat.com> - 0:2.7.6-2jpp
- First JPP 1.7 build
2005-12-13 17:41:30 +00:00
2006-07-19 19:41:20 +00:00
* Fri Jan 13 2006 Fernando Nasser <fnasser@redhat.com> - 0:2.7.6-1jpp
- Update to 2.7.6.
2005-01-11 14:40:39 +00:00
* Fri Aug 20 2004 Ralph Apel <r.apel at r-apel.de> - 0:2.7.4-2jpp
- Build with ant-1.6.2.
- Made native scripts conditional
* Tue May 18 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:2.7.4-1jpp
- Update to 2.7.4.
* Fri Apr 2 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:2.7.3-2jpp
- Create alternatives also on upgrades.
* Wed Mar 31 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:2.7.3-1jpp
- Update to 2.7.3.
- Include gcj build option and a native subpackage, build using
"--with native" to get that.
- Add %{_bindir}/antlr alternative.
auto-import changelog data from antlr-2.7.2-3jpp.src.rpm 2.7.2-3jpp - Add non-versioned javadoc dir symlink. - Crosslink with local J2SE javadocs. - Spec cleanups, change to UTF-8. 2.7.2-2jpp - Rebuild for JPackage 1.5. Sat Mar 01 2003 Ville Skyttä <ville.skytta at iki.fi> - 2.7.2-1jpp - Update to 2.7.2. - Include antlr script and jEdit mode (see antlr-jedit RPM description). - Use sed instead of bash 2 extension when symlinking jars during build. Tue May 07 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-8jpp - really section macro - hardcoded distribution and vendor tag - group tag again Thu May 02 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-7jpp - distribution tag - group tag - section macro Fri Jan 18 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-6jpp - versioned dir for javadoc - no dependencies for manual and javadoc packages - additional sources in individual archives Sat Dec 01 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-5jpp - javadoc in javadoc package Wed Nov 21 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 2.7.1-4jpp - removed packager tag - new jpp extension Sat Oct 06 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-3jpp - used a build file instead of makefile - build classes instead of blindly jared them ! - used original tarball - corrected license spelling Sun Sep 30 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-2jpp - first unified release - s/jPackage/JPackage Tue Aug 28 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-1mdk - first Mandrake release
2004-09-09 03:00:15 +00:00
* Mon Dec 15 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:2.7.2-3jpp
- Add non-versioned javadoc dir symlink.
- Crosslink with local J2SE javadocs.
- Spec cleanups, change to UTF-8.
* Sun Mar 30 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:2.7.2-2jpp
- Rebuild for JPackage 1.5.
* Sat Mar 1 2003 Ville Skyttä <ville.skytta at iki.fi> - 2.7.2-1jpp
- Update to 2.7.2.
- Include antlr script and jEdit mode (see antlr-jedit RPM description).
- Use sed instead of bash 2 extension when symlinking jars during build.
* Tue May 07 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-8jpp
- really section macro
- hardcoded distribution and vendor tag
- group tag again
* Thu May 2 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-7jpp
- distribution tag
- group tag
- section macro
* Fri Jan 18 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-6jpp
- versioned dir for javadoc
- no dependencies for manual and javadoc packages
- additional sources in individual archives
* Sat Dec 1 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-5jpp
- javadoc in javadoc package
* Wed Nov 21 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 2.7.1-4jpp
- removed packager tag
- new jpp extension
* Sat Oct 6 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-3jpp
- used a build file instead of makefile
- build classes instead of blindly jared them !
- used original tarball
- corrected license spelling
* Sun Sep 30 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-2jpp
- first unified release
- s/jPackage/JPackage
* Tue Aug 28 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-1mdk
- first Mandrake release