head	1.29;
access;
symbols;
locks; strict;
comment	@-- @;


1.29
date	2009.12.20.10.13.53;	author rse;	state Exp;
branches;
next	1.28;
commitid	3iSuiUsyS1hfa6gu;

1.28
date	2009.09.30.06.19.58;	author rse;	state Exp;
branches;
next	1.27;
commitid	SDTFaYvyVBJptF5u;

1.27
date	2009.07.18.09.43.22;	author rse;	state Exp;
branches;
next	1.26;
commitid	IN1SpKvhwHSFYaWt;

1.26
date	2009.04.18.13.10.26;	author rse;	state Exp;
branches;
next	1.25;
commitid	4pHXU27WTIGCZuKt;

1.25
date	2009.03.30.19.00.57;	author rse;	state Exp;
branches;
next	1.24;
commitid	RQ410TXsl8cbB5It;

1.24
date	2009.03.14.08.52.30;	author rse;	state Exp;
branches;
next	1.23;
commitid	AC2s4103rAIjKYFt;

1.23
date	2009.01.30.16.30.12;	author rse;	state Exp;
branches;
next	1.22;
commitid	dkscQcNHbvR2FuAt;

1.22
date	2008.12.17.17.39.36;	author rse;	state Exp;
branches;
next	1.21;
commitid	pEYnK0yZwFTxsQut;

1.21
date	2008.11.29.08.26.58;	author rse;	state Exp;
branches;
next	1.20;
commitid	5hKnHmBZvRGPYtst;

1.20
date	2008.10.16.07.15.49;	author rse;	state Exp;
branches;
next	1.19;
commitid	gL8WJ2oeWlk60Pmt;

1.19
date	2008.10.10.16.41.14;	author rse;	state Exp;
branches;
next	1.18;
commitid	OrxoCo2KPEu2k6mt;

1.18
date	2008.09.29.06.52.28;	author rse;	state Exp;
branches;
next	1.17;
commitid	kJOLPTwImNsYpDkt;

1.17
date	2008.09.02.16.50.15;	author rse;	state Exp;
branches;
next	1.16;
commitid	vBdfLW4uR2mRAdht;

1.16
date	2008.08.03.14.55.55;	author rse;	state Exp;
branches;
next	1.15;
commitid	VgGDr0fPltZpVldt;

1.15
date	2008.08.01.06.21.19;	author rse;	state Exp;
branches;
next	1.14;
commitid	iIp7OSfQyk2S83dt;

1.14
date	2008.07.27.07.27.34;	author rse;	state Exp;
branches;
next	1.13;
commitid	OimTAMXddCXyFpct;

1.13
date	2008.07.03.18.51.45;	author rse;	state Exp;
branches;
next	1.12;
commitid	7FUNqoSg5kz6eo9t;

1.12
date	2008.06.10.17.08.16;	author rse;	state Exp;
branches;
next	1.11;
commitid	v3tuGM76Etyroq6t;

1.11
date	2008.06.06.09.46.53;	author rse;	state Exp;
branches;
next	1.10;
commitid	CyMrxzt5OpxZ4S5t;

1.10
date	2008.05.22.08.25.30;	author rse;	state Exp;
branches;
next	1.9;
commitid	yeNdvsB9FSMX6W3t;

1.9
date	2008.05.04.12.13.44;	author rse;	state Exp;
branches;
next	1.8;
commitid	4c35c89RXBD8XD1t;

1.8
date	2008.04.14.18.17.11;	author rse;	state Exp;
branches;
next	1.7;
commitid	trB0yukIMq1GB6Zs;

1.7
date	2008.03.05.14.12.33;	author rse;	state Exp;
branches;
next	1.6;
commitid	7XM1285qxMgtxWTs;

1.6
date	2008.01.26.10.08.14;	author rse;	state Exp;
branches;
next	1.5;
commitid	QA0ifBy32FAnrUOs;

1.5
date	2008.01.01.14.54.04;	author rse;	state Exp;
branches;
next	1.4;
commitid	B8esaHJHoduuKILs;

