head 1.26;
access;
symbols
OPENPKG_E1_MP_HEAD:1.5
OPENPKG_E1_MP:1.5
OPENPKG_E1_MP_2_STABLE:1.4.2.2
OPENPKG_E1_FP:1.4.2.2
OPENPKG_2_STABLE_MP:1.4
OPENPKG_2_STABLE_20061018:1.4.2.2
OPENPKG_2_STABLE:1.4.0.2;
locks; strict;
comment @-- @;
1.26
date 2009.11.21.09.25.23; author rse; state Exp;
branches;
next 1.25;
commitid CPfJBF3PmRFoPmcu;
1.25
date 2009.09.28.15.30.59; author rse; state Exp;
branches;
next 1.24;
commitid gF6GoRwqAlYqAs5u;
1.24
date 2009.09.25.08.57.19; author rse; state Exp;
branches;
next 1.23;
commitid gpiaNR1XJMFmv25u;
1.23
date 2009.04.18.13.08.27; author rse; state Exp;
branches;
next 1.22;
commitid 4pHXU27WTIGCZuKt;
1.22
date 2009.03.18.07.29.58; author rse; state Exp;
branches;
next 1.21;
commitid QAU2KkJCclW2auGt;
1.21
date 2009.02.24.08.34.50; author rse; state Exp;
branches;
next 1.20;
commitid MiElL1G1aTL8eFDt;
1.20
date 2009.02.23.21.19.01; author rse; state Exp;
branches;
next 1.19;
commitid ukPOzBHwwYtiuBDt;
1.19
date 2008.12.22.18.27.08; author rse; state Exp;
branches;
next 1.18;
commitid 2zte9WAydd4Tyuvt;
1.18
date 2008.11.17.13.03.15; author rse; state Exp;
branches;
next 1.17;
commitid NumanXK3DSowTXqt;
1.17
date 2008.10.02.16.44.46; author rse; state Exp;
branches;
next 1.16;
commitid 3YlJyjhMutRbB4lt;
1.16
date 2008.09.05.18.37.17; author rse; state Exp;
branches;
next 1.15;
commitid baMtlyS84b4B5Cht;
1.15
date 2008.08.13.06.09.14; author rse; state Exp;
branches;
next 1.14;
commitid A4eztgwZm70OGAet;
1.14
date 2008.07.18.06.48.10; author rse; state Exp;
branches;
next 1.13;
commitid xbxvsN1ubcTYJfbt;
1.13
date 2008.06.18.06.26.59; author rse; state Exp;
branches;
next 1.12;
commitid lK3ohjXahhRuAo7t;
1.12
date 2008.06.07.18.54.41; author rse; state Exp;
branches;
next 1.11;
commitid NCw20v7c8q4V436t;
1.11
date 2008.05.31.19.04.05; author rse; state Exp;
branches;
next 1.10;
commitid lSHrtgNjs826m95t;
1.10
date 2008.05.11.21.30.46; author rse; state Exp;
branches;
next 1.9;
commitid HfpJFE1HkrhhOA2t;
1.9
date 2008.03.08.08.04.09; author rse; state Exp;
branches;
next 1.8;
commitid qWdEMcj1o8F6piUs;
1.8
date 2008.02.08.18.39.22; author rse; state Exp;
branches;
next 1.7;
commitid 7nXRlkRHxm5OQCQs;
1.7
date 2008.01.01.14.50.30; author rse; state Exp;
branches;
next 1.6;
commitid B8esaHJHoduuKILs;
1.6
date 2007.08.26.10.20.51; author rse; state Exp;
branches;
next 1.5;
commitid x5MvEs5RCCsCqfvs;
1.5
date 2007.01.01.17.36.32; author rse; state Exp;
branches;
next 1.4;
commitid BicZD6VUl7GuqP0s;
1.4
date 2006.10.13.17.26.45; author thl; state Exp;
branches
1.4.2.1;
next 1.3;
commitid q5GSxzsSDX29XxQr;
1.3
date 2006.09.23.10.52.04; author rse; state Exp;
branches;
next 1.2;
commitid ZAKMzMAEX0XQqWNr;
1.2
date 2006.07.14.06.58.53; author thl; state Exp;
branches;
next 1.1;
commitid JYRV6dpB3fcrqNEr;
1.1
date 2006.02.02.08.04.32; author rse; state Exp;
branches;
next ;
commitid IJiTcOBosQqNZYjr;
1.4.2.1
date 2006.10.13.17.26.45; author rse; state dead;
branches;
next 1.4.2.2;
commitid iZxwRSmmWscPXUQr;
1.4.2.2
date 2006.10.16.14.47.37; author rse; state Exp;
branches;
next ;
commitid iZxwRSmmWscPXUQr;
desc
@@
1.26
log
@modifying package: antlr-3.2 20090928 -> 20091121
@
text
@##
## antlr.spec -- OpenPKG RPM Package Specification
## Copyright (c) 2000-2009 OpenPKG Foundation e.V.
##
## Permission to use, copy, modify, and distribute this software for
## any purpose with or without fee is hereby granted, provided that
## the above copyright notice and this permission notice appear in all
## copies.
##
## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 AUTHORS AND COPYRIGHT HOLDERS AND THEIR
## 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.
##
# package version
%define V_antlr 3.2
%define V_antlrworks 1.3.1
# package information
Name: antlr
Summary: ANother Tool for Language Recognition (ANTLR)
URL: http://www.antlr.org/
Vendor: Terence Parr
Packager: OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class: EVAL
Group: CompilerCompiler
License: GPL
Version: %{V_antlr}
Release: 20091121
# list of sources
Source0: http://www.antlr.org/download/antlr-%{V_antlr}.jar
Source1: http://www.antlr.org/download/antlr-runtime-%{V_antlr}.jar
Source2: http://www.antlr.org/download/antlrworks-%{V_antlrworks}.jar
Source3: antlr.sh
Source4: antlrworks.sh
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20040130
PreReq: OpenPKG, openpkg >= 20040130, java, JAVA-JDK
AutoReq: no
AutoReqProv: no
%description
ANother Tool for Language Recognition (ANTLR, formerly PCCTS)
is a language tool that provides a framework for constructing
recognizers, compilers, and translators from grammatical
descriptions containing Java, C#, Python, 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.
%track
prog antlr = {
version = %{V_antlr}
url = http://www.antlr.org/download.html
regex = antlr-(__VER__)\.jar
}
prog antlr:antrlworks = {
version = %{V_antlrworks}
url = http://www.antlr.org/download.html
regex = antlrworks-(__VER__)\.jar
}
%prep
%setup -q -T -c
%build
%install
rm -rf $RPM_BUILD_ROOT
%{l_shtool} mkdir -f -p -m 755 \
$RPM_BUILD_ROOT%{l_prefix}/bin \
$RPM_BUILD_ROOT%{l_prefix}/libexec/antlr
%{l_shtool} install -c -m 644 \
%{SOURCE antlr-%{V_antlr}.jar} \
%{SOURCE antlr-runtime-%{V_antlr}.jar} \
%{SOURCE antlrworks-%{V_antlrworks}.jar} \
$RPM_BUILD_ROOT%{l_prefix}/libexec/antlr/
%{l_shtool} install -c -m 755 %{l_value -s -a} \
%{SOURCE antlr.sh} $RPM_BUILD_ROOT%{l_prefix}/bin/antlr
%{l_shtool} install -c -m 755 %{l_value -s -a} \
%{SOURCE antlrworks.sh} $RPM_BUILD_ROOT%{l_prefix}/bin/antlrworks
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
%files -f files
%clean
rm -rf $RPM_BUILD_ROOT
@
1.25
log
@modifying package: antlr-3.2 20090925 -> 20090928
@
text
@d26 1
a26 1
%define V_antlrworks 1.3
d39 1
a39 1
Release: 20090928
@
1.24
log
@upgrading package: antlr 3.1.3 -> 3.2
@
text
@d26 1
a26 1
%define V_antlrworks 1.2.3
d39 1
a39 1
Release: 20090925
@
1.23
log
@bump years in copyright messages
@
text
@d25 1
a25 1
%define V_antlr 3.1.3
d39 1
a39 1
Release: 20090318
d42 5
a46 4
Source0: http://www.antlr.org/download/antlr-%{V_antlr}.tar.gz
Source1: http://www.antlr.org/download/antlrworks-%{V_antlrworks}.jar
Source2: antlr.sh
Source3: antlrworks.sh
d70 1
a70 1
regex = antlr-(__VER__)\.tar\.gz
d79 1
a79 1
%setup -q
d89 4
a92 3
lib/*.jar $RPM_BUILD_ROOT%{l_prefix}/libexec/antlr/
%{l_shtool} install -c -m 644 \
%{SOURCE1} $RPM_BUILD_ROOT%{l_prefix}/libexec/antlr/
@
1.22
log
@upgrading package: antlr 3.1.2 -> 3.1.3
@
text
@d3 1
a3 1
## Copyright (c) 2000-2008 OpenPKG Foundation e.V.
@
1.21
log
@modifying package: antlr-3.1.2 20090223 -> 20090224
@
text
@d25 1
a25 1
%define V_antlr 3.1.2
d39 1
a39 1
Release: 20090224
@
1.20
log
@upgrading package: antlr 3.1.1 -> 3.1.2
@
text
@d26 1
a26 1
%define V_antlrworks 1.2.2
d39 1
a39 1
Release: 20090223
@
1.19
log
@fix tracking
@
text
@d25 1
a25 1
%define V_antlr 3.1.1
d39 1
a39 1
Release: 20081222
@
1.18
log
@modifying package: antlr-3.1.1 20081002 -> 20081117
@
text
@d39 1
a39 1
Release: 20081117
d68 1
a68 1
url = http://www.antlr.org/download/
d73 1
a73 1
url = http://www.antlr.org/download/
@
1.17
log
@upgrading package: antlr 3.1 -> 3.1.1
@
text
@d26 1
a26 1
%define V_antlrworks 1.2.1
d39 1
a39 1
Release: 20081002
@
1.16
log
@modifying package: antlr-3.1 20080813 -> 20080905
@
text
@d25 2
a26 2
%define V_antlr 3.1
%define V_antlrworks 1.2
d39 1
a39 1
Release: 20080905
@
1.15
log
@upgrading package: antlr 3.1b2 -> 3.1
@
text
@d26 1
a26 1
%define V_antlrworks 1.2b5
d39 1
a39 1
Release: 20080813
@
1.14
log
@upgrading package: antlr 3.0.1 -> 3.1b2
@
text
@d25 1
a25 1
%define V_antlr 3.1b2
d39 1
a39 1
Release: 20080718
@
1.13
log
@modifying package: antlr-3.0.1 20080607 -> 20080618
@
text
@d25 1
a25 1
%define V_antlr 3.0.1
d39 1
a39 1
Release: 20080618
@
1.12
log
@modifying package: antlr-3.0.1 20080531 -> 20080607
@
text
@d26 1
a26 1
%define V_antlrworks 1.2b4
d39 1
a39 1
Release: 20080607
@
1.11
log
@modifying package: antlr-3.0.1 20080511 -> 20080531
@
text
@d26 1
a26 1
%define V_antlrworks 1.2b3
d39 1
a39 1
Release: 20080531
@
1.10
log
@modifying package: antlr-3.0.1 20080308 -> 20080511
@
text
@d26 1
a26 1
%define V_antlrworks 1.2b2
d39 1
a39 1
Release: 20080511
@
1.9
log
@modifying package: antlr-3.0.1 20080208 -> 20080308
@
text
@d26 1
a26 1
%define V_antlrworks 1.2b1
d39 1
a39 1
Release: 20080308
@
1.8
log
@upgrading package: antlr 2.7.7 -> 3.0.1
@
text
@d26 1
a26 1
%define V_antlrworks 1.1.7
d39 1
a39 1
Release: 20080208
@
1.7
log
@Update package specifications according to OpenPKG year 2008 world order:
http://www.mail-archive.com/openpkg-announce@@openpkg.org/msg00221.html
@
text
@d24 4
d30 1
a30 1
Summary: ANother Tool for Language Recognition
d38 2
a39 2
Version: 2.7.7
Release: 20080101
d42 4
a45 2
Source0: http://www.antlr.org/download/antlr-%{version}.tar.gz
Source1: antlr.mk
d50 2
a51 2
BuildPreReq: OpenPKG, openpkg >= 20040130, gcc, gcc::with_cxx = yes, gcc::with_java = yes, make
PreReq: OpenPKG, openpkg >= 20040130
d56 1
a56 1
ANTLR, ANother Tool for Language Recognition, (formerly PCCTS)
d63 1
a63 2
walking, and translation. This packaging contains a GCJ compiled
ANTLR executable and mainly supports C++ grammar actions.
d67 1
a67 2
comment = "thl: 3.x build process changed significantly. Needs complete overhaul"
version = %{version}
d71 5
a80 14
CC="%{l_cc}" \
CXX="%{l_cxx}" \
CFLAGS="%{l_cflags -O}" \
CXXFLAGS="%{l_cxxflags -O}" \
CPPFLAGS="%{l_cppflags}" \
./configure \
--prefix=%{l_prefix} \
--includedir=%{l_prefix}/include/antlr \
--enable-cxx \
--disable-java \
--disable-python \
--disable-csharp
%{l_make} %{l_mflags}
%{l_make} %{l_mflags} -f %{SOURCE antlr.mk}
d86 1
a86 9
$RPM_BUILD_ROOT%{l_prefix}/lib \
$RPM_BUILD_ROOT%{l_prefix}/include/antlr \
$RPM_BUILD_ROOT%{l_prefix}/share/antlr
%{l_shtool} install -c -s -m 755 \
antlr/antlr $RPM_BUILD_ROOT%{l_prefix}/bin/
%{l_shtool} install -c -m 755 \
scripts/antlr-config $RPM_BUILD_ROOT%{l_prefix}/bin/
%{l_shtool} install -c -m 644 \
lib/cpp/src/libantlr.a $RPM_BUILD_ROOT%{l_prefix}/lib/
d88 1
a88 1
lib/cpp/antlr/* $RPM_BUILD_ROOT%{l_prefix}/include/antlr/
d90 6
a95 5
doc/*.html doc/*.gif doc/*.jpg \
$RPM_BUILD_ROOT%{l_prefix}/share/antlr/
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
%{l_files_std} \
'%doc %{l_prefix}/share/antlr/*'
@
1.6
log
@at least upgrade to latest ANTLR 2.x version 2.7.7 and remember that C++ compiler is required, too
@
text
@d3 1
a3 2
## Copyright (c) 2000-2007 OpenPKG Foundation e.V.
## Copyright (c) 2000-2007 Ralf S. Engelschall
d35 1
a35 1
Release: 20070826
@
1.5
log
@Welcome Year 2007!
@
text
@d35 2
a36 2
Version: 2.7.6
Release: 20061013
d45 1
a45 1
BuildPreReq: OpenPKG, openpkg >= 20040130, gcc, gcc::with_java = yes, make
@
1.4
log
@new world order for "Packager" and "Distribution" headers
@
text
@d3 2
a4 2
## Copyright (c) 2000-2006 OpenPKG Foundation e.V.
## Copyright (c) 2000-2006 Ralf S. Engelschall
@
1.4.2.1
log
@file antlr.spec was added on branch OPENPKG_2_STABLE on 2006-10-16 14:47:37 +0000
@
text
@d1 114
@
1.4.2.2
log
@Mass merge from CURRENT to 2-STABLE (all packages except those of JUNK class)
@
text
@a0 114
##
## antlr.spec -- OpenPKG RPM Package Specification
## Copyright (c) 2000-2006 OpenPKG Foundation e.V.
## Copyright (c) 2000-2006 Ralf S. Engelschall
##
## Permission to use, copy, modify, and distribute this software for
## any purpose with or without fee is hereby granted, provided that
## the above copyright notice and this permission notice appear in all
## copies.
##
## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 AUTHORS AND COPYRIGHT HOLDERS AND THEIR
## 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.
##
# package information
Name: antlr
Summary: ANother Tool for Language Recognition
URL: http://www.antlr.org/
Vendor: Terence Parr
Packager: OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class: EVAL
Group: CompilerCompiler
License: GPL
Version: 2.7.6
Release: 2.20061018
# list of sources
Source0: http://www.antlr.org/download/antlr-%{version}.tar.gz
Source1: antlr.mk
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 2.20061018, gcc, gcc::with_java = yes, make
PreReq: OpenPKG, openpkg >= 2.20061018
AutoReq: no
AutoReqProv: no
%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#, Python, 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. This packaging contains a GCJ compiled
ANTLR executable and mainly supports C++ grammar actions.
%track
prog antlr = {
comment = "thl: 3.x build process changed significantly. Needs complete overhaul"
version = %{version}
url = http://www.antlr.org/download/
regex = antlr-(__VER__)\.tar\.gz
}
%prep
%setup -q
%build
CC="%{l_cc}" \
CXX="%{l_cxx}" \
CFLAGS="%{l_cflags -O}" \
CXXFLAGS="%{l_cxxflags -O}" \
CPPFLAGS="%{l_cppflags}" \
./configure \
--prefix=%{l_prefix} \
--includedir=%{l_prefix}/include/antlr \
--enable-cxx \
--disable-java \
--disable-python \
--disable-csharp
%{l_make} %{l_mflags}
%{l_make} %{l_mflags} -f %{SOURCE antlr.mk}
%install
rm -rf $RPM_BUILD_ROOT
%{l_shtool} mkdir -f -p -m 755 \
$RPM_BUILD_ROOT%{l_prefix}/bin \
$RPM_BUILD_ROOT%{l_prefix}/lib \
$RPM_BUILD_ROOT%{l_prefix}/include/antlr \
$RPM_BUILD_ROOT%{l_prefix}/share/antlr
%{l_shtool} install -c -s -m 755 \
antlr/antlr $RPM_BUILD_ROOT%{l_prefix}/bin/
%{l_shtool} install -c -m 755 \
scripts/antlr-config $RPM_BUILD_ROOT%{l_prefix}/bin/
%{l_shtool} install -c -m 644 \
lib/cpp/src/libantlr.a $RPM_BUILD_ROOT%{l_prefix}/lib/
%{l_shtool} install -c -m 644 \
lib/cpp/antlr/* $RPM_BUILD_ROOT%{l_prefix}/include/antlr/
%{l_shtool} install -c -m 644 \
doc/*.html doc/*.gif doc/*.jpg \
$RPM_BUILD_ROOT%{l_prefix}/share/antlr/
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
%{l_files_std} \
'%doc %{l_prefix}/share/antlr/*'
%files -f files
%clean
rm -rf $RPM_BUILD_ROOT
@
1.3
log
@adjust Group header
@
text
@d30 2
a31 2
Packager: OpenPKG
Distribution: OpenPKG
d36 1
a36 1
Release: 20060923
@
1.2
log
@modifying package: antlr-2.7.6 20060202 -> 20060714
@
text
@d33 1
a33 1
Group: Language
d36 1
a36 1
Release: 20060714
@
1.1
log
@new package: antlr 2.7.6 (ANother Tool for Language Recognition)
@
text
@d36 1
a36 1
Release: 20060202
d63 1
@