--- etiny-1.0.2.orig/debian/pycompat +++ etiny-1.0.2/debian/pycompat @@ -0,0 +1 @@ +2 --- etiny-1.0.2.orig/debian/changelog +++ etiny-1.0.2/debian/changelog @@ -0,0 +1,23 @@ +etiny (1.0.2-0ubuntu2~ppa2~hardy1) hardy; urgency=low + + * Fix init script + + -- Stéphane Graber Sun, 22 Aug 2010 01:05:03 +0000 + +etiny (1.0.2-0ubuntu2~ppa1~hardy2) hardy; urgency=low + + * Add init script + + -- Stéphane Graber Sat, 21 Aug 2010 20:00:08 -0400 + +etiny (1.0.2-0ubuntu2~ppa1~hardy1) hardy; urgency=low + + * Fix packaging for hardy + + -- Stéphane Graber Fri, 20 Aug 2010 18:13:38 -0400 + +etiny (1.0.2-0ubuntu1) hardy; urgency=low + + * Initial Release + + -- Stéphane Graber Fri, 20 Aug 2010 17:12:03 -0400 --- etiny-1.0.2.orig/debian/copyright +++ etiny-1.0.2/debian/copyright @@ -0,0 +1,32 @@ +This package was debianized by Stéphane Graber + on Fri, 20 Aug 2010 17:14:26 -0400. + +It was downloaded from http://www.openerp.com/download/old/ + +Upstream Author: + + Tiny ERP + +Copyright: + + Tiny ERP + +License: + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You can find the license on Debian systems in the file + /usr/share/common-licenses/GPL-2 + + +The Debian packaging is Copyright 2009, Jonathan Carter + and is licensed under the GPL, +see `/usr/share/common-licenses/GPL-2'. --- etiny-1.0.2.orig/debian/etiny.postrm +++ etiny-1.0.2/debian/etiny.postrm @@ -0,0 +1,11 @@ +#!/bin/sh + +if [ "$1" = "purge" ] ; then + if [ -x /usr/sbin/deluser ] ; then + if id terp >/dev/null 2>&1; then + deluser --remove-home terp + fi + fi +fi + +#DEBHELPER# --- etiny-1.0.2.orig/debian/control +++ etiny-1.0.2/debian/control @@ -0,0 +1,17 @@ +Source: etiny +Section: misc +Priority: optional +Maintainer: Ubuntu MOTU Developers +Build-Depends: debhelper (>=6.0), cdbs, python2.4, python-central, python-setuptools, python-turbogears +Standards-Version: 3.8.3 +XS-Python-Version: >= 2.3 + +Package: etiny +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, python2.4, python-matplotlib, python-imaging, python-turbogears +XB-Python-Version: ${python:Versions} +Description: Web interface for tiny erp + Web Interface for Tiny ERP. + . + Old version of the OpenERP web interface for use + with tiny erp 4. --- etiny-1.0.2.orig/debian/compat +++ etiny-1.0.2/debian/compat @@ -0,0 +1 @@ +6 --- etiny-1.0.2.orig/debian/rules +++ etiny-1.0.2/debian/rules @@ -0,0 +1,18 @@ +#!/usr/bin/make -f + +DEB_PYTHON_SYSTEM=pycentral +DEB_DH_INSTALLINIT_ARGS := -n +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/python-distutils.mk + +clean:: + rm -f debian/etiny.init + +build/etiny:: + cp etiny-server debian/etiny.init + +binary-install/etiny:: + rm -R debian/etiny/usr/scripts + rm -R debian/etiny/usr/config + mv debian/etiny/etc/default.cfg debian/etiny/etc/etiny-server.cfg + dh_installinit -p etiny --- etiny-1.0.2.orig/debian/install +++ etiny-1.0.2/debian/install @@ -0,0 +1 @@ +default.cfg etc/ --- etiny-1.0.2.orig/debian/etiny.postinst +++ etiny-1.0.2/debian/etiny.postinst @@ -0,0 +1,13 @@ +#!/bin/sh + +if [ "$1" = "configure" ] ; then + if [ -x /usr/sbin/adduser ] ; then + if ! id terp >/dev/null 2>&1; then + adduser --system --group --home /var/run/terp terp + touch /var/log/etiny-server.log + chown terp.terp /var/log/etiny-server.log + fi + fi +fi + +#DEBHELPER#