1.4
date	2007.12.22.12.54.41;	author rse;	state Exp;
branches;
next	1.3;
commitid	t30huO5X06teuqKs;

1.3
date	2007.12.04.17.47.54;	author rse;	state Exp;
branches;
next	1.2;
commitid	pgzU6huhbbeHG8Is;

1.2
date	2007.11.28.20.51.31;	author rse;	state Exp;
branches;
next	1.1;
commitid	yPeCzRT50HdETnHs;

1.1
date	2007.10.26.13.05.05;	author rse;	state Exp;
branches;
next	;
commitid	jesLWZrv1uEon6Ds;


desc
@@


1.29
log
@upgrading package: frink 20090930 -> 20091015
@
text
@##
##  frink.spec -- OpenPKG RPM Package Specification
##  Copyright (c) 2000-2009 OpenPKG Foundation e.V. <http://openpkg.net/>
##
##  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 information
Name:         frink
Summary:      Practical Calculations Engine
URL:          http://futureboy.us/frinkdocs/
Vendor:       Alan Eliasen.
Packager:     OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class:        EVAL
Group:        Language
License:      Freely Usable
Version:      20091015
Release:      20091220

#   package options
%option       with_gcj  no

#   list of sources
Source0:      ftp://ftp.openpkg.org/sources/CPY/VERSIONED/frink/frink-%{version}.jar
Source1:      frink.sh

#   build information
Prefix:       %{l_prefix}
BuildRoot:    %{l_buildroot}
BuildPreReq:  OpenPKG, openpkg >= 20060823
PreReq:       OpenPKG, openpkg >= 20060823
BuildPreReq:  java, JAVA-JDK
PreReq:       java, JAVA-JDK
%if "%{with_gcj}" == "yes"
BuildPreReq:  gcc, gcc::with_java = yes
%endif
AutoReq:      no
AutoReqProv:  no

%description
    Frink is a practical calculating tool and programming language
    designed to help to better understand the world, to get calculations
    right without getting bogged down in the mechanics, and to make
    a tool that's really useful in the real world. It tracks units
    of measure (feet, meters, kilograms, watts, etc.) through all
    calculations, allowing you to make physical calculations easily, to
    mix units of measure transparently, and ensures that the answers
    come out right.

%track
    prog frink = {
        version   = %{version}
        url       = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/frink/
        regex     = frink-(__VER__)\.jar
    }

%prep
    %setup -q -T -c

%build
%if "%{with_gcj}" == "yes"
    gcj -O2 -fomit-frame-pointer \
        --main=frink.parser.Frink \
        -o frink.exe %{SOURCE frink-%{version}.jar}
%endif

%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/frink
    %{l_shtool} install -c -m 755 %{l_value -s -a} \
        %{SOURCE frink.sh} $RPM_BUILD_ROOT%{l_prefix}/bin/frink
    %{l_shtool} install -c -m 644 \
        %{SOURCE frink-%{version}.jar} $RPM_BUILD_ROOT%{l_prefix}/libexec/frink/frink.jar
%if "%{with_gcj}" == "yes"
    %{l_shtool} install -c -s -m 755 \
        frink.exe $RPM_BUILD_ROOT%{l_prefix}/libexec/frink/
%endif
    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}

%files -f files

%clean
    rm -rf $RPM_BUILD_ROOT

@


1.28
log
@upgrading package: frink 20090715 -> 20090930
@
text
@d34 2
a35 2
Version:      20090930
Release:      20090930
@


1.27
log
@upgrading package: frink 20090329 -> 20090715
@
text
@d34 2
a35 2
Version:      20090715
Release:      20090718
@


1.26
log
@bump years in copyright messages
@
text
@d34 2
a35 2
Version:      20090329
Release:      20090330
@


1.25
log
@upgrading package: frink 20090310 -> 20090329
@
text
@d3 1
a3 1
##  Copyright (c) 2000-2008 OpenPKG Foundation e.V. <http://openpkg.net/>
@


