add OSX distribution.xml and pkg Resources

This commit is contained in:
Kevin Bernhagen 2014-07-18 16:43:42 -07:00
parent f1d8b88de0
commit 5f8415f197
4 changed files with 77 additions and 1 deletions

View File

@ -82,7 +82,8 @@ if env['PLATFORM'] == 'darwin' or env.GetPackageType() == 'rpm':
pkg_resources = 'osx/Resources',
pkg_apps = [['dist/FAHControl.app', 'Folding@home/FAHControl.app']],
pkg_scripts = 'osx/scripts',
pkg_target = '10.4',
pkg_target = '10.6',
pkg_distribution = 'osx/distribution.xml',
)
AlwaysBuild(pkg)

View File

@ -0,0 +1,42 @@
{\rtf1\ansi\ansicpg1252\cocoartf1265
{\fonttbl\f0\fswiss\fcharset0 ArialMT;\f1\froman\fcharset0 TimesNewRomanPSMT;}
{\colortbl;\red255\green255\blue255;}
{\*\listtable{\list\listtemplateid1\listhybrid{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{decimal\}.}{\leveltext\leveltemplateid1\'02\'00.;}{\levelnumbers\'01;}\fi-360\li720\lin720 }{\listname ;}\listid1}}
{\*\listoverridetable{\listoverride\listid1\listoverridecount0\ls1}}
\margl1134\margr1134\margb1134\margt1134\vieww10800\viewh8400\viewkind0
\deftab709
\pard\pardeftab709\li432\fi-432\ri0\sb240\sa120
\ls1\ilvl0
\f0\b\fs32 \cf0 Folding@home Software License\
\pard\pardeftab709
\f1\b0\fs20 \cf0 Copyright 2001-2014. Stanford University. All Rights Reserved.\
\
\pard\pardeftab709
\b \cf0 License Agreement:
\b0 \
\
Please carefully read the following terms and conditions before using this software. Use of this software indicates acceptance of this license agreement and disclaimer of all warranties.\
\
\b Disclaimer of Warranty:
\b0 \
\
IN NO EVENT SHALL STANFORD UNIVERSITY BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF STANFORD UNIVERSITY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\
\
STANFORD UNIVERSITY SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE AND ACCOMPANYING DOCUMENTATION PROVIDED HEREUNDER IS PROVIDED "AS IS". Folding@home HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.\
\
\b Restrictions:
\b0 \
\
You may use this software on a computer system only if you own the system or have the written permission of the owner.\
\
You may not alter the software or associated data files.\
\
You may only use unmodified versions of Folding@home obtained through authorized distributors to connect to the Folding@home servers. Use of other software to connect to the Folding@home servers is strictly prohibited. This prohibition includes 3rd party installers which download directly from Stanford web sites, unless written permission is granted from Stanford University.\
\
Distribution of this software is prohibited. It may only be obtained by downloading from Stanford's web site (http://folding.stanford.edu and pages linked therein) or the web site of one of our commercial partners (Sony, NVIDIA, and ATI).\
\
}

View File

@ -0,0 +1,17 @@
{\rtf1\ansi\ansicpg1252\cocoartf1265\cocoasubrtf210
{\fonttbl\f0\froman\fcharset0 TimesNewRomanPSMT;}
{\colortbl;\red255\green255\blue255;}
{\info
{\author jcoffland }}\margl1134\margr1134\margb1134\margt1134\vieww9600\viewh8400\viewkind0
\deftab709
\pard\pardeftab709\sb240\sa120
\f0\b\fs48 \cf0 Folding@home Client Control\
\pard\pardeftab709
\b0\fs24 \cf0 This package contains FAHControl, a graphical monitor and control\
utility for the Folding@home client. It gives an overview of running\
projects on the local and optional (remote) machines. Starting,\
stopping and pausing of the running projects is also possible, as is\
viewing the logs. It provides an Advanced view with\
additional information and settings for enthusiasts and gurus.}

16
osx/distribution.xml Normal file
View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<installer-script minSpecVersion="1">
<pkg-ref id="%(pkg_id)s"/>
<title>%(summary)s</title>
<options customize="never" hostArchitectures="i386" rootVolumeOnly="true"/>
<welcome file="Welcome.rtf"/>
<license file="License.rtf"/>
<choices-outline>
<line choice="default"><line choice="choice0"/></line>
</choices-outline>
<choice id="default"/>
<choice id="choice0" visible="false">
<pkg-ref id="%(pkg_id)s"/>
</choice>
<pkg-ref auth="Root" id="%(pkg_id)s">%(package_name)s.pkg</pkg-ref>
</installer-script>