summaryrefslogtreecommitdiff
path: root/setup/redhat
diff options
context:
space:
mode:
authorAntony Lesuisse <al@openerp.com>2014-05-30 01:52:07 +0200
committerAntony Lesuisse <al@openerp.com>2014-05-30 01:54:20 +0200
commit2f4984b8381c6407a720b122733242e6cf3101da (patch)
treefb0a194d3271fb16a89ec59eeb6777830e3b808a /setup/redhat
parentc05584a4d9f57906c5f3d165ce6e88dd75aea96d (diff)
[IMP] packaging v8 part1, tgz deb and rpm
Diffstat (limited to 'setup/redhat')
-rw-r--r--setup/redhat/MANIFEST.in12
-rw-r--r--setup/redhat/README.urpmi36
-rw-r--r--setup/redhat/setup.cfg10
-rw-r--r--setup/redhat/setup_rpm.sh18
4 files changed, 0 insertions, 76 deletions
diff --git a/setup/redhat/MANIFEST.in b/setup/redhat/MANIFEST.in
deleted file mode 100644
index af66a5a5bca..00000000000
--- a/setup/redhat/MANIFEST.in
+++ /dev/null
@@ -1,12 +0,0 @@
-graft debian
-graft doc
-graft install
-graft openerp
-graft win32
-include README
-include LICENSE
-include MANIFEST.in
-include openerp-*
-include oe*
-include setup*
-global-exclude *pyc *~ # Exclude possible garbage from previous graft.
diff --git a/setup/redhat/README.urpmi b/setup/redhat/README.urpmi
deleted file mode 100644
index ce8fb706703..00000000000
--- a/setup/redhat/README.urpmi
+++ /dev/null
@@ -1,36 +0,0 @@
-Installation Steps
-------------------
-
-1. Check that all the required dependencies are installed.
-
-2. Create a postgresql database.
-
-The default database name is "terp". If you want to use another name, you
-will need to provide it when launching the server (by using the commandline
-option --database).
-
-To create a postgresql database named "terp" using the following command:
- $ createdb --encoding=UNICODE terp
-
-If it is the first time you use postgresql you might need to create a new user
-to the postgres system using the following commands (where myusername is your
-unix user name):
-
- $ su -
- # su - postgres
- $ createuser openerp
- Shall the new user be allowed to create databases? (y/n) y
- Shall the new user be allowed to create more new users? (y/n) y
- CREATE USER
- $ logout
- # logout
-
-3. Launch service daemon by "service openerp-server start".
-
-The first time it is run, the server will initialise the database with all the default values.
-
-4. Connect to the server using the GUI client.
-
-There are two accounts by default:
- * login: admin, password:admin
- * login: demo, password:demo
diff --git a/setup/redhat/setup.cfg b/setup/redhat/setup.cfg
deleted file mode 100644
index 7693a84fc3a..00000000000
--- a/setup/redhat/setup.cfg
+++ /dev/null
@@ -1,10 +0,0 @@
-[general]
-
-[sdist]
-formats=gztar
-
-[bdist]
-formats=rpm
-
-[bdist_rpm]
-install_script=setup_rpm.sh
diff --git a/setup/redhat/setup_rpm.sh b/setup/redhat/setup_rpm.sh
deleted file mode 100644
index 510655f4430..00000000000
--- a/setup/redhat/setup_rpm.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#
-# This file is used by 'python setup.py bdist_rpm'
-# You should not execute/call this file yourself.
-#
-# This script is used as the 'install' part of the RPM .spec file.
-#
-# Need to overwrite the install-part of the RPM to append the
-# compression-suffix onto the filenames for the man-pages.
-#
-python -c "import compileall, os; compileall.compile_dir(os.path.join(os.environ['PWD'], 'doc'), force=True)"
-python -O -c "import compileall, os; compileall.compile_dir(os.path.join(os.environ['PWD'], 'doc'), force=True)"
-python setup.py install --optimize 1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
-
-SUFFIX=gz
-sed "s!\(/share/man/.*\)!\1.$SUFFIX!" -i INSTALLED_FILES
-
-# quote files with a space
-sed 's/\(.* .*\)/"\1"/' -i INSTALLED_FILES