From 1da880f92e55737f2bc6bdecd2018da0c33197c0 Mon Sep 17 00:00:00 2001 From: Heinz Wiesinger Date: Thu, 13 May 2010 00:57:33 +0200 Subject: business/openerp-client: Added to 13.0 repository --- business/openerp-client/README | 9 +++ business/openerp-client/doinst.sh | 3 + business/openerp-client/openerp-client.SlackBuild | 74 +++++++++++++++++++++++ business/openerp-client/openerp-client.desktop | 10 +++ business/openerp-client/openerp-client.info | 10 +++ business/openerp-client/slack-desc | 19 ++++++ 6 files changed, 125 insertions(+) create mode 100644 business/openerp-client/README create mode 100644 business/openerp-client/doinst.sh create mode 100644 business/openerp-client/openerp-client.SlackBuild create mode 100644 business/openerp-client/openerp-client.desktop create mode 100644 business/openerp-client/openerp-client.info create mode 100644 business/openerp-client/slack-desc (limited to 'business') diff --git a/business/openerp-client/README b/business/openerp-client/README new file mode 100644 index 0000000000..53e85d1193 --- /dev/null +++ b/business/openerp-client/README @@ -0,0 +1,9 @@ +OpenERP is a free enterprise management software package. It covers all +domains for small to medium businesses; accounting, stock management, +sales, customer relationship, purchases, project management, etcetera. +This is the client application. + +openerp-client requires openerp-server, and matplotlib is optional. + +Note that you will get an error on startup if matplotlib is not installed, +but the only functionality lost is presenting graphs. diff --git a/business/openerp-client/doinst.sh b/business/openerp-client/doinst.sh new file mode 100644 index 0000000000..140e332222 --- /dev/null +++ b/business/openerp-client/doinst.sh @@ -0,0 +1,3 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications +fi diff --git a/business/openerp-client/openerp-client.SlackBuild b/business/openerp-client/openerp-client.SlackBuild new file mode 100644 index 0000000000..b81b5311a0 --- /dev/null +++ b/business/openerp-client/openerp-client.SlackBuild @@ -0,0 +1,74 @@ +#!/bin/sh + +# Slackware build script for openerp-client + +# Copyright 2008-2009 Heinz Wiesinger, Amsterdam, The Netherlands +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS 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 AUTHOR 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. + +PRGNAM=openerp-client +VERSION=5.0.4 +ARCH=${ARCH:-i486} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \; + +python setup.py install --root=$PKG + +# the setup.py includes the build path, even if you add --prefix=/usr flag :\ +sed -i "s|$PKG||g" $PKG/usr/bin/openerp-client + +mkdir -p $PKG/usr/share/applications +cp -f $CWD/openerp-client.desktop $PKG/usr/share/applications/ + +find $PKG | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : \ + | xargs strip --strip-unneeded 2> /dev/null || true + +mv $PKG/usr/share/man $PKG/usr +rm -rf $PKG/usr/share/man +gzip -9 $PKG/usr/man/man?/*.? + +mv $PKG/usr/share/doc $PKG/usr +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/business/openerp-client/openerp-client.desktop b/business/openerp-client/openerp-client.desktop new file mode 100644 index 0000000000..46e3cd8d6d --- /dev/null +++ b/business/openerp-client/openerp-client.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=OpenERP +GenericName=Enterprise Resource Planning +Comment=Basic ERP & CRM +Exec=openerp-client +Icon=/usr/share/pixmaps/openerp-client/openerp-icon.png +Terminal=false +Type=Application +Categories=Office; +StartupNotify=true diff --git a/business/openerp-client/openerp-client.info b/business/openerp-client/openerp-client.info new file mode 100644 index 0000000000..077efb68a9 --- /dev/null +++ b/business/openerp-client/openerp-client.info @@ -0,0 +1,10 @@ +PRGNAM="openerp-client" +VERSION="5.0.4" +HOMEPAGE="http://www.openerp.com" +DOWNLOAD="http://openerp.com/download/old/openerp-client-5.0.4.tar.gz" +MD5SUM="39657590a8d61f39cd8c55229e4643a6" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Heinz Wiesinger" +EMAIL="pprkut@liwjatan.at" +APPROVED="rworkman" diff --git a/business/openerp-client/slack-desc b/business/openerp-client/slack-desc new file mode 100644 index 0000000000..665167da80 --- /dev/null +++ b/business/openerp-client/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------| +openerp-client: openerp-client (Complete ERP and CRM - client part) +openerp-client: +openerp-client: OpenERP is a free enterprise management software package. It +openerp-client: covers all domains for small to medium businesses; accounting, +openerp-client: stock management, sales, customer relationship, purchases, +openerp-client: project management, et cetera. +openerp-client: This is the client part. +openerp-client: +openerp-client: Homepage: http://www.openerp.com +openerp-client: +openerp-client: -- cgit v1.2.3