head 1.21; access; symbols; locks; strict; comment @-- @; 1.21 date 2009.09.27.11.28.01; author rse; state Exp; branches; next 1.20; commitid 3S0NqJliePd5hj5u; 1.20 date 2009.06.25.07.01.19; author rse; state Exp; branches; next 1.19; commitid 5CSOUwIoeQsVOcTt; 1.19 date 2009.04.18.13.10.04; author rse; state Exp; branches; next 1.18; commitid 4pHXU27WTIGCZuKt; 1.18 date 2009.02.26.20.52.47; author rse; state Exp; branches; next 1.17; commitid I0lIQVquytsjfZDt; 1.17 date 2008.09.25.15.54.16; author rse; state Exp; branches; next 1.16; commitid lQKcvL0NKzqOxakt; 1.16 date 2008.06.25.14.07.00; author rse; state Exp; branches; next 1.15; commitid rY0eYf7AEosmUk8t; 1.15 date 2008.06.10.17.14.11; author rse; state Exp; branches; next 1.14; commitid lzm4cCqUliatqq6t; 1.14 date 2008.06.01.07.39.41; author rse; state Exp; branches; next 1.13; commitid aUhKFSYgnJOjxd5t; 1.13 date 2008.05.25.07.44.50; author rse; state Exp; branches; next 1.12; commitid E6JueaoXPCi2Nj4t; 1.12 date 2008.05.21.18.43.48; author rse; state Exp; branches; next 1.11; commitid PzxHI9jmr5s4zR3t; 1.11 date 2008.05.03.07.51.20; author rse; state Exp; branches; next 1.10; commitid pISImJad14M6xu1t; 1.10 date 2008.04.11.12.25.09; author rse; state Exp; branches; next 1.9; commitid Ds9fafg4MDkTKGYs; 1.9 date 2008.04.01.19.24.45; author rse; state Exp; branches; next 1.8; commitid oZDd8pATuTFLorXs; 1.8 date 2008.02.09.08.27.08; author rse; state Exp; branches; next 1.7; commitid QMoCKPGycIiNqHQs; 1.7 date 2008.01.01.14.53.25; author rse; state Exp; branches; next 1.6; commitid B8esaHJHoduuKILs; 1.6 date 2007.12.15.08.58.06; author rse; state Exp; branches; next 1.5; commitid ZZKBjoqt2zr1pvJs; 1.5 date 2007.11.03.08.57.17; author rse; state Exp; branches; next 1.4; commitid zUclxQS1GZwrK6Es; 1.4 date 2007.09.23.08.22.22; author rse; state Exp; branches; next 1.3; commitid uFpsMJ4ZgwJ7SPys; 1.3 date 2007.09.01.10.59.59; author rse; state Exp; branches; next 1.2; commitid uZDd8QynQZj5s1ws; 1.2 date 2007.08.26.09.09.36; author rse; state Exp; branches; next 1.1; commitid 8V7pjOTO4Yfb2fvs; 1.1 date 2007.08.25.18.09.15; author rse; state Exp; branches; next ; commitid XBTfv0jo8DPi3avs; desc @@ 1.21 log @upgrading package: ecj 3.5 -> 3.5.1 @ text @## ## ecj.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_opkg 3.5.1 %define V_dist R-3.5.1-200909170800 # package information Name: ecj Summary: Eclipse Compiler for Java (ECJ) URL: http://www.eclipse.org/ Vendor: IBM, Eclipse Packager: OpenPKG Foundation e.V. Distribution: OpenPKG Community Class: EVAL Group: Language License: EPL Version: %{V_opkg} Release: 20090927 # list of sources Source0: http://download.eclipse.org/eclipse/downloads/drops/%{V_dist}/ecj-%{V_opkg}.jar Source1: ecj.sh # build information Prefix: %{l_prefix} BuildRoot: %{l_buildroot} BuildPreReq: OpenPKG, openpkg >= 20060823 PreReq: OpenPKG, openpkg >= 20060823, java, gcc, gcc::with_java = yes AutoReq: no AutoReqProv: no %description Eclipse Compiler for Java (ECJ) is a free stand-alone compiler for the Java 1.3/1.4/1.5/1.6 language which passes the Java Compatibility Kit (JCK). It is part of the Java Development Tools (JDT) from Eclipse. %track prog ecj = { version = %{version} url = http://download.eclipse.org/eclipse/downloads/ regex = Latest\s+Release.+?drops/R-(__VER__)- } %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/ecj %{l_shtool} install -c -m 755 %{l_value -s -a} \ %{SOURCE ecj.sh} $RPM_BUILD_ROOT%{l_prefix}/bin/ecj %{l_shtool} install -c -m 644 \ %{SOURCE ecj-%{V_opkg}.jar} $RPM_BUILD_ROOT%{l_prefix}/libexec/ecj/ecj.jar %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} %files -f files %clean rm -rf $RPM_BUILD_ROOT @ 1.20 log @upgrading package: ecj 3.4.2 -> 3.5 @ text @d25 2 a26 2 %define V_opkg 3.5 %define V_dist R-3.5-200906111540 d39 1 a39 1 Release: 20090625 @ 1.19 log @bump years in copyright messages @ text @d25 2 a26 2 %define V_opkg 3.4.2 %define V_dist R-3.4.2-200902111700 d39 1 a39 1 Release: 20090226 @ 1.18 log @upgrading package: ecj 3.4.1 -> 3.4.2 @ text @d3 1 a3 1 ## Copyright (c) 2000-2008 OpenPKG Foundation e.V. @ 1.17 log @upgrading package: ecj 3.4 -> 3.4.1 @ text @d25 2 a26 2 %define V_opkg 3.4.1 %define V_dist R-3.4.1-200809111700 d39 1 a39 1 Release: 20080925 @ 1.16 log @upgrading package: ecj 3.4RC4 -> 3.4 @ text @d25 2 a26 2 %define V_opkg 3.4 %define V_dist R-3.4-200806172000 d39 1 a39 1 Release: 20080625 @ 1.15 log @upgrading package: ecj 3.4RC3 -> 3.4RC4 @ text @d25 2 a26 2 %define V_opkg 3.4RC4 %define V_dist S-3.4RC4-200806091311 d39 1 a39 1 Release: 20080610 d63 1 a63 1 regex = Stream\s+Stable\sBuild.+?drops/S-(__VER__)- @ 1.14 log @upgrading package: ecj 3.4RC2 -> 3.4RC3 @ text @d25 2 a26 2 %define V_opkg 3.4RC3 %define V_dist S-3.4RC3-200805301730 d39 1 a39 1 Release: 20080601 @ 1.13 log @upgrading package: ecj 3.4RC1 -> 3.4RC2 @ text @d25 2 a26 2 %define V_opkg 3.4RC2 %define V_dist S-3.4RC2-200805230100 d39 1 a39 1 Release: 20080525 @ 1.12 log @upgrading package: ecj 3.4M7 -> 3.4RC1 @ text @d25 2 a26 2 %define V_opkg 3.4RC1 %define V_dist S-3.4RC1-200805161333 d39 1 a39 1 Release: 20080521 @ 1.11 log @upgrading package: ecj 3.4M6a -> 3.4M7 @ text @d25 2 a26 2 %define V_opkg 3.4M7 %define V_dist S-3.4M7-200805020100 d39 1 a39 1 Release: 20080503 @ 1.10 log @upgrading package: ecj 3.4M6 -> 3.4M6a @ text @d25 2 a26 2 %define V_opkg 3.4M6a %define V_dist S-3.4M6a-200804091425 d39 1 a39 1 Release: 20080411 @ 1.9 log @upgrading package: ecj 3.4M5 -> 3.4M6 @ text @d25 2 a26 2 %define V_opkg 3.4M6 %define V_dist S-3.4M6-200803301350 d39 1 a39 1 Release: 20080401 @ 1.8 log @upgrading package: ecj 3.4M4 -> 3.4M5 @ text @d25 2 a26 2 %define V_opkg 3.4M5 %define V_dist S-3.4M5-200802071530 d39 1 a39 1 Release: 20080209 @ 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 @d25 2 a26 2 %define V_opkg 3.4M4 %define V_dist S-3.4M4-200712131700 d39 1 a39 1 Release: 20080101 @ 1.6 log @upgrading package: ecj 3.4M3 -> 3.4M4 @ 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: 20071215 @ 1.5 log @upgrading package: ecj 3.4M2 -> 3.4M3 @ text @d26 2 a27 2 %define V_opkg 3.4M3 %define V_dist S-3.4M3-200711012000 d40 1 a40 1 Release: 20071103 @ 1.4 log @upgrading package: ecj 3.4M1 -> 3.4M2 @ text @d26 2 a27 2 %define V_opkg 3.4M2 %define V_dist S-3.4M2-200709210919 d40 1 a40 1 Release: 20070923 @ 1.3 log @allow one to run ecj(1) with a regular JDK, too @ text @d26 2 a27 2 %define V_opkg 3.4M1 %define V_dist S-3.4M1-200708091105 d40 1 a40 1 Release: 20070901 d43 1 a43 1 Source0: http://download.eclipse.org/eclipse/downloads/drops/%{V_dist}/ecj.jar d80 1 a80 1 %{SOURCE ecj.jar} $RPM_BUILD_ROOT%{l_prefix}/libexec/ecj/ @ 1.2 log @switch the Java virtual machine from JRE/java to GCC/gij as it makes more sense to have a JDK/JRE independent ECJ (e.g. for bootstrapping OpenJDK via IcedTea, etc) @ text @d40 1 a40 1 Release: 20070826 d44 1 d50 1 a50 1 PreReq: OpenPKG, openpkg >= 20060823, gcc, gcc::with_java = yes d77 2 a78 7 ( echo "#!/bin/sh" echo "exec %{l_prefix}/bin/gij \\%{l_nil}" echo " -jar %{l_prefix}/libexec/ecj/ecj.jar \\%{l_nil}" echo " \"\$@@\"" ) >ecj.sh %{l_shtool} install -c -m 755 \ ecj.sh $RPM_BUILD_ROOT%{l_prefix}/bin/ecj @ 1.1 log @new package: ecj 3.4M1 (Eclipse Compiler for Java (ECJ)) @ text @d40 1 a40 1 Release: 20070825 d49 1 a49 1 PreReq: OpenPKG, openpkg >= 20060823, JRE d54 4 a57 3 Eclipse Compiler for Java (ECJ) is a free compiler for the Java 1.3/1.4/1.5/1.6 language which passes the Java Compatibility Kit (JCK). It is part of the Java Development Tools (JDT) from Eclipse. d77 1 a77 1 echo "exec %{l_prefix}/bin/java \\%{l_nil}" @