1.24
log
@upgrading package: frink 20090104 -> 20090310
@
text
@d34 2
a35 2
Version:      20090310
Release:      20090314
@


1.23
log
@upgrading package: frink 20081212 -> 20090104
@
text
@d34 2
a35 2
Version:      20090104
Release:      20090130
@


1.22
log
@upgrading package: frink 20081129 -> 20081212
@
text
@d34 2
a35 2
Version:      20081212
Release:      20081217
@


1.21
log
@upgrading package: frink 20081016 -> 20081129
@
text
@d34 2
a35 2
Version:      20081129
Release:      20081129
@


1.20
log
@upgrading package: frink 20081009 -> 20081016
@
text
@d34 2
a35 2
Version:      20081016
Release:      20081016
@


1.19
log
@upgrading package: frink 20080917 -> 20081009
@
text
@d34 2
a35 2
Version:      20081009
Release:      20081010
@


1.18
log
@upgrading package: frink 20080902 -> 20080917
@
text
@d34 2
a35 2
Version:      20080917
Release:      20080929
@


1.17
log
@upgrading package: frink 20080802 -> 20080902
@
text
@d34 2
a35 2
Version:      20080902
Release:      20080902
@


1.16
log
@upgrading package: frink 20080801 -> 20080802
@
text
@d34 2
a35 2
Version:      20080802
Release:      20080803
@


1.15
log
@upgrading package: frink 20080716 -> 20080801
@
text
@d34 2
a35 2
Version:      20080801
Release:      20080801
@


1.14
log
@upgrading package: frink 20080703 -> 20080716
@
text
@d34 2
a35 2
Version:      20080716
Release:      20080727
@


1.13
log
@upgrading package: frink 20080608 -> 20080703
@
text
@d34 2
a35 2
Version:      20080703
Release:      20080703
@


1.12
log
@upgrading package: frink 20080528 -> 20080608
@
text
@d34 2
a35 2
Version:      20080608
Release:      20080610
@


1.11
log
@upgrading package: frink 20080520 -> 20080528
@
text
@d34 2
a35 2
Version:      20080528
Release:      20080606
@


1.10
log
@upgrading package: frink 20080418 -> 20080520
@
text
@d34 2
a35 2
Version:      20080520
Release:      20080522
@


1.9
log
@upgrading package: frink 20080411 -> 20080418
@
text
@d34 2
a35 2
Version:      20080418
Release:      20080504
@


1.8
log
@upgrading package: frink 20080305 -> 20080411
@
text
@d34 2
a35 2
Version:      20080411
Release:      20080414
@


1.7
log
@upgrading package: frink 20080125 -> 20080305
@
text
@d34 2
a35 2
Version:      20080305
Release:      20080305
@


1.6
log
@upgrading package: frink 20071205 -> 20080125
@
text
@d34 2
a35 2
Version:      20080125
Release:      20080126
@


1.5
log
@Update package specifications according to OpenPKG year 2008 world order:
http://www.mail-archive.com/openpkg-announce@@openpkg.org/msg00221.html
@
text
@d34 2
a35 2
Version:      20071205
Release:      20080101
@


1.4
log
@upgrading package: frink 20071204 -> 20071205
@
text
@d3 1
a3 2
##  Copyright (c) 2000-2007 OpenPKG Foundation e.V. <http://openpkg.net/>
##  Copyright (c) 2000-2007 Ralf S. Engelschall <http://engelschall.com/>
d35 1
a35 1
Release:      20071222
@


1.3
log
@upgrading package: frink 20071128 -> 20071204
@
text
@d35 2
a36 2
Version:      20071204
Release:      20071204
@


1.2
log
@upgrading package: frink 20070929 -> 20071128
@
text
@d35 2
a36 2
Version:      20071128
Release:      20071128
@


1.1
log
@new package: frink 20070929 (Practical Calculations Engine)
@
text
@d35 2
a36 2
Version:      20070929
Release:      20071026
@

