head 1.10; access; symbols; locks; strict; comment @-- @; 1.10 date 2009.04.18.13.17.11; author rse; state Exp; branches; next 1.9; commitid 4pHXU27WTIGCZuKt; 1.9 date 2008.11.09.08.37.50; author rse; state Exp; branches; next 1.8; commitid jytxAHpmqqDpGUpt; 1.8 date 2008.07.26.22.20.27; author rse; state Exp; branches; next 1.7; commitid 8zcdBnZn7ZkRDmct; 1.7 date 2008.02.07.18.44.23; author rse; state Exp; branches; next 1.6; commitid 3JpNRGjMtCaxUuQs; 1.6 date 2008.01.01.15.06.16; author rse; state Exp; branches; next 1.5; commitid B8esaHJHoduuKILs; 1.5 date 2007.11.07.07.55.13; author rse; state Exp; branches; next 1.4; commitid 6S1HubzEjLZahCEs; 1.4 date 2007.08.03.18.31.28; author rse; state Exp; branches; next 1.3; commitid UuqgQvH7cwUKSkss; 1.3 date 2007.06.29.15.11.55; author cs; state Exp; branches; next 1.2; commitid TJZ1AOxGruX3UOns; 1.2 date 2007.03.30.18.17.29; author rse; state Exp; branches; next 1.1; commitid oHl7WNlq0aO4R8cs; 1.1 date 2007.01.15.20.10.16; author rse; state Exp; branches; next ; commitid Mttwfaxa0btfRD2s; desc @@ 1.10 log @bump years in copyright messages @ text @## ## tw.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 versions %define V_here 20081104 %define V_init 2008-11-04 %define V_base 2008-11-04 # package information Name: tw Summary: Tree Walk URL: http://www.research.att.com/~gsf/ Vendor: AT&T Bell Labs Packager: OpenPKG Foundation e.V. Distribution: OpenPKG Community Class: EVAL Group: ShellUtils License: CPL Version: %{V_here} Release: 20081109 # list of sources Source0: http://I%20accept%20www.opensource.org%2flicenses%2fcpl:.@@www.research.att.com/~gsf/download/tgz/ast-base.%{V_base}.tgz Source1: http://I%20accept%20www.opensource.org%2flicenses%2fcpl:.@@www.research.att.com/~gsf/download/tgz/INIT.%{V_init}.tgz # build information Prefix: %{l_prefix} BuildRoot: %{l_buildroot} BuildPreReq: OpenPKG, openpkg >= 20040130, gcc PreReq: OpenPKG, openpkg >= 20040130 AutoReq: no AutoReqProv: no %description tw(1) is combination of find(1) and xargs(1) that applies C style expressions on the stat(2) structure of each file in a directory hierarchy. %track prog tw = { version = %{V_base} url = http://www.research.att.com/~gsf/cgi-bin/download.cgi?action=list&name=ast-base regex = ast-base.([\d-]+)\.tgz } prog tw:init = { version = %{V_base} url = http://www.research.att.com/~gsf/cgi-bin/download.cgi?action=list&name=INIT regex = INIT\.([\d-]+)\.tgz } %prep %setup -q -c %setup -q -T -D -a 1 %build HOME=`pwd`; export HOME SHELL=/bin/sh; export SHELL makeskip="3d|bzip|codexlib|coshell|cpp|cs|html|ksh93|mam|msgcc|pax|probe|proto|ss|tests" $SHELL -c './bin/package "read" || true' $SHELL -c './bin/package "make" CC="%{l_cc}" LDFLAGS="-static" MAKESKIP="$makeskip" || true' %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 %{l_shtool} install -c -s -m 755 \ arch/*/bin/tw $RPM_BUILD_ROOT%{l_prefix}/bin/ %{l_shtool} install -c -m 644 \ arch/*/man/man1/tw.1 $RPM_BUILD_ROOT%{l_prefix}/man/man1/ %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} %files -f files %clean rm -rf $RPM_BUILD_ROOT @ 1.9 log @upgrading package: tw 20080725 -> 20081104 @ text @d3 1 a3 1 ## Copyright (c) 2000-2008 OpenPKG Foundation e.V. @ 1.8 log @upgrading package: tw 20080202 -> 20080725 @ text @d25 3 a27 3 %define V_here 20080725 %define V_init 2008-07-25 %define V_base 2008-07-25 d40 1 a40 1 Release: 20080727 @ 1.7 log @upgrading package: tw 20071105 -> 20080202 @ text @d25 3 a27 3 %define V_here 20080202 %define V_init 2008-02-02 %define V_base 2008-02-02 d40 1 a40 1 Release: 20080207 @ 1.6 log @Update package specifications according to OpenPKG year 2008 world order: http://www.mail-archive.com/openpkg-announce@@openpkg.org/msg00221.html @ text @d25 3 a27 3 %define V_here 20071105 %define V_init 2007-11-05 %define V_base 2007-11-05 d40 1 a40 1 Release: 20080101 @ 1.5 log @upgrading package: tw 20070628 -> 20071105 @ text @d3 1 a3 2 ## Copyright (c) 2000-2007 OpenPKG Foundation e.V. ## Copyright (c) 2000-2007 Ralf S. Engelschall d40 1 a40 1 Release: 20071107 @ 1.4 log @fix tracking @ text @d26 3 a28 3 %define V_here 20070628 %define V_init 2007-06-28 %define V_base 2007-06-28 d41 1 a41 1 Release: 20070803 @ 1.3 log @upgrading package: tw 20070328 -> 20070628 @ text @d41 1 a41 1 Release: 20070629 d64 1 a64 1 regex = ast-base.([\d-]+)\..+?\.tgz @ 1.2 log @upgrading package: tw 20070111 -> 20070328 @ text @d26 3 a28 3 %define V_here 20070328 %define V_init 2007-03-28 %define V_base 2007-03-28 d41 1 a41 1 Release: 20070330 @ 1.1 log @new package: tw 20070111 (Tree Walk) @ text @d26 3 a28 3 %define V_here 20070111 %define V_init 2007-01-11 %define V_base 2007-01-11 d41 1 a41 1 Release: 20070115 @