head 1.34; access; symbols; locks; strict; comment @-- @; 1.34 date 2009.07.17.22.09.24; author rse; state Exp; branches; next 1.33; commitid zaTWLCspYwCB87Wt; 1.33 date 2009.07.09.18.58.58; author rse; state Exp; branches; next 1.32; commitid fJqfdkY1KaHdl4Vt; 1.32 date 2009.06.24.09.06.07; author rse; state Exp; branches; next 1.31; commitid 2lECO2ZFleoIx5Tt; 1.31 date 2009.06.03.20.35.00; author rse; state Exp; branches; next 1.30; commitid R9WPHlPPGR4U1sQt; 1.30 date 2009.05.25.17.19.37; author rse; state Exp; branches; next 1.29; commitid skAKouf5oxENehPt; 1.29 date 2009.05.19.17.17.46; author rse; state Exp; branches; next 1.28; commitid AXOGaxVP8MY8qvOt; 1.28 date 2009.05.03.08.00.03; author rse; state Exp; branches; next 1.27; commitid XMvDuFbH1yhGQoMt; 1.27 date 2009.04.18.13.09.58; author rse; state Exp; branches; next 1.26; commitid 4pHXU27WTIGCZuKt; 1.26 date 2009.04.15.16.22.49; author rse; state Exp; branches; next 1.25; commitid ALE7WVrnVI73d8Kt; 1.25 date 2009.04.11.09.04.04; author rse; state Exp; branches; next 1.24; commitid x3Ozvm8HevItUzJt; 1.24 date 2009.04.10.20.03.51; author rse; state Exp; branches; next 1.23; commitid siYnUNfWpUZPAvJt; 1.23 date 2009.03.17.16.25.37; author rse; state Exp; branches; next 1.22; commitid VgzUw25ozOvN9pGt; 1.22 date 2009.03.01.19.43.36; author rse; state Exp; branches; next 1.21; commitid l3qUORwcYbLBLmEt; 1.21 date 2009.02.13.23.12.34; author rse; state Exp; branches; next 1.20; commitid 09Ku4O7SfMDbrkCt; 1.20 date 2009.02.06.22.06.26; author rse; state Exp; branches; next 1.19; commitid ZRzSslzOoDHriqBt; 1.19 date 2008.12.24.20.12.42; author rse; state Exp; branches; next 1.18; commitid XlWFC66tTd975Lvt; 1.18 date 2008.11.25.20.18.14; author rse; state Exp; branches; next 1.17; commitid E4xQxS3oWcLN22st; 1.17 date 2008.07.06.18.24.10; author rse; state Exp; branches; next 1.16; commitid DPtrmWZWkxkFYL9t; 1.16 date 2008.06.29.17.44.11; author rse; state Exp; branches; next 1.15; commitid OvLGIEs687JTYR8t; 1.15 date 2008.06.08.17.59.32; author rse; state Exp; branches; next 1.14; commitid GfiMosktMg81Ka6t; 1.14 date 2008.01.01.14.53.13; author rse; state Exp; branches; next 1.13; commitid B8esaHJHoduuKILs; 1.13 date 2007.11.04.15.49.51; author rse; state Exp; branches; next 1.12; commitid LKcegup0fCVYZgEs; 1.12 date 2007.10.21.07.53.10; author rse; state Exp; branches; next 1.11; commitid mszQmtZCFcjmOqCs; 1.11 date 2007.09.10.14.54.00; author cs; state Exp; branches; next 1.10; commitid AeR1LMnwLWFqscxs; 1.10 date 2007.09.01.15.13.20; author cs; state Exp; branches; next 1.9; commitid a25gKXvzXeI0R2ws; 1.9 date 2007.08.27.17.32.09; author rse; state Exp; branches; next 1.8; commitid UgDdEY2SLWkAMpvs; 1.8 date 2007.08.26.19.07.40; author rse; state Exp; branches; next 1.7; commitid vug958oNucSllivs; 1.7 date 2007.08.15.14.56.01; author cs; state Exp; branches; next 1.6; commitid PWZK2Bnpj1GWiRts; 1.6 date 2007.08.15.13.42.02; author cs; state Exp; branches; next 1.5; commitid G9ksCIXoIQezTQts; 1.5 date 2007.08.06.15.03.19; author cs; state Exp; branches; next 1.4; commitid yqlVvxWWwGvnDHss; 1.4 date 2007.07.11.05.52.51; author cs; state Exp; branches; next 1.3; commitid qrQr2ZT6PGomqjps; 1.3 date 2007.06.25.15.54.28; author cs; state Exp; branches; next 1.2; commitid f0ncxxCub6oDgjns; 1.2 date 2007.06.23.06.25.34; author rse; state Exp; branches; next 1.1; commitid fXdHHx9gc3Rrb0ns; 1.1 date 2007.06.16.18.36.22; author rse; state Exp; branches; next ; commitid Xx9hJXw0JiM6sams; desc @@ 1.34 log @modifying package: dragon-1.3.2 20090709 -> 20090718 @ text @## ## dragon.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_base 1.1.26 %define V_dragon 1.3.2 # package information Name: dragon Summary: Dragon Parser Generator URL: http://www.lemke-it.com/opensource.html Vendor: Björn Lemke Packager: OpenPKG Foundation e.V. Distribution: OpenPKG Community Class: EVAL Group: CompilerCompiler License: GPL Version: %{V_dragon} Release: 20090718 # list of sources Source0: http://www.lemke-it.com/base-%{V_base}.tar.gz Source1: http://www.lemke-it.com/dragon-%{V_dragon}.tar.gz Patch0: dragon.patch # build information Prefix: %{l_prefix} BuildRoot: %{l_buildroot} BuildPreReq: OpenPKG, openpkg >= 20060823, gcc, gcc::with_cxx = yes PreReq: OpenPKG, openpkg >= 20060823 AutoReq: no AutoReqProv: no %description The dragon software package implements a combined scanner/parser generator for LR compliant grammar definitions. The generated C++ parser class is used as a super class from which a parser implementation class must be derived. The implementation class implements the scanner feed methods but also all required semantic action method. dragon has been used for several large projects with complex grammar defintions (about 200 productions / 80 tokens). Since for those grammar defintions, the analyse phase to build up the parse table is quite CPU intensive, it is recommended to use state of the art hardware. dragon requires the base package to get compiled but also for the compilation of the generated C++ code. %track prog dragon:base = { version = %{V_base} url = http://www.lemke-it.com/opensource.html regex = base-(__VER__)\.tar\.gz } prog dragon:dragon = { version = %{V_dragon} url = http://www.lemke-it.com/opensource.html regex = dragon-(__VER__)\.tar\.gz } %prep %setup -q -c %setup -q -T -D -a 1 %patch -p0 %build ( cd base export CC="%{l_cc}" export CXX="%{l_cxx}" export CFLAGS="%{l_cflags -O}" export CXXFLAGS="%{l_cxxflags -O}" export CPPFLAGS="%{l_cppflags}" export LDFLAGS="%{l_ldflags}" ./configure \ --prefix=%{l_prefix} %{l_make} %{l_mflags} ) || exit $? ( cd dragon export CC="%{l_cc}" export CXX="%{l_cxx}" export CFLAGS="%{l_cflags -O}" export CXXFLAGS="%{l_cxxflags -O}" export CPPFLAGS="%{l_cppflags} -I`pwd`/../base/src" export LDFLAGS="%{l_ldflags} -L`pwd`/../base/src" ./configure \ --prefix=%{l_prefix} %{l_make} %{l_mflags} ) || exit $? %install rm -rf $RPM_BUILD_ROOT %{l_shtool} mkdir -f -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/bin \ $RPM_BUILD_ROOT%{l_prefix}/man/man1 ( cd dragon %{l_make} %{l_mflags} install PREFIX=$RPM_BUILD_ROOT%{l_prefix} ) || exit $? %{l_shtool} install -c -m 644 \ dragon/man/dragon.1 $RPM_BUILD_ROOT%{l_prefix}/man/man1/ strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \ %{l_files_std} %files -f files %clean rm -rf $RPM_BUILD_ROOT @ 1.33 log @modifying package: dragon-1.3.2 20090624 -> 20090709 @ text @d25 1 a25 1 %define V_base 1.1.25 d39 1 a39 1 Release: 20090709 @ 1.32 log @modifying package: dragon-1.3.2 20090603 -> 20090624 @ text @d25 1 a25 1 %define V_base 1.1.24 d39 1 a39 1 Release: 20090624 @ 1.31 log @modifying package: dragon-1.3.2 20090525 -> 20090603 @ text @d25 1 a25 1 %define V_base 1.1.23 d39 1 a39 1 Release: 20090603 @ 1.30 log @modifying package: dragon-1.3.2 20090519 -> 20090525 @ text @d25 1 a25 1 %define V_base 1.1.22 d39 1 a39 1 Release: 20090525 @ 1.29 log @modifying package: dragon-1.3.2 20090503 -> 20090519 @ text @d25 1 a25 1 %define V_base 1.1.21 d39 1 a39 1 Release: 20090519 @ 1.28 log @modifying package: dragon-1.3.2 20090415 -> 20090503 @ text @d25 1 a25 1 %define V_base 1.1.20 d39 1 a39 1 Release: 20090503 @ 1.27 log @bump years in copyright messages @ text @d25 1 a25 1 %define V_base 1.1.19 d39 1 a39 1 Release: 20090415 @ 1.26 log @modifying package: dragon-1.3.2 20090411 -> 20090415 @ text @d3 1 a3 1 ## Copyright (c) 2000-2008 OpenPKG Foundation e.V. @ 1.25 log @modifying package: dragon-1.3.2 20090410 -> 20090411 @ text @d25 1 a25 1 %define V_base 1.1.18 d39 1 a39 1 Release: 20090411 @ 1.24 log @upgrading package: dragon 1.3.1 -> 1.3.2 @ text @d25 1 a25 1 %define V_base 1.1.16 d39 1 a39 1 Release: 20090410 @ 1.23 log @modifying package: dragon-1.3.1 20090301 -> 20090317 @ text @d26 1 a26 1 %define V_dragon 1.3.1 d39 1 a39 1 Release: 20090317 d112 1 a112 2 $RPM_BUILD_ROOT%{l_prefix}/man/man1 \ $RPM_BUILD_ROOT%{l_prefix}/share/dragon a117 2 %{l_shtool} install -c -m 644 \ dragon/doc/dragon.pdf $RPM_BUILD_ROOT%{l_prefix}/share/dragon/ d120 1 a120 2 %{l_files_std} \ '%doc %{l_prefix}/share/dragon/*' @ 1.22 log @modifying package: dragon-1.3.1 20090214 -> 20090301 @ text @d25 1 a25 1 %define V_base 1.1.15 d39 1 a39 1 Release: 20090301 @ 1.21 log @upgrading package: dragon 1.3.0 -> 1.3.1 @ text @d25 1 a25 1 %define V_base 1.1.14 d39 1 a39 1 Release: 20090214 @ 1.20 log @modifying package: dragon-1.3.0 20081224 -> 20090206 @ text @d25 2 a26 2 %define V_base 1.1.13 %define V_dragon 1.3.0 d39 1 a39 1 Release: 20090206 @ 1.19 log @modifying package: dragon-1.3.0 20081125 -> 20081224 @ text @d25 1 a25 1 %define V_base 1.1.11 d39 1 a39 1 Release: 20081224 @ 1.18 log @modifying package: dragon-1.3.0 20080706 -> 20081125 @ text @d25 1 a25 1 %define V_base 1.1.10 d39 1 a39 1 Release: 20081125 @ 1.17 log @modifying package: dragon-1.3.0 20080629 -> 20080706 @ text @d25 1 a25 1 %define V_base 1.1.9 d39 1 a39 1 Release: 20080706 @ 1.16 log @modifying package: dragon-1.3.0 20080608 -> 20080629 @ text @d25 1 a25 1 %define V_base 1.1.8 d39 1 a39 1 Release: 20080629 @ 1.15 log @modifying package: dragon-1.3.0 20080101 -> 20080608 @ text @d25 1 a25 1 %define V_base 1.1.7 d39 1 a39 1 Release: 20080608 @ 1.14 log @Update package specifications according to OpenPKG year 2008 world order: http://www.mail-archive.com/openpkg-announce@@openpkg.org/msg00221.html @ text @d25 1 a25 1 %define V_base 1.1.6 d39 1 a39 1 Release: 20080101 @ 1.13 log @modifying package: dragon-1.3.0 20071021 -> 20071104 @ text @d3 1 a3 2 ## Copyright (c) 2000-2007 OpenPKG Foundation e.V. ## Copyright (c) 2000-2007 Ralf S. Engelschall d39 1 a39 1 Release: 20071104 @ 1.12 log @modifying package: dragon-1.3.0 20070910 -> 20071021 @ text @d26 1 a26 1 %define V_base 1.1.5 d40 1 a40 1 Release: 20071021 @ 1.11 log @modifying package: dragon-1.3.0 20070901 -> 20070910 @ text @d26 1 a26 1 %define V_base 1.1.4 d40 1 a40 1 Release: 20070910 @ 1.10 log @upgrading package: dragon 1.2.11 -> 1.3.0 @ text @d26 1 a26 1 %define V_base 1.1.3 d40 1 a40 1 Release: 20070901 @ 1.9 log @modifying package: dragon-1.2.11 20070826 -> 20070827 @ text @d27 1 a27 1 %define V_dragon 1.2.11 d40 1 a40 1 Release: 20070827 @ 1.8 log @modifying package: dragon-1.2.11 20070815 -> 20070826 @ text @d26 1 a26 1 %define V_base 1.1.2 d40 1 a40 1 Release: 20070826 @ 1.7 log @modifying package: dragon-1.2.11 20070815 again @ text @d26 1 a26 1 %define V_base 1.1.0 d40 1 a40 1 Release: 20070815 @ 1.6 log @upgrading package: dragon 1.2.10 -> 1.2.11 @ text @d26 1 a26 1 %define V_base 1.0.18 @ 1.5 log @modifying package: dragon-1.2.10 20070711 -> 20070806 @ text @d27 1 a27 1 %define V_dragon 1.2.10 d40 1 a40 1 Release: 20070806 @ 1.4 log @modifying package: dragon-1.2.10 20070625 -> 20070711 @ text @d26 1 a26 1 %define V_base 1.0.16 d40 1 a40 1 Release: 20070711 @ 1.3 log @modifying package: dragon-1.2.10 20070623 -> 20070625 @ text @d26 1 a26 1 %define V_base 1.0.15 d40 1 a40 1 Release: 20070625 @ 1.2 log @upgrading package: dragon 1.2.9 -> 1.2.10 @ text @d26 1 a26 1 %define V_base 1.0.14 d40 1 a40 1 Release: 20070623 @ 1.1 log @new package: dragon 1.2.9 (Dragon Parser Generator) @ text @d26 2 a27 2 %define V_base 1.0.13 %define V_dragon 1.2.9 d40 1 a40 1 Release: 20070616 @