head 1.13; access; symbols; locks; strict; comment @-- @; 1.13 date 2009.11.13.22.38.03; author rse; state Exp; branches; next 1.12; commitid E2XsJx72qtEhtpbu; 1.12 date 2009.10.21.15.43.34; author rse; state Exp; branches; next 1.11; commitid hieSNNnNrSiVUp8u; 1.11 date 2009.04.18.13.09.22; author rse; state Exp; branches; next 1.10; commitid 4pHXU27WTIGCZuKt; 1.10 date 2008.12.25.17.23.48; author rse; state Exp; branches; next 1.9; commitid giNEKCA6Ijob7Svt; 1.9 date 2008.11.30.10.17.49; author rse; state Exp; branches; next 1.8; commitid 9A38WY54zZgRyCst; 1.8 date 2008.11.29.08.17.40; author rse; state Exp; branches; next 1.7; commitid TstT9pQKg0YCVtst; 1.7 date 2008.10.20.06.14.44; author rse; state Exp; branches; next 1.6; commitid rBjFqEWvv13bxknt; 1.6 date 2008.09.05.18.34.04; author rse; state Exp; branches; next 1.5; commitid mS4xJkDKCkVu4Cht; 1.5 date 2008.08.06.07.31.12; author rse; state Exp; branches; next 1.4; commitid hsinBvavSeaSmHdt; 1.4 date 2008.01.21.18.00.51; author rse; state Exp; branches; next 1.3; commitid tjSJXJ3ZW0audjOs; 1.3 date 2008.01.01.14.52.05; author rse; state Exp; branches; next 1.2; commitid B8esaHJHoduuKILs; 1.2 date 2007.11.25.10.50.29; author cs; state Exp; branches; next 1.1; commitid KKGrFOO1EnprFWGs; 1.1 date 2007.11.19.21.01.56; author rse; state Exp; branches; next ; commitid c9eaeBMyjDr9feGs; desc @@ 1.13 log @modifying package: commons-0 20091021 -> 20091113 @ text @## ## commons.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_beanutils 1.8.2 %define V_cli 1.1 %define V_collections 3.2.1 %define V_configuration 1.6 %define V_httpclient 3.1 %define V_io 1.4 %define V_lang 2.4 %define V_launcher 1.1 %define V_logging 1.1.1 %define V_net 2.0 # package information Name: commons Summary: Apache Java Commons Libraries URL: http://commons.apache.org/ Vendor: Apache Software Foundation Packager: OpenPKG Foundation e.V. Distribution: OpenPKG Community Class: EVAL Group: Libraries License: Apache Version: 0 Release: 20091113 # list of sources Source0: http://www.apache.org/dist/commons/beanutils/binaries/commons-beanutils-%{V_beanutils}-bin.tar.gz Source1: http://www.apache.org/dist/commons/cli/binaries/commons-cli-%{V_cli}.tar.gz Source2: http://www.apache.org/dist/commons/collections/binaries/commons-collections-%{V_collections}-bin.tar.gz Source3: http://www.apache.org/dist/commons/configuration/binaries/commons-configuration-%{V_configuration}.tar.gz Source4: http://www.apache.org/dist/httpcomponents/commons-httpclient/binary/commons-httpclient-%{V_httpclient}.tar.gz Source5: http://www.apache.org/dist/commons/io/binaries/commons-io-%{V_io}-bin.tar.gz Source6: http://www.apache.org/dist/commons/lang/binaries/commons-lang-%{V_lang}-bin.tar.gz Source7: http://www.apache.org/dist/commons/launcher/binaries/commons-launcher-%{V_launcher}.tar.gz Source8: http://www.apache.org/dist/commons/logging/binaries/commons-logging-%{V_logging}-bin.tar.gz Source9: http://www.apache.org/dist/commons/net/binaries/commons-net-%{V_net}-bin.tar.gz # build information Prefix: %{l_prefix} BuildRoot: %{l_buildroot} BuildPreReq: OpenPKG, openpkg >= 20060823 PreReq: OpenPKG, openpkg >= 20060823 AutoReq: no AutoReqProv: no %description Apache Commons is a set of Java utility libraries. %track prog commons:beanutils = { version = %{V_beanutils} url = http://www.apache.org/dist/commons/beanutils/binaries/ regex = commons-beanutils-(\d+\.\d+\.\d+)-bin\.tar\.gz } prog commons:cli = { version = %{V_cli} url = http://www.apache.org/dist/commons/cli/binaries/ regex = commons-cli-(__VER__)\.tar\.gz } prog commons:collections = { version = %{V_collections} url = http://www.apache.org/dist/commons/collections/binaries/ regex = commons-collections-(__VER__)-bin\.tar\.gz } prog commons:configuration = { version = %{V_configuration} url = http://www.apache.org/dist/commons/configuration/binaries/ regex = commons-configuration-(__VER__)\.tar\.gz } prog commons:httpclient = { version = %{V_httpclient} url = http://www.apache.org/dist/httpcomponents/commons-httpclient/binary/ regex = commons-httpclient-(__VER__)\.tar\.gz } prog commons:io = { version = %{V_io} url = http://www.apache.org/dist/commons/io/binaries/ regex = commons-io-(__VER__)-bin\.tar\.gz } prog commons:lang = { version = %{V_lang} url = http://www.apache.org/dist/commons/lang/binaries/ regex = commons-lang-(__VER__)-bin\.tar\.gz } prog commons:launcher = { version = %{V_launcher} url = http://www.apache.org/dist/commons/launcher/binaries/ regex = commons-launcher-(__VER__)\.tar\.gz } prog commons:logging = { version = %{V_logging} url = http://www.apache.org/dist/commons/logging/binaries/ regex = commons-logging-(__VER__)-bin\.tar\.gz } prog commons:net = { version = %{V_net} url = http://www.apache.org/dist/commons/net/binaries/ regex = commons-net-(__VER__)\.tar\.gz } %prep %setup -q -c %setup -q -T -D -a 1 %setup -q -T -D -a 2 %setup -q -T -D -a 3 %setup -q -T -D -a 4 %setup -q -T -D -a 5 %setup -q -T -D -a 6 %setup -q -T -D -a 7 %setup -q -T -D -a 8 %setup -q -T -D -a 9 %build %install rm -rf $RPM_BUILD_ROOT %{l_shtool} mkdir -f -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/lib/commons %{l_shtool} install -c -m 644 \ commons-*/commons-*.jar \ commons-*/*/commons-*.jar \ $RPM_BUILD_ROOT%{l_prefix}/lib/commons/ %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} %files -f files %clean rm -rf $RPM_BUILD_ROOT @ 1.12 log @modifying package: commons-0 20081225 -> 20091021 @ text @d25 1 a25 1 %define V_beanutils 1.8.1 d47 1 a47 1 Release: 20091021 @ 1.11 log @bump years in copyright messages @ text @d25 1 a25 1 %define V_beanutils 1.8.0 d47 1 a47 1 Release: 20081225 @ 1.10 log @modifying package: commons-0 20081130 -> 20081225 @ text @d3 1 a3 1 ## Copyright (c) 2000-2008 OpenPKG Foundation e.V. @ 1.9 log @modifying package: commons-0 20081129 -> 20081130 @ text @d28 1 a28 1 %define V_configuration 1.5 d47 1 a47 1 Release: 20081130 @ 1.8 log @fix tracking @ text @d27 1 a27 1 %define V_collections 3.2 d31 1 a31 1 %define V_lang 2.3 d33 1 a33 1 %define V_logging 1.1 d47 1 a47 1 Release: 20081129 d52 1 a52 1 Source2: http://www.apache.org/dist/commons/collections/binaries/commons-collections-%{V_collections}.tar.gz d56 1 a56 1 Source6: http://www.apache.org/dist/commons/lang/binaries/commons-lang-%{V_lang}.tar.gz d58 1 a58 1 Source8: http://www.apache.org/dist/commons/logging/binaries/commons-logging-%{V_logging}.tar.gz @ 1.7 log @modifying package: commons-0 20080905 -> 20081020 @ text @d47 1 a47 1 Release: 20081020 d86 1 a86 1 regex = commons-collections-(__VER__)\.tar\.gz d106 1 a106 1 regex = commons-lang-(__VER__)\.tar\.gz d116 1 a116 1 regex = commons-logging-(__VER__)\.tar\.gz @ 1.6 log @modifying package: commons-0 20080806 -> 20080905 @ text @d34 1 a34 1 %define V_net 1.4.1 d47 1 a47 1 Release: 20080905 d59 1 a59 1 Source9: http://www.apache.org/dist/commons/net/binaries/commons-net-%{V_net}.tar.gz @ 1.5 log @fix URLs @ text @d25 1 a25 1 %define V_beanutils 1.7.0 d47 1 a47 1 Release: 20080806 d50 1 a50 1 Source0: http://www.apache.org/dist/commons/beanutils/binaries/commons-beanutils-%{V_beanutils}.tar.gz d76 1 a76 1 regex = commons-beanutils-(\d+\.\d+\.\d+)\.tar\.gz @ 1.4 log @modifying package: commons-0 20080101 -> 20080121 @ text @d47 1 a47 1 Release: 20080121 d54 1 a54 1 Source4: http://www.apache.org/dist/jakarta/httpcomponents/commons-httpclient-3.x/binary/commons-httpclient-%{V_httpclient}.tar.gz d95 1 a95 1 url = http://www.apache.org/dist/jakarta/httpcomponents/commons-httpclient-3.x/binary/ @ 1.3 log @Update package specifications according to OpenPKG year 2008 world order: http://www.mail-archive.com/openpkg-announce@@openpkg.org/msg00221.html @ text @d30 1 a30 1 %define V_io 1.3.2 d47 1 a47 1 Release: 20080101 @ 1.2 log @modifying package: commons-0 20071119 -> 20071125 @ text @d3 1 a3 2 ## Copyright (c) 2000-2007 OpenPKG Foundation e.V. ## Copyright (c) 2000-2007 Ralf S. Engelschall d47 1 a47 1 Release: 20071125 @ 1.1 log @new package: commons 0 (Apache Java Commons Libraries) @ text @d29 1 a29 1 %define V_configuration 1.4 d48 1 a48 1 Release: 20071119 @