head 1.17; access; symbols OPENPKG_E1_MP:1.2 OPENPKG_E1_MP_HEAD:1.2; locks; strict; comment @-- @; 1.17 date 2009.04.18.13.11.20; author rse; state Exp; branches; next 1.16; commitid 4pHXU27WTIGCZuKt; 1.16 date 2008.01.21.18.00.41; author rse; state Exp; branches; next 1.15; commitid t9zlVAqlmInqdjOs; 1.15 date 2008.01.17.18.46.57; author rse; state Exp; branches; next 1.14; commitid 1XvFgOMeVCogBNNs; 1.14 date 2008.01.07.17.24.19; author rse; state Exp; branches; next 1.13; commitid 3pTw3M27uXRPsvMs; 1.13 date 2008.01.01.14.55.50; author rse; state Exp; branches; next 1.12; commitid B8esaHJHoduuKILs; 1.12 date 2007.12.12.15.43.31; author cs; state Exp; branches; next 1.11; commitid tRQfv6CmMYh5K9Js; 1.11 date 2007.12.11.10.00.14; author rse; state Exp; branches; next 1.10; commitid T3ofsryojyBjSZIs; 1.10 date 2007.10.14.17.54.02; author rse; state Exp; branches; next 1.9; commitid GFvnrrvAA8grmABs; 1.9 date 2007.05.31.16.07.52; author thl; state Exp; branches; next 1.8; commitid 152If2rv2S7296ks; 1.8 date 2007.05.07.16.43.51; author cs; state Exp; branches; next 1.7; commitid b7ywNY7rSt2e71hs; 1.7 date 2007.03.13.15.42.20; author rse; state Exp; branches; next 1.6; commitid 86MpCFhNRtzJxW9s; 1.6 date 2007.02.26.16.21.49; author cs; state Exp; branches; next 1.5; commitid jWrDiDeIKgEaf18s; 1.5 date 2007.02.23.07.43.27; author rse; state Exp; branches; next 1.4; commitid mXfQ59iNOxPjtA7s; 1.4 date 2007.02.19.17.08.37; author rse; state Exp; branches; next 1.3; commitid 6IJws5J9LcYaJ77s; 1.3 date 2007.01.28.09.03.10; author rse; state Exp; branches; next 1.2; commitid eeEtX1TYp1ytKf4s; 1.2 date 2007.01.01.17.38.41; author rse; state Exp; branches; next 1.1; commitid BicZD6VUl7GuqP0s; 1.1 date 2006.12.09.09.30.32; author rse; state Exp; branches; next ; commitid OHHQqZ0XjS3wvPXr; desc @@ 1.17 log @bump years in copyright messages @ text @## ## io.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 20080120 %define V_dist 2008-01-20 # package information Name: io Summary: IO Programming Language URL: http://www.iolanguage.com/ Vendor: Steve Dekorte Packager: OpenPKG Foundation e.V. Distribution: OpenPKG Community Class: EVAL Group: Language License: BSD Version: %{V_opkg} Release: 20080121 # package options %option with_threads no %option with_zlib no %option with_libxml no %option with_sqlite no # list of sources Source0: http://io.urbanape.com/release/Io-%{V_dist}.tar.gz # build information Prefix: %{l_prefix} BuildRoot: %{l_buildroot} BuildPreReq: OpenPKG, openpkg >= 20040130, make, infozip PreReq: OpenPKG, openpkg >= 20040130 %if "%{with_zlib}" == "yes" BuildPreReq: zlib PreReq: zlib %endif %if "%{with_libxml}" == "yes" BuildPreReq: libxml PreReq: libxml %endif %if "%{with_sqlite}" == "yes" BuildPreReq: sqlite PreReq: sqlite %endif AutoReq: no AutoReqProv: no %description Io is a small, prototype-based programming language. The ideas in Io are mostly inspired by Smalltalk (all values are objects), Self (prototype-based), NewtonScript (differential inheritance), Act1 (actors and futures for concurrency), LISP (code is a runtime inspectable/modifiable tree) and Lua (small, embeddable). %track prog io = { version = %{V_dist} url = http://www.iolanguage.com/downloads/ regex = Io-(__VER__)\.tar\.gz } %prep %setup -q -n Io-%{V_dist} %build # prepare addon directory ( cd addons addons="" addons="$addons BigNum Blowfish CGI ContinuedFraction Contracts MD5 Random" addons="$addons Rational Regex SHA1 SystemCall Socket User Vector" %if "%{with_threads}" == "yes" addons="$addons Thread" %endif %if "%{with_zlib}" == "yes" addons="$addons Zlib" %endif %if "%{with_libxml}" == "yes" addons="$addons Libxml2" %endif %if "%{with_sqlite}" == "yes" addons="$addons SQLite3" %endif for addon in *; do mv $addon _$addon; done for addon in $addons; do mv _$addon $addon; done rm -rf _* ) || exit $? # build program and addons %{l_make} %{l_mflags -O} \ INSTALL_PREFIX=%{l_prefix} \ CC="%{l_cc} %{l_cflags -O} %{l_cppflags} -L_build/lib %{l_ldflags}" %install # install program and addons rm -rf $RPM_BUILD_ROOT %{l_shtool} mkdir -f -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/bin \ $RPM_BUILD_ROOT%{l_prefix}/lib %{l_make} %{l_mflags} install \ INSTALL_PREFIX=$RPM_BUILD_ROOT%{l_prefix} # prune addon directory tree find $RPM_BUILD_ROOT%{l_prefix}/lib/io -type d -depth -print | grep "/_build/headers" | xargs rm -rf find $RPM_BUILD_ROOT%{l_prefix}/lib/io -type d -depth -print | grep "/_build/objs" | xargs rm -rf find $RPM_BUILD_ROOT%{l_prefix}/lib/io -type d -depth -print | grep "/_build/lib" | xargs rm -rf find $RPM_BUILD_ROOT%{l_prefix}/lib/io -type d -depth -print | grep "/tests" | xargs rm -rf find $RPM_BUILD_ROOT%{l_prefix}/lib/io -type d -depth -print | grep "/source" | xargs rm -rf find $RPM_BUILD_ROOT%{l_prefix}/lib/io -type f -depth -print | grep "build.io" | xargs rm -f find $RPM_BUILD_ROOT%{l_prefix}/lib/io -type f -depth -print | grep "depends" | xargs rm -f find $RPM_BUILD_ROOT%{l_prefix}/lib/io -type d -depth -print | xargs rmdir >/dev/null 2>&1 || true # prune executable mv $RPM_BUILD_ROOT%{l_prefix}/bin/io_static \ $RPM_BUILD_ROOT%{l_prefix}/bin/io strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true # remove useless files rm -f $RPM_BUILD_ROOT%{l_prefix}/lib/libiovmall.* # determine installation files %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} %files -f files %clean rm -rf $RPM_BUILD_ROOT @ 1.16 log @upgrading package: io 20080117 -> 20080120 @ text @d3 1 a3 1 ## Copyright (c) 2000-2008 OpenPKG Foundation e.V. @ 1.15 log @upgrading package: io 20080107 -> 20080117 @ text @d25 2 a26 2 %define V_opkg 20080117 %define V_dist 2008-01-17 d39 1 a39 1 Release: 20080117 @ 1.14 log @upgrading package: io 20071212 -> 20080107 @ text @d25 2 a26 2 %define V_opkg 20080107 %define V_dist 2008-01-07 d39 1 a39 1 Release: 20080107 @ 1.13 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 20071212 %define V_dist 2007-12-12 d39 1 a39 1 Release: 20080101 @ 1.12 log @upgrading package: io 20071210 -> 20071212 @ 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: 20071212 @ 1.11 log @upgrading package: io 20071010 -> 20071210 @ text @d26 2 a27 2 %define V_opkg 20071210 %define V_dist 2007-12-10 d40 1 a40 1 Release: 20071211 @ 1.10 log @upgrading package: io 20070528 -> 20071010 @ text @d26 2 a27 2 %define V_opkg 20071010 %define V_dist 2007-10-10 d40 1 a40 1 Release: 20071014 @ 1.9 log @upgrading package: io 20070430 -> 20070528 @ text @d26 2 a27 2 %define V_opkg 20070528 %define V_dist 2007-05-28 d40 1 a40 1 Release: 20070531 d49 1 a49 1 Source0: http://io.urbanape.com/release/Io-%{V_dist}.zip d82 1 a82 1 regex = Io-(__VER__)\.zip d86 1 a86 2 %setup -q -T -c %{l_prefix}/bin/unzip -q -x %{SOURCE0} d90 1 a90 1 ( cd Io-%{V_dist}/addons d111 4 a114 6 ( cd Io-%{V_dist} # build program and addons %{l_make} %{l_mflags -O} \ INSTALL_PREFIX=%{l_prefix} \ CC="%{l_cc} %{l_cflags -O} %{l_cppflags} -L_build/lib %{l_ldflags}" ) || exit $? d122 2 a123 4 ( cd Io-%{V_dist} %{l_make} %{l_mflags} install \ INSTALL_PREFIX=$RPM_BUILD_ROOT%{l_prefix} ) || exit $? @ 1.8 log @upgrading package: io 20070313 -> 20070430 @ text @d26 2 a27 2 %define V_opkg 20070430 %define V_dist 2007-04-30 d40 1 a40 1 Release: 20070507 a49 1 Patch0: io.patch a87 1 %patch -p0 -d Io-%{V_dist} @ 1.7 log @upgrading package: io 20070226 -> 20070313 @ text @d26 2 a27 2 %define V_opkg 20070313 %define V_dist 2007-03-13 d40 1 a40 1 Release: 20070313 d49 1 a49 1 Source0: http://io.urbanape.com/release/Io-%{V_dist}.tar.gz d55 1 a55 1 BuildPreReq: OpenPKG, openpkg >= 20040130, make d83 1 a83 1 regex = Io-(__VER__)\.tar\.gz d87 3 a89 2 %setup -q -n Io-%{V_dist} %patch -p0 d93 1 a93 1 ( cd addons d114 6 a119 4 # build program and addons %{l_make} %{l_mflags -O} \ INSTALL_PREFIX=%{l_prefix} \ CC="%{l_cc} %{l_cflags -O} %{l_cppflags} -L_build/lib %{l_ldflags}" d127 4 a130 2 %{l_make} %{l_mflags} install \ INSTALL_PREFIX=$RPM_BUILD_ROOT%{l_prefix} @ 1.6 log @upgrading package: io 20070222 -> 20070226 @ text @d26 2 a27 2 %define V_opkg 20070226 %define V_dist 2007-02-26 d40 1 a40 1 Release: 20070226 @ 1.5 log @upgrading package: io 20070219 -> 20070222 @ text @d26 2 a27 2 %define V_opkg 20070222 %define V_dist 2007-02-22 d40 1 a40 1 Release: 20070223 @ 1.4 log @upgrading package: io 20070104 -> 20070219 @ text @d26 2 a27 2 %define V_opkg 20070219 %define V_dist 2007-02-19 d40 1 a40 1 Release: 20070219 @ 1.3 log @upgrading package: io 20061207 -> 20070104 @ text @d26 2 a27 2 %define V_opkg 20070104 %define V_dist 2007-01-04 d40 1 a40 1 Release: 20070128 @ 1.2 log @Welcome Year 2007! @ text @d26 2 a27 2 %define V_opkg 20061207 %define V_dist 2006-12-07 d40 1 a40 1 Release: 20061209 d116 1 a116 1 CC="%{l_cc} %{l_cflags -O} %{l_cppflags} %{l_ldflags}" @ 1.1 log @new package: io 20061207 (IO Programming Language) @ text @d3 2 a4 2 ## Copyright (c) 2000-2006 OpenPKG Foundation e.V. ## Copyright (c) 2000-2006 Ralf S. Engelschall @