[IMP] packaging debian
bzr revid: al@openerp.com-20111003011735-02q79s36os3wltm6
This commit is contained in:
parent
56c5b496ba
commit
8d7a2aff58
|
@ -2,13 +2,10 @@ Source: openerp
|
||||||
Section: net
|
Section: net
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Maintainer: OpenERP SA <al@openerp.com>
|
Maintainer: OpenERP SA <al@openerp.com>
|
||||||
Build-Depends: debhelper (>= 7.0.50~), python
|
Build-Depends: debhelper (>= 7.0.50~), python, rsync
|
||||||
Build-Depends-Indep:
|
|
||||||
python-libxslt1, python-lxml, python-pychart, python-pydot, python-psycopg2,
|
|
||||||
python-reportlab
|
|
||||||
Standards-Version: 3.9.1
|
Standards-Version: 3.9.1
|
||||||
Homepage: http://www.openerp.com/
|
Homepage: http://www.openerp.com/
|
||||||
Vcs-Bzr: https://code.launchpad.net/openobject
|
Vcs-Bzr: https://launchpad.net/openobject
|
||||||
|
|
||||||
Package: openerp
|
Package: openerp
|
||||||
Section: net
|
Section: net
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
doc/openerp-server.conf /etc
|
install/openerp-server.conf /etc/openerp
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
# Add-on directories needs data directories, and sometimes they are
|
|
||||||
# (intentionally) empty, hence overriting the lintian warning.
|
|
||||||
openerp-server: package-contains-empty-directory
|
|
||||||
# Add-on directoires contain images sometimes, but it's nothing that is
|
|
||||||
# worthwile to be splittet out to /usr/share as it's all manual work for each
|
|
||||||
# release.
|
|
||||||
openerp-server: image-file-in-usr-lib
|
|
|
@ -2,8 +2,6 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
. /usr/share/debconf/confmodule
|
|
||||||
|
|
||||||
CONFFILE="/etc/openerp.conf"
|
CONFFILE="/etc/openerp.conf"
|
||||||
FILESTORE="/var/lib/openerp/filestore"
|
FILESTORE="/var/lib/openerp/filestore"
|
||||||
LOGFILE="/var/log/openerp.log"
|
LOGFILE="/var/log/openerp.log"
|
||||||
|
|
|
@ -1,9 +1,18 @@
|
||||||
#!/usr/bin/make -f
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
EXTRA_MODULES_PATH ?= ../addons
|
|
||||||
|
|
||||||
%:
|
%:
|
||||||
dh ${@}
|
dh ${@}
|
||||||
|
|
||||||
|
override_dh_pysupport:
|
||||||
|
echo "rsync"
|
||||||
|
sh -c "[ -d debian/openerp/usr/lib/python2.6 ] && rsync -av openerp/ debian/openerp/usr/lib/python2.6/dist-packages/openerp/" || true
|
||||||
|
sh -c "[ -d debian/openerp/usr/lib/python2.7 ] && rsync -av openerp/ debian/openerp/usr/lib/python2.7/dist-packages/openerp/" || true
|
||||||
|
rm -Rf debian/openerp/usr/openerp debian/openerp/usr/lib/python2.6/dist-packages/tests debian/openerp/usr/lib/python2.7/dist-packages/tests
|
||||||
|
dh_pysupport
|
||||||
|
rm -Rf debian/openerp/usr/lib
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
override_dh_installinit:
|
override_dh_installinit:
|
||||||
dh_installinit --update-rcd-params='defaults 21'
|
dh_installinit --update-rcd-params='defaults 21'
|
||||||
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
1.0
|
|
|
@ -1,34 +1,7 @@
|
||||||
[options]
|
[options]
|
||||||
without_demo = True
|
|
||||||
; This is the password that allows database operations:
|
; This is the password that allows database operations:
|
||||||
; admin_passwd = admin
|
; admin_passwd = admin
|
||||||
upgrade = False
|
|
||||||
verbose = False
|
|
||||||
netrpc = True
|
|
||||||
; netrpc_interface =
|
|
||||||
; netrpc_port =
|
|
||||||
xmlrpc = True
|
|
||||||
; xmlrpc_interface =
|
|
||||||
xmlrpc_port = 8069
|
|
||||||
db_host = False
|
db_host = False
|
||||||
db_port = False
|
db_port = False
|
||||||
; Please uncomment the following line *after* you have created the
|
|
||||||
; database. It activates the auto module check on startup.
|
|
||||||
; db_name = terp
|
|
||||||
db_user = openerp
|
db_user = openerp
|
||||||
db_password = False
|
db_password = False
|
||||||
; Uncomment these for xml-rpc over SSL
|
|
||||||
; secure = True
|
|
||||||
; secure_cert_file = /etc/openerp/server.cert
|
|
||||||
; secure_pkey_file = /etc/openerp/server.key
|
|
||||||
root_path = None
|
|
||||||
soap = False
|
|
||||||
translate_modules = ['all']
|
|
||||||
demo = {}
|
|
||||||
addons_path = None
|
|
||||||
reportgz = False
|
|
||||||
|
|
||||||
; Static http parameters
|
|
||||||
static_http_enable = False
|
|
||||||
static_http_document_root = /var/www/html
|
|
||||||
static_http_url_prefix = /
|
|
Loading…
Reference in New Issue