commit gnuhealth for openSUSE:Factory

2020-08-21 Thread root
Hello community,

here is the log from the commit of package gnuhealth for openSUSE:Factory 
checked in at 2020-08-21 19:18:52

Comparing /work/SRC/openSUSE:Factory/gnuhealth (Old)
 and  /work/SRC/openSUSE:Factory/.gnuhealth.new.3399 (New)


Package is "gnuhealth"

Fri Aug 21 19:18:52 2020 rev:45 rq:828497 version:3.6.5

Changes:

--- /work/SRC/openSUSE:Factory/gnuhealth/gnuhealth.changes  2020-07-21 
15:55:09.644644245 +0200
+++ /work/SRC/openSUSE:Factory/.gnuhealth.new.3399/gnuhealth.changes
2020-08-21 19:19:25.992892489 +0200
@@ -1,0 +2,6 @@
+Fri Aug 21 13:01:13 UTC 2020 - Axel Braun 
+
+- version 3.6.5
+  HMIS: Update to 3.6.5 including ICD10 codes 2020
+  
+---

Old:

  gnuhealth-3.6.4.tar.gz

New:

  gnuhealth-3.6.5.tar.gz



Other differences:
--
++ gnuhealth.spec ++
--- /var/tmp/diff_new_pack.KtWKja/_old  2020-08-21 19:19:27.388893231 +0200
+++ /var/tmp/diff_new_pack.KtWKja/_new  2020-08-21 19:19:27.392893234 +0200
@@ -21,7 +21,7 @@
 %define majorver 3.6
 Name:   gnuhealth
 
-Version:%{majorver}.4
+Version:%{majorver}.5
 Release:0
 
 # List of additional build dependencies

++ gnuhealth-3.6.4.tar.gz -> gnuhealth-3.6.5.tar.gz ++
/work/SRC/openSUSE:Factory/gnuhealth/gnuhealth-3.6.4.tar.gz 
/work/SRC/openSUSE:Factory/.gnuhealth.new.3399/gnuhealth-3.6.5.tar.gz differ: 
char 13, line 1




commit gnuhealth for openSUSE:Factory

2020-07-21 Thread root
Hello community,

here is the log from the commit of package gnuhealth for openSUSE:Factory 
checked in at 2020-07-21 15:52:53

Comparing /work/SRC/openSUSE:Factory/gnuhealth (Old)
 and  /work/SRC/openSUSE:Factory/.gnuhealth.new.3592 (New)


Package is "gnuhealth"

Tue Jul 21 15:52:53 2020 rev:44 rq:822092 version:3.6.4

Changes:

--- /work/SRC/openSUSE:Factory/gnuhealth/gnuhealth.changes  2020-07-03 
00:17:32.657086756 +0200
+++ /work/SRC/openSUSE:Factory/.gnuhealth.new.3592/gnuhealth.changes
2020-07-21 15:55:09.644644245 +0200
@@ -1,0 +2,6 @@
+Tue Jul 21 12:19:29 UTC 2020 - Axel Braun 
+
+- Readme renamed (SUSE -> openSUSE)
+  gnuhealth: Link to oS wiki added
+
+---

Old:

  GNUHealth.README.SUSE

New:

  GNUHealth.README.openSUSE



Other differences:
--
++ gnuhealth.spec ++
--- /var/tmp/diff_new_pack.PENZgt/_old  2020-07-21 15:55:10.728645563 +0200
+++ /var/tmp/diff_new_pack.PENZgt/_new  2020-07-21 15:55:10.728645563 +0200
@@ -34,7 +34,7 @@
 
 URL:https://health.gnu.org
 Source0:https://ftp.gnu.org/gnu/health/%{name}-%{version}.tar.gz
-Source1:GNUHealth.README.SUSE
+Source1:GNUHealth.README.openSUSE
 Source2:gnuhealth-control
 Source3:gnuhealth.service
 Source4:gnuhealth-webdav@.service
@@ -193,7 +193,7 @@
 %{_bindir}/install_demo_database.sh
 %{_unitdir}/%{name}.service
 %{_unitdir}/%{name}-webdav@.service
-%doc README Changelog gnuhealth-setup version gnuhealthrc 
GNUHealth.README.SUSE scripts/* config/* doc/*
+%doc README Changelog gnuhealth-setup version gnuhealthrc 
GNUHealth.README.openSUSE scripts/* config/* doc/*
 %{_docdir}/%{name}/examples* 
 %dir %{_sysconfdir}/tryton
 %license COPYING

++ GNUHealth.README.openSUSE ++
GNUHealth for openSUSE
==

How to get it running (Without reading the instructions)


You have already installed the package gnuhealth and found this documentation. 
Good.

As very easy and convenient way to do all required settings, log in as user 
root and run openSUSE-gnuhealth-setup:

> su
> openSUSE-gnuhealth-setup setup

You can follow the proposals given, anyway, **it is not recommended to use 
default settings for a production environment**


The above setup-program automates the steps below, which you could do as well 
manually, if desired.
(If you have run openSUSE-gnuhealth-setup, the below steps are not needed 
additionally!)

1) Log in as root and start the database
> su
> systemctl start postgresql

2) Change postgres parameters. You need to log in as user postgres, in order to 
avoid authorisation issues. Assuming we have nano as editor:


> su postgres
> nano /var/lib/pgsql/data/pg_hba.conf

FOR LOCAL CONNECTIONS (Database on the same machine) change the line
local   all all md5
to
local   all all trust

Save your input. This will make sure that Tryton/GNUHealth server can connect 
to the database

3) Create a role for 'tryton' in the database (still as user postgres)
> psql -c "CREATE USER tryton WITH CREATEDB;"

4) Creating the database:
> createdb mydb --encoding='UTF-8' --owner=tryton

5) exit as user postgres and restart postgres
> exit
> systemctl restart postgresql

Note: The owner of the database should be the same user, as under which the 
tryton server runs (default:tryton) 

6) Initializing the database:  
Log in as user tryton: 

> sudo su tryton -s /bin/bash
> /usr/bin/trytond-admin -c /etc/tryton/trytond.conf --all -d mydb

Note: Use the database name you chose in the previous step (here as default: 
mydb). 
You will be asked for the admin password for this database. 
For the first login, log in to the newly initialized database with user 'admin' 
and password as set during initialization.

As result you will have a bare GNU Health database with the base modules 
installed.

7) Start the Gnuhealth-Server:
> systemctl start gnuhealth

DONE.

You may want to install a Client locally:

8) Install the GNU Health client:
> zypper in gnuhealth-client

9) Open the GNU Health client:
> gnuhealth-client
go to 'manage profiles' -> add -> name it 'localhost' -> Host: localhost
-> you should now see a selection of available databases

DONE. (now really)

Upgrade
===

  * openSUSE supports online upgrade (zypper dup) between releases. 

  * In case you upgrade from a previous GNU Health make sure you apply the 
upgrade procedures described in /usr/share/doc/packages/gnuhealth/upgrade.
  
Afterwards, as user tryton, run tryton-admin to update your installation:

> 

commit gnuhealth for openSUSE:Factory

2020-07-02 Thread root
Hello community,

here is the log from the commit of package gnuhealth for openSUSE:Factory 
checked in at 2020-07-03 00:13:43

Comparing /work/SRC/openSUSE:Factory/gnuhealth (Old)
 and  /work/SRC/openSUSE:Factory/.gnuhealth.new.3060 (New)


Package is "gnuhealth"

Fri Jul  3 00:13:43 2020 rev:43 rq:818327 version:3.6.4

Changes:

--- /work/SRC/openSUSE:Factory/gnuhealth/gnuhealth.changes  2020-05-26 
17:19:12.427960202 +0200
+++ /work/SRC/openSUSE:Factory/.gnuhealth.new.3060/gnuhealth.changes
2020-07-03 00:17:32.657086756 +0200
@@ -1,0 +2,6 @@
+Thu Jun 25 08:23:34 UTC 2020 - Axel Braun 
+
+- gnuhealth-control updated to 3.6.5-openSUSE 
+  * change of translation server for language packs
+
+---



Other differences:
--
++ gnuhealth-control ++
--- /var/tmp/diff_new_pack.kP9i3A/_old  2020-07-03 00:17:33.357089077 +0200
+++ /var/tmp/diff_new_pack.kP9i3A/_new  2020-07-03 00:17:33.357089077 +0200
@@ -24,11 +24,10 @@
 #
 ##
 
-VERSION="3.6.4-openSUSE"
+VERSION="3.6.5-openSUSE"
 
-TRANSLATE_URL="https://translate.gnusolidario.org;
+TRANSLATE_URL="https://hosted.weblate.org;
 GNUHEALTH_DIR=$(rpm -ql gnuhealth | egrep 
'^/usr/lib/python.\..{1,2}/site-packages$')
-
 UPDATE_DOWNLOAD_DIR=$(mktemp -d)
 
 usage()
@@ -247,9 +246,8 @@
 
 cd ${GNUHEALTH_DIR} || exit 1
 cli_msg "INFO" "Retrieving language pack file for ${lang_to_install}"
-wget ${TRANSLATE_URL}/export/?path=/${lang_to_install}/GNUHEALTH/ -O 
$UPDATE_DOWNLOAD_DIR/${lang_file} || exit 1
+wget 
${TRANSLATE_URL}/download-language/${lang_to_install}/gnu-health/?format=zip -O 
$UPDATE_DOWNLOAD_DIR/${lang_file} || exit 1
 cli_msg "INFO" "Installing / Updating language files for 
${lang_to_install} ..."
-
 bsdtar --strip-components 3 -xzf $UPDATE_DOWNLOAD_DIR/${lang_file} || exit 
1
 cli_msg "INFO" "Language pack ${lang_to_install} sucessfully installed / 
updated"
 chmod -R a+r ${GNUHEALTH_DIR}




commit gnuhealth for openSUSE:Factory

2020-05-26 Thread root
Hello community,

here is the log from the commit of package gnuhealth for openSUSE:Factory 
checked in at 2020-05-26 17:18:59

Comparing /work/SRC/openSUSE:Factory/gnuhealth (Old)
 and  /work/SRC/openSUSE:Factory/.gnuhealth.new.2738 (New)


Package is "gnuhealth"

Tue May 26 17:18:59 2020 rev:42 rq:807978 version:3.6.4

Changes:

--- /work/SRC/openSUSE:Factory/gnuhealth/gnuhealth.changes  2020-05-19 
14:46:26.919809382 +0200
+++ /work/SRC/openSUSE:Factory/.gnuhealth.new.2738/gnuhealth.changes
2020-05-26 17:19:12.427960202 +0200
@@ -1,0 +2,5 @@
+Thu May 21 09:06:00 UTC 2020 - Axel Braun 
+
+- fixed different behviour of bsdtar in script and shell (gnuhealth-control)
+
+---



Other differences:
--
++ gnuhealth-control ++
--- /var/tmp/diff_new_pack.Pb8Us4/_old  2020-05-26 17:19:13.255961982 +0200
+++ /var/tmp/diff_new_pack.Pb8Us4/_new  2020-05-26 17:19:13.255961982 +0200
@@ -250,7 +250,7 @@
 wget ${TRANSLATE_URL}/export/?path=/${lang_to_install}/GNUHEALTH/ -O 
$UPDATE_DOWNLOAD_DIR/${lang_file} || exit 1
 cli_msg "INFO" "Installing / Updating language files for 
${lang_to_install} ..."
 
-bsdtar --strip-components 3 --exclude *webdav3* --exclude *caldav* -xzf 
$UPDATE_DOWNLOAD_DIR/${lang_file} || exit 1
+bsdtar --strip-components 3 -xzf $UPDATE_DOWNLOAD_DIR/${lang_file} || exit 
1
 cli_msg "INFO" "Language pack ${lang_to_install} sucessfully installed / 
updated"
 chmod -R a+r ${GNUHEALTH_DIR}
 cli_msg "INFO" "Read permissions set"




commit gnuhealth for openSUSE:Factory

2020-05-19 Thread root
Hello community,

here is the log from the commit of package gnuhealth for openSUSE:Factory 
checked in at 2020-05-19 14:46:21

Comparing /work/SRC/openSUSE:Factory/gnuhealth (Old)
 and  /work/SRC/openSUSE:Factory/.gnuhealth.new.2738 (New)


Package is "gnuhealth"

Tue May 19 14:46:21 2020 rev:41 rq:807171 version:3.6.4

Changes:

--- /work/SRC/openSUSE:Factory/gnuhealth/gnuhealth.changes  2020-05-17 
23:43:04.417046267 +0200
+++ /work/SRC/openSUSE:Factory/.gnuhealth.new.2738/gnuhealth.changes
2020-05-19 14:46:26.919809382 +0200
@@ -1,0 +2,10 @@
+Tue May 19 09:25:34 UTC 2020 - Axel Braun 
+
+- version 3.6.4 of gnuhealth-control 
+
+---
+Mon May 18 08:58:26 UTC 2020 - Axel Braun 
+
+- python3-matplotlib got lost.added
+
+---



Other differences:
--
++ gnuhealth.spec ++
--- /var/tmp/diff_new_pack.EmkPY5/_old  2020-05-19 14:46:28.755813305 +0200
+++ /var/tmp/diff_new_pack.EmkPY5/_new  2020-05-19 14:46:28.759813314 +0200
@@ -32,9 +32,8 @@
 # For the variables:
 BuildRequires:  trytond
 
-URL:http://health.gnu.org
-Source0:%{name}-%{version}.tar.gz
-###http://ftp.gnu.org/gnu/health/%{name}-%{version}.tar.gz
+URL:https://health.gnu.org
+Source0:https://ftp.gnu.org/gnu/health/%{name}-%{version}.tar.gz
 Source1:GNUHealth.README.SUSE
 Source2:gnuhealth-control
 Source3:gnuhealth.service
@@ -56,6 +55,7 @@
 Requires:   python3-caldav
 Requires:   python3-hl7apy
 Requires:   python3-ldap3
+Requires:   python3-matplotlib
 Requires:   python3-passlib
 Requires:   python3-pyBarcode
 Requires:   python3-qrcode

++ gnuhealth-control ++
--- /var/tmp/diff_new_pack.EmkPY5/_old  2020-05-19 14:46:28.827813459 +0200
+++ /var/tmp/diff_new_pack.EmkPY5/_new  2020-05-19 14:46:28.827813459 +0200
@@ -24,7 +24,7 @@
 #
 ##
 
-VERSION="3.6.3.1-openSUSE"
+VERSION="3.6.4-openSUSE"
 
 TRANSLATE_URL="https://translate.gnusolidario.org;
 GNUHEALTH_DIR=$(rpm -ql gnuhealth | egrep 
'^/usr/lib/python.\..{1,2}/site-packages$')
@@ -165,7 +165,7 @@
 ${BACKDIR}/backup_${DB}_${BACKDATE}.gz ${BACKDIR}/${BACKUP_NAME} \
 || bailout
  
-cli_msg "INFO" "Backup successfully written to ${BACKDIR}/${BACKUP_NAME}" 
| tee -a $INFOFILE
+cli_msg "INFO" "Backup successfully written to 
${BACKDIR}/gnuhealth_${DB}_with_fs_backup_${BACKDATE}.tar" | tee -a $INFOFILE
 #AB - END
 #Remove lock file
 rm $LOCKFILE




commit gnuhealth for openSUSE:Factory

2020-05-17 Thread root
Hello community,

here is the log from the commit of package gnuhealth for openSUSE:Factory 
checked in at 2020-05-17 23:42:57

Comparing /work/SRC/openSUSE:Factory/gnuhealth (Old)
 and  /work/SRC/openSUSE:Factory/.gnuhealth.new.2738 (New)


Package is "gnuhealth"

Sun May 17 23:42:57 2020 rev:40 rq:806125 version:3.6.4

Changes:

--- /work/SRC/openSUSE:Factory/gnuhealth/gnuhealth.changes  2020-04-22 
20:59:14.584132001 +0200
+++ /work/SRC/openSUSE:Factory/.gnuhealth.new.2738/gnuhealth.changes
2020-05-17 23:43:04.417046267 +0200
@@ -1,0 +2,8 @@
+Sat May 16 16:16:58 UTC 2020 - Axel Braun 
+
+- Version 3.6.4
+  additional functionality for COVID-19 and epidemiology tracing
+  new epidemiology evaluations
+  lab1.diff and lab2.diff removed, included in new version
+
+---

Old:

  gnuhealth-3.6.3.tar.gz
  lab1.diff
  lab2.diff

New:

  gnuhealth-3.6.4.tar.gz



Other differences:
--
++ gnuhealth.spec ++
--- /var/tmp/diff_new_pack.4yZw61/_old  2020-05-17 23:43:07.589052636 +0200
+++ /var/tmp/diff_new_pack.4yZw61/_new  2020-05-17 23:43:07.593052644 +0200
@@ -21,7 +21,7 @@
 %define majorver 3.6
 Name:   gnuhealth
 
-Version:%{majorver}.3
+Version:%{majorver}.4
 Release:0
 
 # List of additional build dependencies
@@ -43,8 +43,6 @@
 Source6:gnuhealth
 Source7:gnuhealth-rpmlintrc
 Patch0: shebang.diff
-Patch1: lab1.diff
-Patch2: lab2.diff
 
 BuildArch:  noarch
 
@@ -108,8 +106,6 @@
 %prep
 %setup -q -n %{name}-%{version}
 %patch0 -p1
-%patch1 -p1
-%patch2 -p1
 cp %{S:1} .
 cp %{S:2} .
 

++ gnuhealth-3.6.3.tar.gz -> gnuhealth-3.6.4.tar.gz ++
/work/SRC/openSUSE:Factory/gnuhealth/gnuhealth-3.6.3.tar.gz 
/work/SRC/openSUSE:Factory/.gnuhealth.new.2738/gnuhealth-3.6.4.tar.gz differ: 
char 5, line 1




commit gnuhealth for openSUSE:Factory

2020-04-22 Thread root
Hello community,

here is the log from the commit of package gnuhealth for openSUSE:Factory 
checked in at 2020-04-22 20:59:10

Comparing /work/SRC/openSUSE:Factory/gnuhealth (Old)
 and  /work/SRC/openSUSE:Factory/.gnuhealth.new.2738 (New)


Package is "gnuhealth"

Wed Apr 22 20:59:10 2020 rev:39 rq:796301 version:3.6.3

Changes:

--- /work/SRC/openSUSE:Factory/gnuhealth/gnuhealth.changes  2020-04-05 
20:56:09.53247 +0200
+++ /work/SRC/openSUSE:Factory/.gnuhealth.new.2738/gnuhealth.changes
2020-04-22 20:59:14.584132001 +0200
@@ -1,0 +2,6 @@
+Wed Apr 22 09:42:49 UTC 2020 - Axel Braun 
+
+- pre-release of 3.6.4 covering improved diagnostics on COVID-19
+  lab1.diff and lab2.diff added  
+
+---

New:

  lab1.diff
  lab2.diff



Other differences:
--
++ gnuhealth.spec ++
--- /var/tmp/diff_new_pack.bQx6R9/_old  2020-04-22 20:59:17.932138665 +0200
+++ /var/tmp/diff_new_pack.bQx6R9/_new  2020-04-22 20:59:17.936138672 +0200
@@ -43,8 +43,8 @@
 Source6:gnuhealth
 Source7:gnuhealth-rpmlintrc
 Patch0: shebang.diff
-##atch1: xmlfix.diff
-##atch2: demo.diff
+Patch1: lab1.diff
+Patch2: lab2.diff
 
 BuildArch:  noarch
 
@@ -108,8 +108,8 @@
 %prep
 %setup -q -n %{name}-%{version}
 %patch0 -p1
-##atch1 -p1
-##atch2 -p1
+%patch1 -p1
+%patch2 -p1
 cp %{S:1} .
 cp %{S:2} .
 
@@ -145,7 +145,7 @@
 #remove double license file:
 rm backend/fhir/client/COPYING
 
-#Move FHIR serer to examples directory
+#Move FHIR server to examples directory
 mkdir -p -m 755 %{buildroot}%{_docdir}/%{name}/examples/
 mv backend/fhir* %{buildroot}%{_docdir}/%{name}/examples/.
 rmdir backend
@@ -189,7 +189,10 @@
 %{python3_sitelib}/trytond/modules/health_orthanc*
 
 %files 
+%defattr(-,root,root)
+%{_bindir}/gnuhealth
 %{_bindir}/gnuhealth-control
+%{_bindir}/gnuhealth-webdav-server
 %{_bindir}/openSUSE-gnuhealth-setup
 %{_bindir}/install_demo_database.sh
 %{_unitdir}/%{name}.service

++ lab1.diff ++
# HG changeset patch
# User Luis Falcon 
# Date 1585952786 -3600
# Node ID 79084d43ec44b89679016a699060bdd8a0033e88
# Parent  bf15b71efbd4b1ff7230520165f264c23586e576
health_lab: task #15563: Assign health condition from a confirmed lab

* Include the lab_confirmed and lab test ID reference on the patient health 
condition model
* Include in the tree view lab confirmed conditions
* Search/ filter by lab confirmed pathologies
* Include the pathology in the patient lab test form

diff --git a/health_lab/__init__.py b/health_lab/__init__.py
--- a/health_lab/__init__.py
+++ b/health_lab/__init__.py
@@ -40,6 +40,7 @@
 CreateLabTestOrderInit,
 RequestTest,
 RequestPatientLabTestStart,
+PatientHealthCondition,
 module='health_lab', type_='model')
 Pool.register(
 CreateLabTestOrder,
diff --git a/health_lab/health_lab.py b/health_lab/health_lab.py
--- a/health_lab/health_lab.py
+++ b/health_lab/health_lab.py
@@ -27,12 +27,12 @@
 from trytond.pool import Pool
 from trytond import backend
 from trytond.tools.multivalue import migrate_property
-
+from trytond.pyson import Eval, Not, Bool, PYSONEncoder, Equal, And, Or, If
 
 __all__ = ['GnuHealthSequences', 'GnuHealthSequenceSetup',
 'PatientData', 'TestType', 'Lab',
 'GnuHealthLabTestUnits', 'GnuHealthTestCritearea',
-'GnuHealthPatientLabTest']
+'GnuHealthPatientLabTest','PatientHealthCondition']
 
 sequences = ['lab_sequence', 'lab_request_sequence']
 
@@ -80,7 +80,7 @@
 lab_sequence = fields.Many2One('ir.sequence', 
 'Lab Result Sequence', required=True,
 domain=[('code', '=', 'gnuhealth.lab')])
-  
+
 @classmethod
 def __register__(cls, module_name):
 TableHandler = backend.get('TableHandler')
@@ -112,7 +112,7 @@
 ModelData = pool.get('ir.model.data')
 return ModelData.get_id(
 'health_lab', 'seq_gnuhealth_lab_test')
-
+
 # END SEQUENCE SETUP , MIGRATION FROM FIELDS.MultiValue
 
 
@@ -194,6 +194,11 @@
 date_analysis = fields.DateTime('Date of the Analysis', select=True)
 request_order = fields.Integer('Request', readonly=True)
 
+pathology = fields.Many2One(
+'gnuhealth.pathology', 'Pathology',
+help='Pathology confirmed / associated to this lab test. '
+'If set, a new health condition will be generated for the person')
+
 analytes_summary = \
 fields.Function(fields.Text('Summary'),
  'get_analytes_summary')
@@ -415,3 +420,18 @@
 default['date'] = cls.default_date()
 return super(GnuHealthPatientLabTest, cls).copy(tests,
 default=default)
+
+class PatientHealthCondition(ModelSQL, ModelView):
+

commit gnuhealth for openSUSE:Factory

2020-04-05 Thread root
Hello community,

here is the log from the commit of package gnuhealth for openSUSE:Factory 
checked in at 2020-04-05 20:56:03

Comparing /work/SRC/openSUSE:Factory/gnuhealth (Old)
 and  /work/SRC/openSUSE:Factory/.gnuhealth.new.3248 (New)


Package is "gnuhealth"

Sun Apr  5 20:56:03 2020 rev:38 rq:791495 version:3.6.3

Changes:

--- /work/SRC/openSUSE:Factory/gnuhealth/gnuhealth.changes  2020-04-01 
19:13:04.327388954 +0200
+++ /work/SRC/openSUSE:Factory/.gnuhealth.new.3248/gnuhealth.changes
2020-04-05 20:56:09.53247 +0200
@@ -1,0 +2,5 @@
+Sun Apr  5 08:10:02 UTC 2020 - Axel Braun 
+
+- correction for service file 
+
+---



Other differences:
--
++ gnuhealth.service ++
--- /var/tmp/diff_new_pack.P3LOTi/_old  2020-04-05 20:56:10.145354118 +0200
+++ /var/tmp/diff_new_pack.P3LOTi/_new  2020-04-05 20:56:10.145354118 +0200
@@ -3,6 +3,9 @@
 After=syslog.target
 Requires=postgresql.service
 Conflicts=trytond.service
+
+[Service]
+# some security settings
 PrivateTmp=true
 ProtectSystem=true
 ProtectHome=true
@@ -14,7 +17,6 @@
 PrivateDevices=true
 MemoryDenyWriteExecute=true
 
-[Service]
 Type=simple
 User=tryton
 Group=tryton




commit gnuhealth for openSUSE:Factory

2020-04-01 Thread root
Hello community,

here is the log from the commit of package gnuhealth for openSUSE:Factory 
checked in at 2020-04-01 19:09:51

Comparing /work/SRC/openSUSE:Factory/gnuhealth (Old)
 and  /work/SRC/openSUSE:Factory/.gnuhealth.new.3248 (New)


Package is "gnuhealth"

Wed Apr  1 19:09:51 2020 rev:37 rq:790258 version:3.6.3

Changes:

--- /work/SRC/openSUSE:Factory/gnuhealth/gnuhealth.changes  2020-02-29 
21:25:17.662609101 +0100
+++ /work/SRC/openSUSE:Factory/.gnuhealth.new.3248/gnuhealth.changes
2020-04-01 19:13:04.327388954 +0200
@@ -1,0 +2,21 @@
+Tue Mar 31 16:09:25 UTC 2020 - Axel Braun 
+
+- update for boo#1167126, 1167128 
+
+---
+Tue Mar 17 13:32:03 UTC 2020 - Axel Braun 
+
+- clean up of spec file to get rid of warnings
+  added gnuhealth-rpmlintrc 
+
+---
+Sat Mar 14 15:24:49 UTC 2020 - Axel Braun 
+
+- gnuhealth-control 3.6.3 - added chmod after getlang command
+
+---
+Mon Mar  2 19:25:36 UTC 2020 - Axel Braun 
+
+- modified getlang to exclude 2 directories (otherwise initialization fails 
after language installation) 
+
+---

New:

  gnuhealth-rpmlintrc



Other differences:
--
++ gnuhealth.spec ++
--- /var/tmp/diff_new_pack.MYNloc/_old  2020-04-01 19:13:06.219389805 +0200
+++ /var/tmp/diff_new_pack.MYNloc/_new  2020-04-01 19:13:06.223389807 +0200
@@ -33,14 +33,15 @@
 BuildRequires:  trytond
 
 URL:http://health.gnu.org
-##ource0:http://ftp.gnu.org/gnu/health/%{name}-%{version}.tar.gz
-Source: %{name}-%{version}.tar.gz
+Source0:%{name}-%{version}.tar.gz
+###http://ftp.gnu.org/gnu/health/%{name}-%{version}.tar.gz
 Source1:GNUHealth.README.SUSE
 Source2:gnuhealth-control
 Source3:gnuhealth.service
 Source4:gnuhealth-webdav@.service
 Source5:openSUSE-gnuhealth-setup
 Source6:gnuhealth
+Source7:gnuhealth-rpmlintrc
 Patch0: shebang.diff
 ##atch1: xmlfix.diff
 ##atch2: demo.diff
@@ -135,11 +136,19 @@
 #delete empty demo directory
 rm -rf scripts/demo
 
-mkdir -p $RPM_BUILD_ROOT%{_unitdir}
-install -p -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_unitdir}/%{name}.service
-install -p -m 644 %{SOURCE4} $RPM_BUILD_ROOT%{_unitdir}/%{name}-webdav@.service
-
-mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/tryton
+mkdir -p %{buildroot}%{_unitdir}
+install -p -m 644 %{SOURCE3} %{buildroot}%{_unitdir}/%{name}.service
+install -p -m 644 %{SOURCE4} %{buildroot}%{_unitdir}/%{name}-webdav@.service
+
+mkdir -p %{buildroot}%{_sysconfdir}/tryton
+
+#remove double license file:
+rm backend/fhir/client/COPYING
+
+#Move FHIR serer to examples directory
+mkdir -p -m 755 %{buildroot}%{_docdir}/%{name}/examples/
+mv backend/fhir* %{buildroot}%{_docdir}/%{name}/examples/.
+rmdir backend
 
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
@@ -169,23 +178,25 @@
 
 %preun
 %service_del_preun gnuhealth.service
+%service_del_preun gnuhealth-webdav@.service
 
 %postun
 %service_del_postun gnuhealth.service
+%service_del_postun gnuhealth-webdav@.service
 
 %files -n %{name}-orthanc
 %{python3_sitelib}/%{name}_orthanc*
 %{python3_sitelib}/trytond/modules/health_orthanc*
 
 %files 
-%defattr(744,root,root)
 %{_bindir}/gnuhealth-control
 %{_bindir}/openSUSE-gnuhealth-setup
 %{_bindir}/install_demo_database.sh
 %{_unitdir}/%{name}.service
 %{_unitdir}/%{name}-webdav@.service
-%defattr(-,root,root)
-%doc README Changelog gnuhealth-setup version gnuhealthrc 
GNUHealth.README.SUSE scripts/* backend/* config/* doc/*
+%doc README Changelog gnuhealth-setup version gnuhealthrc 
GNUHealth.README.SUSE scripts/* config/* doc/*
+%{_docdir}/%{name}/examples* 
+%dir %{_sysconfdir}/tryton
 %license COPYING
 %exclude %{python3_sitelib}/%{name}_orthanc*
 %exclude %{python3_sitelib}/trytond/modules/health_orthanc*

++ gnuhealth-3.6.3.tar.gz ++
/work/SRC/openSUSE:Factory/gnuhealth/gnuhealth-3.6.3.tar.gz 
/work/SRC/openSUSE:Factory/.gnuhealth.new.3248/gnuhealth-3.6.3.tar.gz differ: 
char 5, line 1

++ gnuhealth-control ++
--- /var/tmp/diff_new_pack.MYNloc/_old  2020-04-01 19:13:06.299389841 +0200
+++ /var/tmp/diff_new_pack.MYNloc/_new  2020-04-01 19:13:06.299389841 +0200
@@ -1,13 +1,13 @@
 #!/bin/bash
 
 # gnuhealth-control
-# The GNU Health control center 
+# The GNU Health control center for openSUSE Installations 
 
 ##
 #
 #GNU Health: The Free Health and Hospital Information System
 #Copyright (C) 2008-2015 Luis Falcon 
-#Adaption to 

commit gnuhealth for openSUSE:Factory

2020-02-29 Thread root
Hello community,

here is the log from the commit of package gnuhealth for openSUSE:Factory 
checked in at 2020-02-29 21:25:03

Comparing /work/SRC/openSUSE:Factory/gnuhealth (Old)
 and  /work/SRC/openSUSE:Factory/.gnuhealth.new.26092 (New)


Package is "gnuhealth"

Sat Feb 29 21:25:03 2020 rev:36 rq:780497 version:3.6.3

Changes:

--- /work/SRC/openSUSE:Factory/gnuhealth/gnuhealth.changes  2019-12-04 
14:19:43.510405011 +0100
+++ /work/SRC/openSUSE:Factory/.gnuhealth.new.26092/gnuhealth.changes   
2020-02-29 21:25:17.662609101 +0100
@@ -1,0 +2,9 @@
+Fri Feb 28 11:24:46 UTC 2020 - Axel Braun 
+
+- version 3.6.3
+* GH HMIS server. task #15562: Include coronavirus COVID-19 in ICD10 codes
+* GH HMIS server. bug #57695: Traceback when creating a page of life 
associated to an empty evaluation
+* GH HMIS server. task #15561: Werkzeug 1.0 is not compatible with Trytond 5.0
+* shebang.diff to fix /usr/bin/env 
+
+---

Old:

  gnuhealth-3.6.2.tar.gz

New:

  gnuhealth-3.6.3.tar.gz
  shebang.diff



Other differences:
--
++ gnuhealth.spec ++
--- /var/tmp/diff_new_pack.V98sgb/_old  2020-02-29 21:25:20.678615069 +0100
+++ /var/tmp/diff_new_pack.V98sgb/_new  2020-02-29 21:25:20.678615069 +0100
@@ -1,8 +1,8 @@
 #
 # spec file for package gnuhealth
 #
-# Copyright (c) 2019 SUSE LLC
-# Copyright (c) 2014-2019 Dr. Axel Braun
+# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2014-2020 Dr. Axel Braun
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -21,11 +21,11 @@
 %define majorver 3.6
 Name:   gnuhealth
 
-Version:%{majorver}.2
+Version:%{majorver}.3
 Release:0
 
 # List of additional build dependencies
-###ildRequires:  fdupes
+BuildRequires:  fdupes
 BuildRequires:  python3-rpm-macros
 BuildRequires:  python3-setuptools
 
@@ -41,7 +41,7 @@
 Source4:gnuhealth-webdav@.service
 Source5:openSUSE-gnuhealth-setup
 Source6:gnuhealth
-##atch0: bug_57292.diff
+Patch0: shebang.diff
 ##atch1: xmlfix.diff
 ##atch2: demo.diff
 
@@ -106,7 +106,7 @@
 
 %prep
 %setup -q -n %{name}-%{version}
-##atch0 -p1
+%patch0 -p1
 ##atch1 -p1
 ##atch2 -p1
 cp %{S:1} .
@@ -141,7 +141,7 @@
 
 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/tryton
 
-ython_expand %fdupes %{buildroot}%{$python_sitelib}
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %pre
 #Write environment changes to /etc/bash.bashrc.local

++ gnuhealth-3.6.2.tar.gz -> gnuhealth-3.6.3.tar.gz ++
/work/SRC/openSUSE:Factory/gnuhealth/gnuhealth-3.6.2.tar.gz 
/work/SRC/openSUSE:Factory/.gnuhealth.new.26092/gnuhealth-3.6.3.tar.gz differ: 
char 6, line 1

++ shebang.diff ++
diff -U 3 -dHrN -- a/gnuhealth-control b/gnuhealth-control
--- a/gnuhealth-control 2019-11-20 09:16:02.0 +0100
+++ b/gnuhealth-control 2020-01-15 08:21:34.600157124 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/bin/bash
 
 # gnuhealth-control
 # The GNU Health control center 
diff -U 3 -dHrN -- a/health/setup.py b/health/setup.py
--- a/health/setup.py   2019-11-20 09:16:02.0 +0100
+++ b/health/setup.py   2020-01-15 08:25:35.736164023 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 # -*- coding: utf-8 -*-
 #Copyright (C) 2011-2020 Luis Falcon 
 #Copyright (C) 2011-2020 GNU Solidario 
diff -U 3 -dHrN -- a/health_archives/setup.py b/health_archives/setup.py
--- a/health_archives/setup.py  2019-11-20 09:16:02.0 +0100
+++ b/health_archives/setup.py  2020-01-15 08:26:14.464165130 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 # -*- coding: utf-8 -*-
 #Copyright (C) 2008-2020 Luis Falcon 
 #Copyright (C) 2011-2020 GNU Solidario 
diff -U 3 -dHrN -- a/health_caldav/setup.py b/health_caldav/setup.py
--- a/health_caldav/setup.py2019-11-20 09:16:02.0 +0100
+++ b/health_caldav/setup.py2020-02-27 19:27:33.986769709 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 
 from setuptools import setup
 import re
diff -U 3 -dHrN -- a/health_calendar/setup.py b/health_calendar/setup.py
--- a/health_calendar/setup.py  2019-11-20 09:16:02.0 +0100
+++ b/health_calendar/setup.py  2020-01-15 08:27:24.576167136 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 # -*- coding: utf-8 -*-
 #Copyright (C) 2011-2020 Luis Falcon 
 #Copyright (C) 2011 Cédric Krier
diff -U 3 -dHrN -- a/health_crypto/setup.py b/health_crypto/setup.py
--- a/health_crypto/setup.py2019-11-20 09:16:02.0 +0100
+++ b/health_crypto/setup.py2020-01-15 16:58:43.120008340 +0100
@@ -1,4 +1,4 

commit gnuhealth for openSUSE:Factory

2019-12-04 Thread root
Hello community,

here is the log from the commit of package gnuhealth for openSUSE:Factory 
checked in at 2019-12-04 13:51:11

Comparing /work/SRC/openSUSE:Factory/gnuhealth (Old)
 and  /work/SRC/openSUSE:Factory/.gnuhealth.new.4691 (New)


Package is "gnuhealth"

Wed Dec  4 13:51:11 2019 rev:35 rq:752389 version:3.6.2

Changes:

--- /work/SRC/openSUSE:Factory/gnuhealth/gnuhealth.changes  2019-11-12 
11:57:57.703505673 +0100
+++ /work/SRC/openSUSE:Factory/.gnuhealth.new.4691/gnuhealth.changes
2019-12-04 14:19:43.510405011 +0100
@@ -1,0 +2,6 @@
+Thu Nov 21 14:40:47 UTC 2019 - Axel Braun 
+
+- version 3.6.1
+  demo.diff removed (included in 3.6.1)
+
+---

Old:

  demo.diff
  gnuhealth-3.4.1.tar.gz

New:

  gnuhealth-3.6.2.tar.gz



Other differences:
--
++ gnuhealth.spec ++
--- /var/tmp/diff_new_pack.N7txEf/_old  2019-12-04 14:19:44.006405429 +0100
+++ /var/tmp/diff_new_pack.N7txEf/_new  2019-12-04 14:19:44.010405433 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gnuhealth
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 # Copyright (c) 2014-2019 Dr. Axel Braun
 #
 # All modifications and additions to the file contributed by third parties
@@ -17,30 +17,33 @@
 #
 
 
-%define majorver 3.4
+%define t_version %(rpm -q --qf '%%{VERSION}' trytond)
+%define majorver 3.6
 Name:   gnuhealth
 
-Version:%{majorver}.1
+Version:%{majorver}.2
 Release:0
 
 # List of additional build dependencies
-BuildRequires:  fdupes
+###ildRequires:  fdupes
+BuildRequires:  python3-rpm-macros
 BuildRequires:  python3-setuptools
 
 # For the variables:
 BuildRequires:  trytond
-%define t_version %(rpm -q --qf '%%{VERSION}' trytond)
 
-Url:http://health.gnu.org
-Source0:http://ftp.gnu.org/gnu/health/%{name}-%{version}.tar.gz
-#Source: %{name}-%{version}.tar.gz
+URL:http://health.gnu.org
+##ource0:http://ftp.gnu.org/gnu/health/%{name}-%{version}.tar.gz
+Source: %{name}-%{version}.tar.gz
 Source1:GNUHealth.README.SUSE
 Source2:gnuhealth-control
 Source3:gnuhealth.service
 Source4:gnuhealth-webdav@.service
 Source5:openSUSE-gnuhealth-setup
 Source6:gnuhealth
-Patch0: demo.diff
+##atch0: bug_57292.diff
+##atch1: xmlfix.diff
+##atch2: demo.diff
 
 BuildArch:  noarch
 
@@ -54,9 +57,8 @@
 Requires:   python3-caldav
 Requires:   python3-hl7apy
 Requires:   python3-ldap3
+Requires:   python3-passlib
 Requires:   python3-pyBarcode
-#Federation:
-Requires:   python3-pymongo
 Requires:   python3-qrcode
 Requires:   python3-simpleeval
 Requires:   python3-six
@@ -66,7 +68,6 @@
 Requires:   trytond_account_invoice
 Requires:   trytond_account_invoice_stock
 Requires:   trytond_account_product
-#Requires:   trytond_calendar
 Requires:   trytond_company
 Requires:   trytond_country
 Requires:   trytond_currency
@@ -93,9 +94,21 @@
 This is the server component of GNU Health. 
 You would need the GNU Health Client as well, on the same or a different 
machine. You may use the Tryton Client either
 
+%package -n %{name}-orthanc
+Summary:Integration module for Orthanc
+Group:  Productivity/Office/Management
+Requires:   gnuhealth
+Requires:   python3-beren
+Requires:   python3-pendulum
+
+%description -n %{name}-orthanc
+This package provides the interface to Orthanc
+
 %prep
 %setup -q -n %{name}-%{version}
-%patch0 -p1
+##atch0 -p1
+##atch1 -p1
+##atch2 -p1
 cp %{S:1} .
 cp %{S:2} .
 
@@ -128,7 +141,7 @@
 
 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/tryton
 
-%python_expand %fdupes %{buildroot}%{$python_sitelib}
+ython_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %pre
 #Write environment changes to /etc/bash.bashrc.local
@@ -160,6 +173,10 @@
 %postun
 %service_del_postun gnuhealth.service
 
+%files -n %{name}-orthanc
+%{python3_sitelib}/%{name}_orthanc*
+%{python3_sitelib}/trytond/modules/health_orthanc*
+
 %files 
 %defattr(744,root,root)
 %{_bindir}/gnuhealth-control
@@ -170,6 +187,8 @@
 %defattr(-,root,root)
 %doc README Changelog gnuhealth-setup version gnuhealthrc 
GNUHealth.README.SUSE scripts/* backend/* config/* doc/*
 %license COPYING
+%exclude %{python3_sitelib}/%{name}_orthanc*
+%exclude %{python3_sitelib}/trytond/modules/health_orthanc*
 %{python_sitelib}/*
 
 %changelog

++ GNUHealth.README.SUSE ++
--- /var/tmp/diff_new_pack.N7txEf/_old  2019-12-04 14:19:44.034405453 +0100
+++ /var/tmp/diff_new_pack.N7txEf/_new  2019-12-04 14:19:44.038405456 +0100
@@ -167,6 +167,23 @@
 
 You 

commit gnuhealth for openSUSE:Factory

2019-11-12 Thread root
Hello community,

here is the log from the commit of package gnuhealth for openSUSE:Factory 
checked in at 2019-11-12 11:56:11

Comparing /work/SRC/openSUSE:Factory/gnuhealth (Old)
 and  /work/SRC/openSUSE:Factory/.gnuhealth.new.2990 (New)


Package is "gnuhealth"

Tue Nov 12 11:56:11 2019 rev:34 rq:747441 version:3.4.1

Changes:

--- /work/SRC/openSUSE:Factory/gnuhealth/gnuhealth.changes  2019-06-12 
13:19:09.592555474 +0200
+++ /work/SRC/openSUSE:Factory/.gnuhealth.new.2990/gnuhealth.changes
2019-11-12 11:57:57.703505673 +0100
@@ -1,0 +2,5 @@
+Mon Nov 11 18:22:37 UTC 2019 - Axel Braun 
+
+- demo.diff to update installation script for demo-db added 
+
+---

New:

  demo.diff



Other differences:
--
++ gnuhealth.spec ++
--- /var/tmp/diff_new_pack.FXRM5J/_old  2019-11-12 11:57:59.139507203 +0100
+++ /var/tmp/diff_new_pack.FXRM5J/_new  2019-11-12 11:57:59.143507208 +0100
@@ -40,6 +40,7 @@
 Source4:gnuhealth-webdav@.service
 Source5:openSUSE-gnuhealth-setup
 Source6:gnuhealth
+Patch0: demo.diff
 
 BuildArch:  noarch
 
@@ -94,7 +95,7 @@
 
 %prep
 %setup -q -n %{name}-%{version}
-#%patch0 -p1
+%patch0 -p1
 cp %{S:1} .
 cp %{S:2} .
 
@@ -116,6 +117,10 @@
 install -p -m 755 gnuhealth-control %{buildroot}%{_bindir}/gnuhealth-control
 install -p -m 755 %{S:5} %{buildroot}%{_bindir}/openSUSE-gnuhealth-setup
 install -p -m 755 %{S:6} %{buildroot}%{_bindir}/gnuhealth
+install -p -m 755 scripts/demo/install_demo_database.sh 
%{buildroot}%{_bindir}/install_demo_database.sh
+
+#delete empty demo directory
+rm -rf scripts/demo
 
 mkdir -p $RPM_BUILD_ROOT%{_unitdir}
 install -p -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_unitdir}/%{name}.service
@@ -159,6 +164,7 @@
 %defattr(744,root,root)
 %{_bindir}/gnuhealth-control
 %{_bindir}/openSUSE-gnuhealth-setup
+%{_bindir}/install_demo_database.sh
 %{_unitdir}/%{name}.service
 %{_unitdir}/%{name}-webdav@.service
 %defattr(-,root,root)

++ GNUHealth.README.SUSE ++
--- /var/tmp/diff_new_pack.FXRM5J/_old  2019-11-12 11:57:59.187507254 +0100
+++ /var/tmp/diff_new_pack.FXRM5J/_new  2019-11-12 11:57:59.191507259 +0100
@@ -77,10 +77,18 @@
 DONE. (now really)
 
 Upgrade

+===
 
-  * openSUSE supports online upgrade (zypper dup) between releases. In case you
-are updating your installation from openSUSE Leap 42.2 to 42.3, the 
following message will appear:
+  * openSUSE supports online upgrade (zypper dup) between releases. 
+
+  * In case you upgrade from a previous GNU Health make sure you apply the 
+upgrade procedures described in /usr/share/doc/packages/gnuhealth/upgrade.
+  
+Afterwards, as user tryton, run tryton-admin to update your installation:
+
+> /usr/bin/trytond-admin -c /etc/tryton/trytond.conf --all -d mydb
+  
+  * In case you are updating your installation from openSUSE Leap 42.2 to 
42.3, the following message will appear:
 
 Problem: gnuhealth-3.2.0-12.1.noarch requires python3-PyWebDAV3-GNUHealth, 
but this requirement cannot be provided
 uninstallable providers: 
python3-PyWebDAV3-GNUHealth-0.10.1-1.1.noarch[repo-oss]
@@ -91,13 +99,6 @@
 This message is somewhat misleading, as the new 
python3-PyWebDAV3-GNUHealth conflicts with python-PyWebDAV. 
 Go for Solution 2
 
-  * In case you upgrade from a previous GNU Health make sure you apply the 
-upgrade procedures described in /usr/share/doc/packages/gnuhealth/upgrade.
-
-As user tryton, run tryton-admin:
-
-> /usr/bin/trytond-admin -c /etc/tryton/trytond.conf --all -d mydb
-
   * GNU_Health 3.0 on openSUSE delivered 2 modules, which are not (yet) in 3.2
 anymore: pdq and hl7. You need to delete them first
 
@@ -185,4 +186,4 @@
 [4] https://github.com/mbehrle/tryton/blob/wiki/InstallationonopenSUSE.md
 
 
- -- Axel Braun   Fri Dec  7 18:21:20 UTC 2018
+ -- Axel Braun   Wed Oct 30 11:11:20 UTC 2019
\ No newline at end of file

++ demo.diff ++
diff --git a/scripts/demo/install_demo_database.sh 
b/scripts/demo/install_demo_database.sh
--- a/scripts/demo/install_demo_database.sh
+++ b/scripts/demo/install_demo_database.sh
@@ -1,47 +1,71 @@
 #!/usr/bin/env bash
 # Script to download/unpack and locally install the GNU Health demo database
 
-URL="http://health.gnu.org/downloads/postgres_dumps/gnuhealth-3.0.1-demo-data.tar.gz;
-DB="gnuhealth_demo"
+URL="https://www.gnuhealth.org/downloads/postgres_dumps/gnuhealth-$1-demo.sql.gz;
+DB="ghdemo$1"
 
-if [[ $USER != "gnuhealth" ]]; then
-echo "Run script as gnuhealth user"
+help()
+{
+cat << EOF
+
+GNU Health HMIS demo database installer
+
+usage: `basename $0` 
+
+Example:
+$ bash ./install_demo_dabase.sh 36
+
+will 

commit gnuhealth for openSUSE:Factory

2019-06-12 Thread root
Hello community,

here is the log from the commit of package gnuhealth for openSUSE:Factory 
checked in at 2019-06-12 13:19:08

Comparing /work/SRC/openSUSE:Factory/gnuhealth (Old)
 and  /work/SRC/openSUSE:Factory/.gnuhealth.new.4811 (New)


Package is "gnuhealth"

Wed Jun 12 13:19:08 2019 rev:33 rq:709253 version:3.4.1

Changes:

--- /work/SRC/openSUSE:Factory/gnuhealth/gnuhealth.changes  2019-03-11 
11:16:05.525324697 +0100
+++ /work/SRC/openSUSE:Factory/.gnuhealth.new.4811/gnuhealth.changes
2019-06-12 13:19:09.592555474 +0200
@@ -1,0 +2,6 @@
+Tue Jun 11 16:10:20 UTC 2019 - Axel Braun 
+
+- gnuhealth-control changed to version 3.4.1 
+  * use bsdtar (can handle zip files, tar can't)
+
+---



Other differences:
--
++ gnuhealth-control ++
--- /var/tmp/diff_new_pack.KIvs4c/_old  2019-06-12 13:19:10.212555191 +0200
+++ /var/tmp/diff_new_pack.KIvs4c/_new  2019-06-12 13:19:10.216555189 +0200
@@ -24,7 +24,7 @@
 #
 ##
 
-VERSION="3.4.0-openSUSE"
+VERSION="3.4.1-openSUSE"
 
 TRYTON_URL="http://downloads.tryton.org;
 GNUHEALTH_URL="http://ftp.gnu.org/gnu/health;
@@ -410,14 +410,14 @@
 local lang_to_install=$2
 local lang_file=${lang_to_install}.zip
 #source $HOME/.gnuhealthrc || exit 1
-cli_msg "INFO" "Going to modules directory..."
+cli_msg "INFO" "Going to modules directory ${GNUHEALTH_DIR} "
 
 cd ${GNUHEALTH_DIR} || exit 1
 cli_msg "INFO" "Retrieving language pack file for ${lang_to_install}"
 wget ${TRANSLATE_URL}/export/?path=/${lang_to_install}/GNUHEALTH/ -O 
/tmp/${lang_file} || exit 1
 cli_msg "INFO" "Installing / Updating language files for 
${lang_to_install} ..."
 
-tar --strip-components 3 -xzf /tmp/${lang_file} || exit 1
+bsdtar --strip-components 3 -xzf /tmp/${lang_file} || exit 1
 cli_msg "INFO" "Language pack ${lang_to_install} sucessfully installed / 
updated"
 cli_msg "INFO" "You now need to update the database modules"
 #cd




commit gnuhealth for openSUSE:Factory

2019-03-11 Thread root
Hello community,

here is the log from the commit of package gnuhealth for openSUSE:Factory 
checked in at 2019-03-11 11:15:58

Comparing /work/SRC/openSUSE:Factory/gnuhealth (Old)
 and  /work/SRC/openSUSE:Factory/.gnuhealth.new.28833 (New)


Package is "gnuhealth"

Mon Mar 11 11:15:58 2019 rev:32 rq:683577 version:3.4.1

Changes:

--- /work/SRC/openSUSE:Factory/gnuhealth/gnuhealth.changes  2019-03-04 
09:22:31.140577836 +0100
+++ /work/SRC/openSUSE:Factory/.gnuhealth.new.28833/gnuhealth.changes   
2019-03-11 11:16:05.525324697 +0100
@@ -1,0 +2,7 @@
+Sun Mar 10 11:15:13 UTC 2019 - Axel Braun 
+
+- version 3.4.1 various bugfixes, e.g.
+  bug #55594: Traceback when creating a person without a system institution
+  bug #55595: Remove unimplemented functionality fields from Federation Country
+  
+---

Old:

  gnuhealth-3.4.0.tar.gz

New:

  gnuhealth-3.4.1.tar.gz



Other differences:
--
++ gnuhealth.spec ++
--- /var/tmp/diff_new_pack.M6NmSM/_old  2019-03-11 11:16:09.093323415 +0100
+++ /var/tmp/diff_new_pack.M6NmSM/_new  2019-03-11 11:16:09.133323401 +0100
@@ -2,7 +2,7 @@
 # spec file for package gnuhealth
 #
 # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
-# Copyright (c) 2014-2018 Dr. Axel Braun
+# Copyright (c) 2014-2019 Dr. Axel Braun
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,7 +20,7 @@
 %define majorver 3.4
 Name:   gnuhealth
 
-Version:%{majorver}.0
+Version:%{majorver}.1
 Release:0
 
 # List of additional build dependencies

++ gnuhealth-3.4.0.tar.gz -> gnuhealth-3.4.1.tar.gz ++
/work/SRC/openSUSE:Factory/gnuhealth/gnuhealth-3.4.0.tar.gz 
/work/SRC/openSUSE:Factory/.gnuhealth.new.28833/gnuhealth-3.4.1.tar.gz differ: 
char 5, line 1




commit gnuhealth for openSUSE:Factory

2019-03-04 Thread root
Hello community,

here is the log from the commit of package gnuhealth for openSUSE:Factory 
checked in at 2019-03-04 09:22:21

Comparing /work/SRC/openSUSE:Factory/gnuhealth (Old)
 and  /work/SRC/openSUSE:Factory/.gnuhealth.new.28833 (New)


Package is "gnuhealth"

Mon Mar  4 09:22:21 2019 rev:31 rq:680742 version:3.4.0

Changes:

--- /work/SRC/openSUSE:Factory/gnuhealth/gnuhealth.changes  2019-01-21 
10:45:46.268355979 +0100
+++ /work/SRC/openSUSE:Factory/.gnuhealth.new.28833/gnuhealth.changes   
2019-03-04 09:22:31.140577836 +0100
@@ -1,0 +2,5 @@
+Thu Feb 28 20:15:19 UTC 2019 - Axel Braun 
+
+- add dependency for bsdtar (gnuhealth-control changed)
+
+---



Other differences:
--
++ gnuhealth.spec ++
--- /var/tmp/diff_new_pack.Rn5MOn/_old  2019-03-04 09:22:31.940577692 +0100
+++ /var/tmp/diff_new_pack.Rn5MOn/_new  2019-03-04 09:22:31.944577690 +0100
@@ -47,6 +47,7 @@
 License:GPL-3.0-or-later
 Group:  Productivity/Office/Management
 
+Requires:   bsdtar
 Requires:   proteus
 Requires:   python3-PyWebDAV3-GNUHealth
 Requires:   python3-caldav




commit gnuhealth for openSUSE:Factory

2019-01-21 Thread root
Hello community,

here is the log from the commit of package gnuhealth for openSUSE:Factory 
checked in at 2019-01-21 10:45:44

Comparing /work/SRC/openSUSE:Factory/gnuhealth (Old)
 and  /work/SRC/openSUSE:Factory/.gnuhealth.new.28833 (New)


Package is "gnuhealth"

Mon Jan 21 10:45:44 2019 rev:30 rq:662672 version:3.4.0

Changes:

--- /work/SRC/openSUSE:Factory/gnuhealth/gnuhealth.changes  2018-12-08 
11:21:05.194798260 +0100
+++ /work/SRC/openSUSE:Factory/.gnuhealth.new.28833/gnuhealth.changes   
2019-01-21 10:45:46.268355979 +0100
@@ -1,0 +2,20 @@
+Sat Dec 29 16:40:16 UTC 2018 - Axel Braun 
+
+- gnuhealth-webdav service adapted to new GH webdav server
+
+---
+Fri Dec  7 18:21:20 UTC 2018 - Axel Braun 
+
+- New version 3.4.0
+  * The GNU Health Federation model
+  * Thalamus message server
+  * New Health Information System (on MongoDB)
+  * Person Master Index
+  * MongoDB support (on the HIS)
+  * Updated UniprotKB database with over 30K protein natural variants
+  * Contextualized information on genetics and social determinants
+  * Genetic and family history and environmental factors integrated to
+the Page of Life and Federation The GNU Health Book of Life
+  * Tryton 4.6 integration on the HMIS node
+
+---

Old:

  gnuhealth-3.2.10.tar.gz

New:

  gnuhealth-3.4.0.tar.gz



Other differences:
--
++ gnuhealth.spec ++
--- /var/tmp/diff_new_pack.AnP8GB/_old  2019-01-21 10:45:48.556353163 +0100
+++ /var/tmp/diff_new_pack.AnP8GB/_new  2019-01-21 10:45:48.556353163 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gnuhealth
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2014-2018 Dr. Axel Braun
 #
 # All modifications and additions to the file contributed by third parties
@@ -17,18 +17,22 @@
 #
 
 
-%definemajorver 3.2
+%define majorver 3.4
 Name:   gnuhealth
 
+Version:%{majorver}.0
+Release:0
+
 # List of additional build dependencies
 BuildRequires:  fdupes
 BuildRequires:  python3-setuptools
 
-Version:%{majorver}.10
-Release:0
+# For the variables:
+BuildRequires:  trytond
+%define t_version %(rpm -q --qf '%%{VERSION}' trytond)
 
 Url:http://health.gnu.org
-Source: http://ftp.gnu.org/gnu/health/%{name}-%{version}.tar.gz
+Source0:http://ftp.gnu.org/gnu/health/%{name}-%{version}.tar.gz
 #Source: %{name}-%{version}.tar.gz
 Source1:GNUHealth.README.SUSE
 Source2:gnuhealth-control
@@ -46,11 +50,11 @@
 Requires:   proteus
 Requires:   python3-PyWebDAV3-GNUHealth
 Requires:   python3-caldav
-Requires:   python3-cracklib
 Requires:   python3-hl7apy
 Requires:   python3-ldap3
-Requires:   python3-polib
 Requires:   python3-pyBarcode
+#Federation:
+Requires:   python3-pymongo
 Requires:   python3-qrcode
 Requires:   python3-simpleeval
 Requires:   python3-six
@@ -60,7 +64,7 @@
 Requires:   trytond_account_invoice
 Requires:   trytond_account_invoice_stock
 Requires:   trytond_account_product
-Requires:   trytond_calendar
+#Requires:   trytond_calendar
 Requires:   trytond_company
 Requires:   trytond_country
 Requires:   trytond_currency
@@ -87,7 +91,6 @@
 This is the server component of GNU Health. 
 You would need the GNU Health Client as well, on the same or a different 
machine. You may use the Tryton Client either
 
-
 %prep
 %setup -q -n %{name}-%{version}
 #%patch0 -p1
@@ -100,11 +103,6 @@
   python3 setup.py build
   cd ..
 done
-for i in try*; do
-  cd $i
-  python3 setup.py build
-  cd ..
-done
 
 %install
 for i in h*; do
@@ -112,11 +110,6 @@
   python3 setup.py install --prefix=%_prefix --root=%buildroot 
   cd ..
 done
-for i in try*; do
-  cd $i
-python3 setup.py install --prefix=%_prefix --root=%buildroot 
-  cd ..
-done
 
 mkdir -p -m 755 %{buildroot}%{_bindir}
 install -p -m 755 gnuhealth-control %{buildroot}%{_bindir}/gnuhealth-control
@@ -127,7 +120,9 @@
 install -p -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_unitdir}/%{name}.service
 install -p -m 644 %{SOURCE4} $RPM_BUILD_ROOT%{_unitdir}/%{name}-webdav@.service
 
-%fdupes -s %{buildroot}
+mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/tryton
+
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %pre
 #Write environment changes to /etc/bash.bashrc.local
@@ -140,6 +135,12 @@
 alias cdutil='cd /usr/bin'
 EOF
 
+#Write GH Variable /etc/tryton/gnuhealthrc 
+cat > /etc/tryton/gnuhealthrc << "EOF"
+GNUHEALTH_VERSION=%{version}
+TRYTON_VERSION=%{t_version}
+EOF
+
 %service_add_pre 

commit gnuhealth for openSUSE:Factory

2018-12-08 Thread root
Hello community,

here is the log from the commit of package gnuhealth for openSUSE:Factory 
checked in at 2018-12-08 11:20:59

Comparing /work/SRC/openSUSE:Factory/gnuhealth (Old)
 and  /work/SRC/openSUSE:Factory/.gnuhealth.new.19453 (New)


Package is "gnuhealth"

Sat Dec  8 11:20:59 2018 rev:29 rq:653618 version:3.2.10

Changes:

--- /work/SRC/openSUSE:Factory/gnuhealth/gnuhealth.changes  2018-09-10 
12:32:23.534602556 +0200
+++ /work/SRC/openSUSE:Factory/.gnuhealth.new.19453/gnuhealth.changes   
2018-12-08 11:21:05.194798260 +0100
@@ -1,0 +2,5 @@
+Thu Nov 15 09:28:38 UTC 2018 - Axel Braun 
+
+- correction for gnuhealth-control (v 3.2.4) 
+
+---



Other differences:
--
++ gnuhealth.spec ++
--- /var/tmp/diff_new_pack.il6HGO/_old  2018-12-08 11:21:06.006797483 +0100
+++ /var/tmp/diff_new_pack.il6HGO/_new  2018-12-08 11:21:06.010797479 +0100
@@ -13,7 +13,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -85,7 +85,7 @@
 the implementations and trainings.
 
 This is the server component of GNU Health. 
-You would need the Tryton frontend as well, on the same or a different machine
+You would need the GNU Health Client as well, on the same or a different 
machine. You may use the Tryton Client either
 
 
 %prep

++ gnuhealth-control ++
--- /var/tmp/diff_new_pack.il6HGO/_old  2018-12-08 11:21:06.066797426 +0100
+++ /var/tmp/diff_new_pack.il6HGO/_new  2018-12-08 11:21:06.066797426 +0100
@@ -24,7 +24,7 @@
 #
 ##
 
-VERSION="3.2.3-openSUSE"
+VERSION="3.2.4-openSUSE"
 
 TRYTON_URL="http://downloads.tryton.org;
 GNUHEALTH_URL="http://ftp.gnu.org/gnu/health;
@@ -185,7 +185,7 @@
 cli_msg "INFO" "Creating tarball with compressed DB and GNU Health 
Attachment directory" | tee -a $INFOFILE
 
 tar -cvf "${BACKDIR}/gnuhealth_${DB}_with_fs_backup_${BACKDATE}.tar" \
-${BACKDIR}/backup_${DB}_${BACKDATE}.gz ${BACKDIR}/$BACKUP_NAME} \
+${BACKDIR}/backup_${DB}_${BACKDATE}.gz ${BACKDIR}/${BACKUP_NAME} \
 || bailout
  
 cli_msg "INFO" "Backup successfully written to ${BACKDIR}/${BACKUP_NAME}" 
| tee -a $INFOFILE




commit gnuhealth for openSUSE:Factory

2018-09-10 Thread root
Hello community,

here is the log from the commit of package gnuhealth for openSUSE:Factory 
checked in at 2018-09-10 12:32:21

Comparing /work/SRC/openSUSE:Factory/gnuhealth (Old)
 and  /work/SRC/openSUSE:Factory/.gnuhealth.new (New)


Package is "gnuhealth"

Mon Sep 10 12:32:21 2018 rev:28 rq:634689 version:3.2.10

Changes:

--- /work/SRC/openSUSE:Factory/gnuhealth/gnuhealth.changes  2018-09-04 
22:57:50.449343077 +0200
+++ /work/SRC/openSUSE:Factory/.gnuhealth.new/gnuhealth.changes 2018-09-10 
12:32:23.534602556 +0200
@@ -4,0 +5 @@
+  (boo#1107771)



Other differences:
--



commit gnuhealth for openSUSE:Factory

2018-09-04 Thread root
Hello community,

here is the log from the commit of package gnuhealth for openSUSE:Factory 
checked in at 2018-09-04 22:57:16

Comparing /work/SRC/openSUSE:Factory/gnuhealth (Old)
 and  /work/SRC/openSUSE:Factory/.gnuhealth.new (New)


Package is "gnuhealth"

Tue Sep  4 22:57:16 2018 rev:27 rq:632878 version:3.2.10

Changes:

--- /work/SRC/openSUSE:Factory/gnuhealth/gnuhealth.changes  2018-07-21 
10:25:19.418955981 +0200
+++ /work/SRC/openSUSE:Factory/.gnuhealth.new/gnuhealth.changes 2018-09-04 
22:57:50.449343077 +0200
@@ -1,0 +2,5 @@
+Mon Aug 27 14:07:12 UTC 2018 - axel.br...@gmx.de
+
+- Adding a dummy executable called 'gnuhealth' with some help text 
+
+---

New:

  gnuhealth



Other differences:
--
++ gnuhealth.spec ++
--- /var/tmp/diff_new_pack.PH58fE/_old  2018-09-04 22:57:51.017345014 +0200
+++ /var/tmp/diff_new_pack.PH58fE/_new  2018-09-04 22:57:51.017345014 +0200
@@ -35,6 +35,7 @@
 Source3:gnuhealth.service
 Source4:gnuhealth-webdav@.service
 Source5:openSUSE-gnuhealth-setup
+Source6:gnuhealth
 
 BuildArch:  noarch
 
@@ -120,6 +121,7 @@
 mkdir -p -m 755 %{buildroot}%{_bindir}
 install -p -m 755 gnuhealth-control %{buildroot}%{_bindir}/gnuhealth-control
 install -p -m 755 %{S:5} %{buildroot}%{_bindir}/openSUSE-gnuhealth-setup
+install -p -m 755 %{S:6} %{buildroot}%{_bindir}/gnuhealth
 
 mkdir -p $RPM_BUILD_ROOT%{_unitdir}
 install -p -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_unitdir}/%{name}.service

++ gnuhealth ++
#!/bin/bash

# GNU Health dummy program - for thos who dont read manuals

##
#
#GNU Health dummy
#
#Copyright (C) 2018 Axel Braun  
#
#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 3 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 should have received a copy of the GNU General Public License
#along with this program.  If not, see .
#
##

cat << EOF

You have installed GNU Health and no idea how it should work.
(Otherwise you would not see this message)

How about reading a fine manual? You find it at
/usr/share/doc/packages/gnuhealth/GNUHealth.README.SUSE

Or see the full documentation at
https://en.wikibooks.org/wiki/GNU_Health

Want to start immediately with some configuration?
Run openSUSE-gnuhealth-setup

Whatever you do...have fun!

EOF
exit 0
++ openSUSE-gnuhealth-setup ++
--- /var/tmp/diff_new_pack.PH58fE/_old  2018-09-04 22:57:51.101345301 +0200
+++ /var/tmp/diff_new_pack.PH58fE/_new  2018-09-04 22:57:51.101345301 +0200
@@ -8,6 +8,8 @@
 #GNU Health Installer for openSUSE
 #
 #Copyright (C) 2018 Axel Braun  
+
+#inspired by gnuhealth-control (C) 2018 Luis Falcon 
 #
 #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




commit gnuhealth for openSUSE:Factory

2018-07-21 Thread root
Hello community,

here is the log from the commit of package gnuhealth for openSUSE:Factory 
checked in at 2018-07-21 10:25:16

Comparing /work/SRC/openSUSE:Factory/gnuhealth (Old)
 and  /work/SRC/openSUSE:Factory/.gnuhealth.new (New)


Package is "gnuhealth"

Sat Jul 21 10:25:16 2018 rev:26 rq:624217 version:3.2.10

Changes:

--- /work/SRC/openSUSE:Factory/gnuhealth/gnuhealth.changes  2018-06-20 
15:22:39.013026581 +0200
+++ /work/SRC/openSUSE:Factory/.gnuhealth.new/gnuhealth.changes 2018-07-21 
10:25:19.418955981 +0200
@@ -1,0 +2,12 @@
+Tue Jul 17 07:19:15 UTC 2018 - axel.br...@gmx.de
+
+- openSUSE-gnuhealth-setup: User tryton set to SUPERUSER
+  Documentation updated
+
+---
+Wed Jun 20 09:17:23 UTC 2018 - axel.br...@gmx.de
+
+- gnuhealth-control: added info about backup file
+  openSUSE-gnuhealth-setup added
+
+---

New:

  openSUSE-gnuhealth-setup



Other differences:
--
++ gnuhealth.spec ++
--- /var/tmp/diff_new_pack.gADhiN/_old  2018-07-21 10:25:20.358955753 +0200
+++ /var/tmp/diff_new_pack.gADhiN/_new  2018-07-21 10:25:20.362955752 +0200
@@ -34,11 +34,12 @@
 Source2:gnuhealth-control
 Source3:gnuhealth.service
 Source4:gnuhealth-webdav@.service
+Source5:openSUSE-gnuhealth-setup
 
 BuildArch:  noarch
 
 Summary:A Health and Hospital Information System
-License:GPL-3.0+
+License:GPL-3.0-or-later
 Group:  Productivity/Office/Management
 
 Requires:   proteus
@@ -118,6 +119,7 @@
 
 mkdir -p -m 755 %{buildroot}%{_bindir}
 install -p -m 755 gnuhealth-control %{buildroot}%{_bindir}/gnuhealth-control
+install -p -m 755 %{S:5} %{buildroot}%{_bindir}/openSUSE-gnuhealth-setup
 
 mkdir -p $RPM_BUILD_ROOT%{_unitdir}
 install -p -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_unitdir}/%{name}.service
@@ -152,6 +154,7 @@
 %files 
 %defattr(744,root,root)
 %{_bindir}/gnuhealth-control
+%{_bindir}/openSUSE-gnuhealth-setup
 %{_unitdir}/%{name}.service
 %{_unitdir}/%{name}-webdav@.service
 %defattr(-,root,root)

++ GNUHealth.README.SUSE ++
--- /var/tmp/diff_new_pack.gADhiN/_old  2018-07-21 10:25:20.398955743 +0200
+++ /var/tmp/diff_new_pack.gADhiN/_new  2018-07-21 10:25:20.398955743 +0200
@@ -6,6 +6,17 @@
 
 You have already installed the package gnuhealth and found this documentation. 
Good.
 
+As very easy and convenient way to do all required settings, log in as user 
root and run openSUSE-gnuhealth-setup:
+
+> su
+> openSUSE-gnuhealth-setup setup
+
+You can follow the proposals given, anyway, **it is not recommended to use 
default settings for a production environment**
+
+
+The above setup-program automates the steps below, which you could do as well 
manually, if desired.
+(If you have run openSUSE-gnuhealth-setup, the below steps are not needed 
additionally!)
+
 1) Log in as root and start the database
 > su
 > systemctl start postgresql

++ gnuhealth-control ++
--- /var/tmp/diff_new_pack.gADhiN/_old  2018-07-21 10:25:20.422955738 +0200
+++ /var/tmp/diff_new_pack.gADhiN/_new  2018-07-21 10:25:20.422955738 +0200
@@ -24,7 +24,7 @@
 #
 ##
 
-VERSION="3.2.2-openSUSE"
+VERSION="3.2.3-openSUSE"
 
 TRYTON_URL="http://downloads.tryton.org;
 GNUHEALTH_URL="http://ftp.gnu.org/gnu/health;
@@ -177,17 +177,19 @@
 gzip "${BACKDIR}/backup_${DB}_${BACKDATE}" || bailout
 
 cli_msg "INFO" "Compressing GNU Health Attachment directory" | tee -a 
$INFOFILE
-
-tar -cvzf "${BACKDIR}/gnuhealth_${DB}_fs_backup_${BACKDATE}.tar.gz" 
/var/lib/tryton || bailout
+#AB - start
+BACKUP_NAME=gnuhealth_${DB}_fs_backup_${BACKDATE}.tar.gz
+#tar -cvzf "${BACKDIR}/gnuhealth_${DB}_fs_backup_${BACKDATE}.tar.gz" 
/var/lib/tryton || bailout
+tar -cvzf "${BACKDIR}/${BACKUP_NAME}" /var/lib/tryton || bailout
 
 cli_msg "INFO" "Creating tarball with compressed DB and GNU Health 
Attachment directory" | tee -a $INFOFILE
 
 tar -cvf "${BACKDIR}/gnuhealth_${DB}_with_fs_backup_${BACKDATE}.tar" \
-${BACKDIR}/backup_${DB}_${BACKDATE}.gz 
${BACKDIR}/gnuhealth_${DB}_fs_backup_${BACKDATE}.tar.gz \
+${BACKDIR}/backup_${DB}_${BACKDATE}.gz ${BACKDIR}/$BACKUP_NAME} \
 || bailout
  
-cli_msg "INFO" "Backup Successful" | tee -a $INFOFILE
-
+cli_msg "INFO" "Backup successfully written to ${BACKDIR}/${BACKUP_NAME}" 
| tee -a $INFOFILE
+#AB - END
 #Remove lock file
 rm $LOCKFILE
 

++ openSUSE-gnuhealth-setup ++
#!/bin/bash

# GNU Health installation script for openSUSE
# Version agnostic to GNU Health


commit gnuhealth for openSUSE:Factory

2018-06-20 Thread root
Hello community,

here is the log from the commit of package gnuhealth for openSUSE:Factory 
checked in at 2018-06-20 15:22:28

Comparing /work/SRC/openSUSE:Factory/gnuhealth (Old)
 and  /work/SRC/openSUSE:Factory/.gnuhealth.new (New)


Package is "gnuhealth"

Wed Jun 20 15:22:28 2018 rev:25 rq:615207 version:3.2.10

Changes:

--- /work/SRC/openSUSE:Factory/gnuhealth/gnuhealth.changes  2018-01-28 
20:33:28.174760135 +0100
+++ /work/SRC/openSUSE:Factory/.gnuhealth.new/gnuhealth.changes 2018-06-20 
15:22:39.013026581 +0200
@@ -1,0 +2,6 @@
+Tue Jun  5 12:13:54 UTC 2018 - axel.br...@gmx.de
+
+- Version 3.2.10
+  bug #54055: Caldav event does not update after changing the appointment
+
+---

Old:

  gnuhealth-3.2.9.tar.gz

New:

  gnuhealth-3.2.10.tar.gz



Other differences:
--
++ gnuhealth.spec ++
--- /var/tmp/diff_new_pack.m4Lg4P/_old  2018-06-20 15:22:41.396940119 +0200
+++ /var/tmp/diff_new_pack.m4Lg4P/_new  2018-06-20 15:22:41.400939974 +0200
@@ -2,7 +2,7 @@
 # spec file for package gnuhealth
 #
 # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
-# Copyright (c) 2014-2017 Dr. Axel Braun
+# Copyright (c) 2014-2018 Dr. Axel Braun
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,7 +24,7 @@
 BuildRequires:  fdupes
 BuildRequires:  python3-setuptools
 
-Version:%{majorver}.9
+Version:%{majorver}.10
 Release:0
 
 Url:http://health.gnu.org
@@ -73,7 +73,7 @@
 # additional suggestion for a useable editor
 Suggests:   nano
 # you may need a frontend to work with
-Suggests:   tryton
+Suggests:   gnuhealth-client
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -93,18 +93,11 @@
 cp %{S:2} .
 
 %build
-#export LANG=en_US.UTF-8
-#export LC_CTYPE=en_US.UTF-8
-#export RC_LANG=en_US.UTF-8
 for i in h*; do
   cd $i
   python3 setup.py build
   cd ..
 done
-#pdq
-#  cd pdq
-#  python3 setup.py build
-#  cd ..
 for i in try*; do
   cd $i
   python3 setup.py build
@@ -117,10 +110,6 @@
   python3 setup.py install --prefix=%_prefix --root=%buildroot 
   cd ..
 done
-#pdq
-#  cd pdq
-#  python3 setup.py install --prefix=%_prefix --root=%buildroot 
-#  cd ..
 for i in try*; do
   cd $i
 python3 setup.py install --prefix=%_prefix --root=%buildroot 

++ _service ++
--- /var/tmp/diff_new_pack.m4Lg4P/_old  2018-06-20 15:22:41.472937364 +0200
+++ /var/tmp/diff_new_pack.m4Lg4P/_new  2018-06-20 15:22:41.476937218 +0200
@@ -1,4 +1,3 @@
 
-  
-
-
+ 
+
\ No newline at end of file

++ gnuhealth-3.2.9.tar.gz -> gnuhealth-3.2.10.tar.gz ++
/work/SRC/openSUSE:Factory/gnuhealth/gnuhealth-3.2.9.tar.gz 
/work/SRC/openSUSE:Factory/.gnuhealth.new/gnuhealth-3.2.10.tar.gz differ: char 
5, line 1




commit gnuhealth for openSUSE:Factory

2018-01-28 Thread root
Hello community,

here is the log from the commit of package gnuhealth for openSUSE:Factory 
checked in at 2018-01-28 20:32:14

Comparing /work/SRC/openSUSE:Factory/gnuhealth (Old)
 and  /work/SRC/openSUSE:Factory/.gnuhealth.new (New)


Package is "gnuhealth"

Sun Jan 28 20:32:14 2018 rev:24 rq:569986 version:3.2.9

Changes:

--- /work/SRC/openSUSE:Factory/gnuhealth/gnuhealth.changes  2018-01-06 
18:51:50.395800456 +0100
+++ /work/SRC/openSUSE:Factory/.gnuhealth.new/gnuhealth.changes 2018-01-28 
20:33:28.174760135 +0100
@@ -1,0 +2,5 @@
+Fri Jan 19 15:36:11 UTC 2018 - axel.br...@gmx.de
+
+- added gnuhealth-client to documentation
+
+---



Other differences:
--
++ gnuhealth.spec ++
--- /var/tmp/diff_new_pack.nZlWSA/_old  2018-01-28 20:33:29.214711557 +0100
+++ /var/tmp/diff_new_pack.nZlWSA/_new  2018-01-28 20:33:29.218711370 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gnuhealth
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2014-2017 Dr. Axel Braun
 #
 # All modifications and additions to the file contributed by third parties

++ GNUHealth.README.SUSE ++
--- /var/tmp/diff_new_pack.nZlWSA/_old  2018-01-28 20:33:29.262709315 +0100
+++ /var/tmp/diff_new_pack.nZlWSA/_new  2018-01-28 20:33:29.262709315 +0100
@@ -55,11 +55,11 @@
 
 You may want to install a Client locally:
 
-8) Install the tryton client:
-> zypper in tryton
+8) Install the GNU Health client:
+> zypper in gnuhealth-client
 
-9) Open the tryton client:
-> tryton
+9) Open the GNU Health client:
+> gnuhealth-client
 go to 'manage profiles' -> add -> name it 'localhost' -> Host: localhost
 -> you should now see a selection of available databases
 




commit gnuhealth for openSUSE:Factory

2018-01-06 Thread root
Hello community,

here is the log from the commit of package gnuhealth for openSUSE:Factory 
checked in at 2018-01-06 18:51:40

Comparing /work/SRC/openSUSE:Factory/gnuhealth (Old)
 and  /work/SRC/openSUSE:Factory/.gnuhealth.new (New)


Package is "gnuhealth"

Sat Jan  6 18:51:40 2018 rev:23 rq:561897 version:3.2.9

Changes:

--- /work/SRC/openSUSE:Factory/gnuhealth/gnuhealth.changes  2017-12-19 
10:57:45.643455385 +0100
+++ /work/SRC/openSUSE:Factory/.gnuhealth.new/gnuhealth.changes 2018-01-06 
18:51:50.395800456 +0100
@@ -1,0 +2,5 @@
+Fri Dec 29 14:12:10 UTC 2017 - axel.br...@gmx.de
+
+- typo in documentation corrected
+
+---



Other differences:
--
++ GNUHealth.README.SUSE ++
--- /var/tmp/diff_new_pack.AJuNPv/_old  2018-01-06 18:51:51.183763638 +0100
+++ /var/tmp/diff_new_pack.AJuNPv/_new  2018-01-06 18:51:51.183763638 +0100
@@ -27,7 +27,7 @@
 > psql -c "CREATE USER tryton WITH CREATEDB;"
 
 4) Creating the database:
-> psql -c "createdb mydb --encoding='UTF-8' --owner=tryton;"
+> createdb mydb --encoding='UTF-8' --owner=tryton
 
 5) exit as user postgres and restart postgres
 > exit




commit gnuhealth for openSUSE:Factory

2017-12-19 Thread root
Hello community,

here is the log from the commit of package gnuhealth for openSUSE:Factory 
checked in at 2017-12-19 10:57:43

Comparing /work/SRC/openSUSE:Factory/gnuhealth (Old)
 and  /work/SRC/openSUSE:Factory/.gnuhealth.new (New)


Package is "gnuhealth"

Tue Dec 19 10:57:43 2017 rev:22 rq:557699 version:3.2.9

Changes:

--- /work/SRC/openSUSE:Factory/gnuhealth/gnuhealth.changes  2017-12-08 
12:59:52.088310913 +0100
+++ /work/SRC/openSUSE:Factory/.gnuhealth.new/gnuhealth.changes 2017-12-19 
10:57:45.643455385 +0100
@@ -1,0 +2,5 @@
+Sat Dec  9 18:17:59 UTC 2017 - axel.br...@gmx.de
+
+- documentation updated
+
+---



Other differences:
--
++ GNUHealth.README.SUSE ++
--- /var/tmp/diff_new_pack.kKwRRn/_old  2017-12-19 10:57:46.591409623 +0100
+++ /var/tmp/diff_new_pack.kKwRRn/_new  2017-12-19 10:57:46.591409623 +0100
@@ -23,35 +23,20 @@
 
 Save your input. This will make sure that Tryton/GNUHealth server can connect 
to the database
 
-3) Create a role for 'tryton' in the database (sill as user postgres)
+3) Create a role for 'tryton' in the database (still as user postgres)
 > psql -c "CREATE USER tryton WITH CREATEDB;"
 
-4) exit as user postgres and restart postgres
+4) Creating the database:
+> psql -c "createdb mydb --encoding='UTF-8' --owner=tryton;"
+
+5) exit as user postgres and restart postgres
 > exit
 > systemctl restart postgresql
 
-5) start gnuhealth/trytond:
-> systemctl start gnuhealth
-
-6) Install the tryton client:
-> zypper in tryton
-
-7) Open the tryton client:
-> tryton
-go to 'manage profiles' -> add -> name it 'localhost' -> Host: localhost
--> you should now see a selection of available databases
-
-Note: From Tryton Release 4.2 onwards it is not possible anymore to create 
databases 
-from the Frontend. You need to do this manually
-
-8) Creating the database:
-> su - postgres -c "createdb mydb --encoding='UTF-8' --owner=tryton"
-
 Note: The owner of the database should be the same user, as under which the 
-tryton server runs (default:tryton) Enter a name for the database 
-(here as default: mydb).
+tryton server runs (default:tryton) 
 
-9) Initializing the database:  
+6) Initializing the database:  
 Log in as user tryton: 
 
 > sudo su tryton -s /bin/bash
@@ -59,12 +44,27 @@
 
 Note: Use the database name you chose in the previous step (here as default: 
mydb). 
 You will be asked for the admin password for this database. 
-For the first login, log in to the newly initialized database with user admin 
and password as set during initialization.
+For the first login, log in to the newly initialized database with user 
'admin' and password as set during initialization.
 
-As result you will have a bare Tryton database with the base modules installed.
+As result you will have a bare GNU Health database with the base modules 
installed.
+
+7) Start the Gnuhealth-Server:
+> systemctl start gnuhealth
 
 DONE.
 
+You may want to install a Client locally:
+
+8) Install the tryton client:
+> zypper in tryton
+
+9) Open the tryton client:
+> tryton
+go to 'manage profiles' -> add -> name it 'localhost' -> Host: localhost
+-> you should now see a selection of available databases
+
+DONE. (now really)
+
 Upgrade
 ---
 




commit gnuhealth for openSUSE:Factory

2017-12-08 Thread root
Hello community,

here is the log from the commit of package gnuhealth for openSUSE:Factory 
checked in at 2017-12-08 12:59:49

Comparing /work/SRC/openSUSE:Factory/gnuhealth (Old)
 and  /work/SRC/openSUSE:Factory/.gnuhealth.new (New)


Package is "gnuhealth"

Fri Dec  8 12:59:49 2017 rev:21 rq:554872 version:3.2.9

Changes:

--- /work/SRC/openSUSE:Factory/gnuhealth/gnuhealth.changes  2017-11-16 
14:03:49.439516209 +0100
+++ /work/SRC/openSUSE:Factory/.gnuhealth.new/gnuhealth.changes 2017-12-08 
12:59:52.088310913 +0100
@@ -1,0 +2,8 @@
+Wed Dec  6 16:30:12 UTC 2017 - axel.br...@gmx.de
+
+- Version 3.2.9
+  Fix bug #52580: Removing the patient field before saving the record 
generates an error
+  Fix bug #52579: some on_change numeric method operations generate traceback
+  Fix bug #52578: WHR should be on the same line as hip and waist fields
+
+---

Old:

  gnuhealth-3.2.8.tar.gz

New:

  gnuhealth-3.2.9.tar.gz



Other differences:
--
++ gnuhealth.spec ++
--- /var/tmp/diff_new_pack.xK8kRa/_old  2017-12-08 12:59:53.552258042 +0100
+++ /var/tmp/diff_new_pack.xK8kRa/_new  2017-12-08 12:59:53.552258042 +0100
@@ -24,7 +24,7 @@
 BuildRequires:  fdupes
 BuildRequires:  python3-setuptools
 
-Version:%{majorver}.8
+Version:%{majorver}.9
 Release:0
 
 Url:http://health.gnu.org

++ GNUHealth.README.SUSE ++
--- /var/tmp/diff_new_pack.xK8kRa/_old  2017-12-08 12:59:53.584256886 +0100
+++ /var/tmp/diff_new_pack.xK8kRa/_new  2017-12-08 12:59:53.584256886 +0100
@@ -42,7 +42,26 @@
 -> you should now see a selection of available databases
 
 Note: From Tryton Release 4.2 onwards it is not possible anymore to create 
databases 
-from the Frontend. You need to do this manually (see 
/usr/share/doc/packages/trytond/tryton-server.README.SUSE)
+from the Frontend. You need to do this manually
+
+8) Creating the database:
+> su - postgres -c "createdb mydb --encoding='UTF-8' --owner=tryton"
+
+Note: The owner of the database should be the same user, as under which the 
+tryton server runs (default:tryton) Enter a name for the database 
+(here as default: mydb).
+
+9) Initializing the database:  
+Log in as user tryton: 
+
+> sudo su tryton -s /bin/bash
+> /usr/bin/trytond-admin -c /etc/tryton/trytond.conf --all -d mydb
+
+Note: Use the database name you chose in the previous step (here as default: 
mydb). 
+You will be asked for the admin password for this database. 
+For the first login, log in to the newly initialized database with user admin 
and password as set during initialization.
+
+As result you will have a bare Tryton database with the base modules installed.
 
 DONE.
 

++ gnuhealth-3.2.8.tar.gz -> gnuhealth-3.2.9.tar.gz ++
/work/SRC/openSUSE:Factory/gnuhealth/gnuhealth-3.2.8.tar.gz 
/work/SRC/openSUSE:Factory/.gnuhealth.new/gnuhealth-3.2.9.tar.gz differ: char 
5, line 1




commit gnuhealth for openSUSE:Factory

2017-11-16 Thread root
Hello community,

here is the log from the commit of package gnuhealth for openSUSE:Factory 
checked in at 2017-11-16 14:03:46

Comparing /work/SRC/openSUSE:Factory/gnuhealth (Old)
 and  /work/SRC/openSUSE:Factory/.gnuhealth.new (New)


Package is "gnuhealth"

Thu Nov 16 14:03:46 2017 rev:20 rq:542153 version:3.2.8

Changes:

--- /work/SRC/openSUSE:Factory/gnuhealth/gnuhealth.changes  2017-10-29 
20:25:26.812981570 +0100
+++ /work/SRC/openSUSE:Factory/.gnuhealth.new/gnuhealth.changes 2017-11-16 
14:03:49.439516209 +0100
@@ -1,0 +2,13 @@
+Wed Nov 15 22:01:40 UTC 2017 - axel.br...@gmx.de
+
+- removed pypi dependencies 
+
+---
+Wed Nov 15 10:59:28 UTC 2017 - axel.br...@gmx.de
+
+- health_crypto. Fix bug #52366: Error when signing the death certificate
+  task #14626: Renaming Package names prefix trytond_ from Pypi. Update 
descriptions
+  task #14626: Renaming Package names prefix trytond_ from Pypi. Remove tryton 
from keywords
+  remove lingering egg-info dirs from webdav3
+
+---

Old:

  gnuhealth-3.2.6.tar.gz

New:

  gnuhealth-3.2.8.tar.gz



Other differences:
--
++ gnuhealth.spec ++
--- /var/tmp/diff_new_pack.Zjqwew/_old  2017-11-16 14:03:53.087384000 +0100
+++ /var/tmp/diff_new_pack.Zjqwew/_new  2017-11-16 14:03:53.087384000 +0100
@@ -24,7 +24,7 @@
 BuildRequires:  fdupes
 BuildRequires:  python3-setuptools
 
-Version:%{majorver}.6
+Version:%{majorver}.8
 Release:0
 
 Url:http://health.gnu.org

++ gnuhealth-3.2.6.tar.gz -> gnuhealth-3.2.8.tar.gz ++
/work/SRC/openSUSE:Factory/gnuhealth/gnuhealth-3.2.6.tar.gz 
/work/SRC/openSUSE:Factory/.gnuhealth.new/gnuhealth-3.2.8.tar.gz differ: char 
5, line 1




commit gnuhealth for openSUSE:Factory

2017-10-29 Thread root
Hello community,

here is the log from the commit of package gnuhealth for openSUSE:Factory 
checked in at 2017-10-29 20:25:03

Comparing /work/SRC/openSUSE:Factory/gnuhealth (Old)
 and  /work/SRC/openSUSE:Factory/.gnuhealth.new (New)


Package is "gnuhealth"

Sun Oct 29 20:25:03 2017 rev:19 rq:537382 version:3.2.6

Changes:

--- /work/SRC/openSUSE:Factory/gnuhealth/gnuhealth.changes  2017-10-19 
19:33:10.853945237 +0200
+++ /work/SRC/openSUSE:Factory/.gnuhealth.new/gnuhealth.changes 2017-10-29 
20:25:26.812981570 +0100
@@ -1,0 +2,8 @@
+Sun Oct 29 07:26:16 UTC 2017 - axel.br...@gmx.de
+
+- Version 3.2.6
+  dependency on python3-pymongo removed
+  fix bug #52298: Traceback generating an invoice from service with an 
insurance policy plan
+  Fix bug #52275: Traceback when creating a free slot in appointments or work 
schedule
+
+---

Old:

  gnuhealth-3.2.5.tar.gz

New:

  gnuhealth-3.2.6.tar.gz



Other differences:
--
++ gnuhealth.spec ++
--- /var/tmp/diff_new_pack.ZyAjRs/_old  2017-10-29 20:25:27.700949209 +0100
+++ /var/tmp/diff_new_pack.ZyAjRs/_new  2017-10-29 20:25:27.708948917 +0100
@@ -24,7 +24,7 @@
 BuildRequires:  fdupes
 BuildRequires:  python3-setuptools
 
-Version:%{majorver}.5
+Version:%{majorver}.6
 Release:0
 
 Url:http://health.gnu.org
@@ -49,7 +49,6 @@
 Requires:   python3-ldap3
 Requires:   python3-polib
 Requires:   python3-pyBarcode
-Requires:   python3-pymongo
 Requires:   python3-qrcode
 Requires:   python3-simpleeval
 Requires:   python3-six

++ gnuhealth-3.2.5.tar.gz -> gnuhealth-3.2.6.tar.gz ++
/work/SRC/openSUSE:Factory/gnuhealth/gnuhealth-3.2.5.tar.gz 
/work/SRC/openSUSE:Factory/.gnuhealth.new/gnuhealth-3.2.6.tar.gz differ: char 
5, line 1




commit gnuhealth for openSUSE:Factory

2017-10-19 Thread root
Hello community,

here is the log from the commit of package gnuhealth for openSUSE:Factory 
checked in at 2017-10-19 19:33:10

Comparing /work/SRC/openSUSE:Factory/gnuhealth (Old)
 and  /work/SRC/openSUSE:Factory/.gnuhealth.new (New)


Package is "gnuhealth"

Thu Oct 19 19:33:10 2017 rev:18 rq:535024 version:3.2.5

Changes:

--- /work/SRC/openSUSE:Factory/gnuhealth/gnuhealth.changes  2017-10-09 
19:48:38.674467331 +0200
+++ /work/SRC/openSUSE:Factory/.gnuhealth.new/gnuhealth.changes 2017-10-19 
19:33:10.853945237 +0200
@@ -1,0 +2,5 @@
+Wed Oct 18 19:14:54 UTC 2017 - axel.br...@gmx.de
+
+- Correction for gnuhealth-control (file not found in backup)
+
+---



Other differences:
--
++ gnuhealth-control ++
--- /var/tmp/diff_new_pack.Un2sUq/_old  2017-10-19 19:33:11.661907433 +0200
+++ /var/tmp/diff_new_pack.Un2sUq/_new  2017-10-19 19:33:11.661907433 +0200
@@ -24,7 +24,7 @@
 #
 ##
 
-VERSION="3.2.1-openSUSE"
+VERSION="3.2.2-openSUSE"
 
 TRYTON_URL="http://downloads.tryton.org;
 GNUHEALTH_URL="http://ftp.gnu.org/gnu/health;
@@ -176,11 +176,11 @@
 
 gzip "${BACKDIR}/backup_${DB}_${BACKDATE}" || bailout
 
-cli_msg "INFO" "Creating compressed tarball with DB and GNU Health 
Attachment directory" | tee -a $INFOFILE
+cli_msg "INFO" "Compressing GNU Health Attachment directory" | tee -a 
$INFOFILE
 
-tar -cvf "${BACKDIR}/gnuhealth_${DB}_with_fs_backup_${BACKDATE}.tar.gz" 
/var/lib/tryton || bailout
+tar -cvzf "${BACKDIR}/gnuhealth_${DB}_fs_backup_${BACKDATE}.tar.gz" 
/var/lib/tryton || bailout
 
-cli_msg "INFO" "Creating tarball with compressed DB and GNU Health home 
directory" | tee -a $INFOFILE
+cli_msg "INFO" "Creating tarball with compressed DB and GNU Health 
Attachment directory" | tee -a $INFOFILE
 
 tar -cvf "${BACKDIR}/gnuhealth_${DB}_with_fs_backup_${BACKDATE}.tar" \
 ${BACKDIR}/backup_${DB}_${BACKDATE}.gz 
${BACKDIR}/gnuhealth_${DB}_fs_backup_${BACKDATE}.tar.gz \




commit gnuhealth for openSUSE:Factory

2017-10-09 Thread root
Hello community,

here is the log from the commit of package gnuhealth for openSUSE:Factory 
checked in at 2017-10-09 19:46:46

Comparing /work/SRC/openSUSE:Factory/gnuhealth (Old)
 and  /work/SRC/openSUSE:Factory/.gnuhealth.new (New)


Package is "gnuhealth"

Mon Oct  9 19:46:46 2017 rev:17 rq:532606 version:3.2.5

Changes:

--- /work/SRC/openSUSE:Factory/gnuhealth/gnuhealth.changes  2017-10-06 
11:03:37.279792328 +0200
+++ /work/SRC/openSUSE:Factory/.gnuhealth.new/gnuhealth.changes 2017-10-09 
19:48:38.674467331 +0200
@@ -1,0 +2,6 @@
+Sun Oct  8 19:47:40 UTC 2017 - axel.br...@gmx.de
+
+- version 3.2.5
+  health, health_qrcodes : Fix bug #52179: Traceback due to obsolete unicode 
method in reports 
+
+---

Old:

  gnuhealth-3.2.4.tar.gz

New:

  gnuhealth-3.2.5.tar.gz



Other differences:
--
++ gnuhealth.spec ++
--- /var/tmp/diff_new_pack.oKLrtU/_old  2017-10-09 19:48:39.602426548 +0200
+++ /var/tmp/diff_new_pack.oKLrtU/_new  2017-10-09 19:48:39.606426372 +0200
@@ -24,7 +24,7 @@
 BuildRequires:  fdupes
 BuildRequires:  python3-setuptools
 
-Version:%{majorver}.4
+Version:%{majorver}.5
 Release:0
 
 Url:http://health.gnu.org

++ gnuhealth-3.2.4.tar.gz -> gnuhealth-3.2.5.tar.gz ++
/work/SRC/openSUSE:Factory/gnuhealth/gnuhealth-3.2.4.tar.gz 
/work/SRC/openSUSE:Factory/.gnuhealth.new/gnuhealth-3.2.5.tar.gz differ: char 
5, line 1




commit gnuhealth for openSUSE:Factory

2017-10-06 Thread root
Hello community,

here is the log from the commit of package gnuhealth for openSUSE:Factory 
checked in at 2017-10-06 11:03:36

Comparing /work/SRC/openSUSE:Factory/gnuhealth (Old)
 and  /work/SRC/openSUSE:Factory/.gnuhealth.new (New)


Package is "gnuhealth"

Fri Oct  6 11:03:36 2017 rev:16 rq:531462 version:3.2.4

Changes:

--- /work/SRC/openSUSE:Factory/gnuhealth/gnuhealth.changes  2017-09-17 
22:40:01.326369759 +0200
+++ /work/SRC/openSUSE:Factory/.gnuhealth.new/gnuhealth.changes 2017-10-06 
11:03:37.279792328 +0200
@@ -1,0 +2,13 @@
+Wed Oct  4 20:21:32 UTC 2017 - axel.br...@gmx.de
+
+- Version 3.2.4
+  health_services: Fix bug #52160: Issues related to invoice type and domain 
when creating the service invoice
+  health_disability : Rename anf fix  Amputation model description from 
Amputation to Prothesis
+  health : Prescription report . Include duration frequency selections strings 
for translation. Update conditional op. to Python3 (!=)
+
+---
+Wed Sep 27 14:59:40 UTC 2017 - axel.br...@gmx.de
+
+- gnuhealth-control corrected (message command)
+
+---

Old:

  gnuhealth-3.2.3.tar.gz

New:

  gnuhealth-3.2.4.tar.gz



Other differences:
--
++ gnuhealth.spec ++
--- /var/tmp/diff_new_pack.fjXnXy/_old  2017-10-06 11:03:38.227648982 +0200
+++ /var/tmp/diff_new_pack.fjXnXy/_new  2017-10-06 11:03:38.231648376 +0200
@@ -24,7 +24,7 @@
 BuildRequires:  fdupes
 BuildRequires:  python3-setuptools
 
-Version:%{majorver}.3
+Version:%{majorver}.4
 Release:0
 
 Url:http://health.gnu.org

++ gnuhealth-3.2.3.tar.gz -> gnuhealth-3.2.4.tar.gz ++
/work/SRC/openSUSE:Factory/gnuhealth/gnuhealth-3.2.3.tar.gz 
/work/SRC/openSUSE:Factory/.gnuhealth.new/gnuhealth-3.2.4.tar.gz differ: char 
5, line 1

++ gnuhealth-control ++
--- /var/tmp/diff_new_pack.fjXnXy/_old  2017-10-06 11:03:38.307636885 +0200
+++ /var/tmp/diff_new_pack.fjXnXy/_new  2017-10-06 11:03:38.311636279 +0200
@@ -24,7 +24,7 @@
 #
 ##
 
-VERSION="3.2.0-openSUSE"
+VERSION="3.2.1-openSUSE"
 
 TRYTON_URL="http://downloads.tryton.org;
 GNUHEALTH_URL="http://ftp.gnu.org/gnu/health;
@@ -180,7 +180,7 @@
 
 tar -cvf "${BACKDIR}/gnuhealth_${DB}_with_fs_backup_${BACKDATE}.tar.gz" 
/var/lib/tryton || bailout
 
-message "INFO" "Creating tarball with compressed DB and GNU Health home 
directory" | tee -a $INFOFILE
+cli_msg "INFO" "Creating tarball with compressed DB and GNU Health home 
directory" | tee -a $INFOFILE
 
 tar -cvf "${BACKDIR}/gnuhealth_${DB}_with_fs_backup_${BACKDATE}.tar" \
 ${BACKDIR}/backup_${DB}_${BACKDATE}.gz 
${BACKDIR}/gnuhealth_${DB}_fs_backup_${BACKDATE}.tar.gz \




commit gnuhealth for openSUSE:Factory

2017-09-17 Thread root
Hello community,

here is the log from the commit of package gnuhealth for openSUSE:Factory 
checked in at 2017-09-17 22:38:47

Comparing /work/SRC/openSUSE:Factory/gnuhealth (Old)
 and  /work/SRC/openSUSE:Factory/.gnuhealth.new (New)


Package is "gnuhealth"

Sun Sep 17 22:38:47 2017 rev:15 rq:526510 version:3.2.3

Changes:

--- /work/SRC/openSUSE:Factory/gnuhealth/gnuhealth.changes  2017-08-29 
11:48:04.250576270 +0200
+++ /work/SRC/openSUSE:Factory/.gnuhealth.new/gnuhealth.changes 2017-09-17 
22:40:01.326369759 +0200
@@ -1,0 +2,11 @@
+Sat Sep 16 16:18:04 UTC 2017 - axel.br...@gmx.de
+
+- version 3.2.3 Fix bug #52038: Field history is repeated in the tree
+  view of the prescription line 
+
+---
+Thu Sep 14 19:14:55 UTC 2017 - axel.br...@gmx.de
+
+- Documentation adapted
+
+---

Old:

  gnuhealth-3.2.2.tar.gz

New:

  gnuhealth-3.2.3.tar.gz



Other differences:
--
++ gnuhealth.spec ++
--- /var/tmp/diff_new_pack.Eyiy9d/_old  2017-09-17 22:40:02.566195439 +0200
+++ /var/tmp/diff_new_pack.Eyiy9d/_new  2017-09-17 22:40:02.602190378 +0200
@@ -24,7 +24,7 @@
 BuildRequires:  fdupes
 BuildRequires:  python3-setuptools
 
-Version:%{majorver}.2
+Version:%{majorver}.3
 Release:0
 
 Url:http://health.gnu.org

++ GNUHealth.README.SUSE ++
--- /var/tmp/diff_new_pack.Eyiy9d/_old  2017-09-17 22:40:02.750169573 +0200
+++ /var/tmp/diff_new_pack.Eyiy9d/_new  2017-09-17 22:40:02.754169011 +0200
@@ -7,13 +7,14 @@
 You have already installed the package gnuhealth and found this documentation. 
Good.
 
 1) Log in as root and start the database
-#su
-#systemctl start postgresql
+> su
+> systemctl start postgresql
 
 2) Change postgres parameters. You need to log in as user postgres, in order 
to avoid authorisation issues. Assuming we have nano as editor:
 
-#su postgres
-#nano /var/lib/pgsql/data/pg_hba.conf
+
+> su postgres
+> nano /var/lib/pgsql/data/pg_hba.conf
 
 FOR LOCAL CONNECTIONS (Database on the same machine) change the line
 local   all all md5
@@ -23,28 +24,24 @@
 Save your input. This will make sure that Tryton/GNUHealth server can connect 
to the database
 
 3) Create a role for 'tryton' in the database (sill as user postgres)
-#psql -c "CREATE USER tryton WITH CREATEDB;"
+> psql -c "CREATE USER tryton WITH CREATEDB;"
 
 4) exit as user postgres and restart postgres
-#exit
-#systemctl restart postgresql
-
-5) Now lets look at /etc/tryton/trytond.conf. Uncomment the line with 
super_pwd (it is recommended that you set your own password here!
-#nano /etc/tryton/trytond.conf
-uncomment super_pwd
+> exit
+> systemctl restart postgresql
 
-6) start gnuhealth/trytond:
-#systemctl start gnuhealth
+5) start gnuhealth/trytond:
+> systemctl start gnuhealth
 
-7) Install the tryton client:
-#zypper in tryton
+6) Install the tryton client:
+> zypper in tryton
 
-8) Open the tryton client:
-#tryton
+7) Open the tryton client:
+> tryton
 go to 'manage profiles' -> add -> name it 'localhost' -> Host: localhost
 -> you should now see a selection of available databases
 
-Note: Fron Tryton Release 4.2 onwards it is not possible anymore to create 
databases 
+Note: From Tryton Release 4.2 onwards it is not possible anymore to create 
databases 
 from the Frontend. You need to do this manually (see 
/usr/share/doc/packages/trytond/tryton-server.README.SUSE)
 
 DONE.
@@ -69,24 +66,24 @@
 
 As user tryton, run tryton-admin:
 
-# /usr/bin/trytond-admin -c /etc/tryton/trytond.conf --all -d mydb
+> /usr/bin/trytond-admin -c /etc/tryton/trytond.conf --all -d mydb
 
   * GNU_Health 3.0 on openSUSE delivered 2 modules, which are not (yet) in 3.2
 anymore: pdq and hl7. You need to delete them first
 
 Log in as database owner (usually tryton):
 
-# sudo su tryton -s /bin/bash
+> sudo su tryton -s /bin/bash
 
 Delete the 2 modules:
-# psql mydb
+> psql mydb
 delete from ir_module where name='pdq';
 delete from ir_module where name='hl7';
 
 Quit with CRTL-D
 Apply the database patch:
 
-# psql mydb < /usr/share/doc/packages/gnuhealth/upgrade/3.2/upgrade_32.sql
+> psql mydb < /usr/share/doc/packages/gnuhealth/upgrade/3.2/upgrade_32.sql
 
 Remember to replace mydb with the name of your database.
 
@@ -135,7 +132,7 @@
 
 Starting with GNU Health 3.2, GNU Health comes with its own WebDAV-Server that 
can be used for shared calendars. In order to enable the WebDAV server, it 
comes with a systemd-service. As input parameter for the service the 
database-name on which to operate 

commit gnuhealth for openSUSE:Factory

2017-08-29 Thread root
Hello community,

here is the log from the commit of package gnuhealth for openSUSE:Factory 
checked in at 2017-08-29 11:46:41

Comparing /work/SRC/openSUSE:Factory/gnuhealth (Old)
 and  /work/SRC/openSUSE:Factory/.gnuhealth.new (New)


Package is "gnuhealth"

Tue Aug 29 11:46:41 2017 rev:14 rq:519204 version:3.2.2

Changes:

--- /work/SRC/openSUSE:Factory/gnuhealth/gnuhealth.changes  2017-08-18 
15:04:00.289527804 +0200
+++ /work/SRC/openSUSE:Factory/.gnuhealth.new/gnuhealth.changes 2017-08-29 
11:48:04.250576270 +0200
@@ -1,0 +2,6 @@
+Mon Aug 28 19:29:06 UTC 2017 - axel.br...@gmx.de
+
+- version 3.2.2
+  health_imaging : Update health professional retrieval to the current 
standard method
+
+---

Old:

  gnuhealth-3.2.1.tar.gz

New:

  gnuhealth-3.2.2.tar.gz



Other differences:
--
++ gnuhealth.spec ++
--- /var/tmp/diff_new_pack.6LH6Lv/_old  2017-08-29 11:48:05.446407719 +0200
+++ /var/tmp/diff_new_pack.6LH6Lv/_new  2017-08-29 11:48:05.462405465 +0200
@@ -24,7 +24,7 @@
 BuildRequires:  fdupes
 BuildRequires:  python3-setuptools
 
-Version:%{majorver}.1
+Version:%{majorver}.2
 Release:0
 
 Url:http://health.gnu.org

++ _service ++
--- /var/tmp/diff_new_pack.6LH6Lv/_old  2017-08-29 11:48:05.570390244 +0200
+++ /var/tmp/diff_new_pack.6LH6Lv/_new  2017-08-29 11:48:05.570390244 +0200
@@ -1,4 +1,4 @@
 
   
-
+
 

++ gnuhealth-3.2.1.tar.gz -> gnuhealth-3.2.2.tar.gz ++
/work/SRC/openSUSE:Factory/gnuhealth/gnuhealth-3.2.1.tar.gz 
/work/SRC/openSUSE:Factory/.gnuhealth.new/gnuhealth-3.2.2.tar.gz differ: char 
5, line 1




commit gnuhealth for openSUSE:Factory

2017-08-18 Thread root
Hello community,

here is the log from the commit of package gnuhealth for openSUSE:Factory 
checked in at 2017-08-18 15:03:55

Comparing /work/SRC/openSUSE:Factory/gnuhealth (Old)
 and  /work/SRC/openSUSE:Factory/.gnuhealth.new (New)


Package is "gnuhealth"

Fri Aug 18 15:03:55 2017 rev:13 rq:517027 version:3.2.1

Changes:

--- /work/SRC/openSUSE:Factory/gnuhealth/gnuhealth.changes  2017-07-23 
12:16:21.755110039 +0200
+++ /work/SRC/openSUSE:Factory/.gnuhealth.new/gnuhealth.changes 2017-08-18 
15:04:00.289527804 +0200
@@ -1,0 +2,9 @@
+Tue Aug  8 18:51:23 UTC 2017 - axel.br...@gmx.de
+
+- added gnuhealth-webdav@.service
+- updated documentation on gnuhealth-webdav@.service
+- added alias cdutil for compatibility reasons (not really needed,
+  as binaries are in /usr/bin anyway)
+- fixed path for cdexe  
+
+---

New:

  gnuhealth-webdav@.service



Other differences:
--
++ gnuhealth.spec ++
--- /var/tmp/diff_new_pack.DlQGLg/_old  2017-08-18 15:04:01.929296853 +0200
+++ /var/tmp/diff_new_pack.DlQGLg/_new  2017-08-18 15:04:01.945294600 +0200
@@ -33,6 +33,7 @@
 Source1:GNUHealth.README.SUSE
 Source2:gnuhealth-control
 Source3:gnuhealth.service
+Source4:gnuhealth-webdav@.service
 
 BuildArch:  noarch
 
@@ -132,23 +133,27 @@
 
 mkdir -p $RPM_BUILD_ROOT%{_unitdir}
 install -p -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_unitdir}/%{name}.service
+install -p -m 644 %{SOURCE4} $RPM_BUILD_ROOT%{_unitdir}/%{name}-webdav@.service
 
 %fdupes -s %{buildroot}
 
 %pre
 #Write environment changes to /etc/bash.bashrc.local
 cat > /etc/bash.bashrc.local << "EOF"
-alias cdlogs='cd /var/log/trytond'
-alias cdexe='cd /usr/lib/python/site-packages/trytond'
+alias cdlogs='cd /var/log/tryton'
+alias cdexe='cd $(ls -d /usr/lib/python3.* )/site-packages/trytond'
 alias cdconf='cd /etc/tryton'
-alias cdmods='cd /usr/lib/python/site-packages/trytond/modules'
+alias cdmods='cd $(ls -d /usr/lib/python3.* )/site-packages/trytond/modules'
 alias editconf='${EDITOR} /etc/tryton/trytond.conf'
+alias cdutil='cd /usr/bin'
 EOF
 
 %service_add_pre gnuhealth.service
+%service_add_pre gnuhealth-webdav@.service
 
 %post
 %service_add_post gnuhealth.service
+%service_add_post gnuhealth-webdav@.service
 
 %preun
 %service_del_preun gnuhealth.service
@@ -160,6 +165,7 @@
 %defattr(744,root,root)
 %{_bindir}/gnuhealth-control
 %{_unitdir}/%{name}.service
+%{_unitdir}/%{name}-webdav@.service
 %defattr(-,root,root)
 %doc README Changelog COPYING gnuhealth-setup version gnuhealthrc 
GNUHealth.README.SUSE scripts/* backend/* config/* doc/*
 %{python_sitelib}/*

++ GNUHealth.README.SUSE ++
--- /var/tmp/diff_new_pack.DlQGLg/_old  2017-08-18 15:04:02.053279391 +0200
+++ /var/tmp/diff_new_pack.DlQGLg/_new  2017-08-18 15:04:02.057278828 +0200
@@ -130,6 +130,14 @@
 
 You may use the GNUHealth mailing list (hea...@gnu.org) for remarks or 
questions.
 
+gnuhealth-webdav@.service
+=
+
+Starting with GNU Health 3.2, GNU Health comes with its own WebDAV-Server that 
can be used for shared calendars. In order to enable the WebDAV server, it 
comes with a systemd-service. As input parameter for the service the 
database-name on which to operate must be passed. Say your database is called 
mydb, invoke the service with
+
+systemctl enable gnuhealth-webdav@mydb.service
+
+You can start multiple webdav services for different databases in parallel.
 
 Digital Signatures
 ==

++ gnuhealth-webdav@.service ++
[Unit]
Description=WebDAV Server for GNU Health on Database %I
After=syslog.target
Requires=gnuhealth.service

[Service]
Type=simple
User=tryton
Group=tryton
PIDFile=/var/lib/trytond/gnuhealth-webdav.pid

ExecStart=/usr/bin/trytond-webdav -c /etc/tryton/trytond.conf -d %I -v

# Give a reasonable amount of time for the server to start up/shut down
TimeoutSec=300

# We rely on systemd to restart WebDAV Server if it dies
Restart=always

[Install]
WantedBy=multi-user.target
++ gnuhealth.service ++
--- /var/tmp/diff_new_pack.DlQGLg/_old  2017-08-18 15:04:02.245252353 +0200
+++ /var/tmp/diff_new_pack.DlQGLg/_new  2017-08-18 15:04:02.257250663 +0200
@@ -2,6 +2,7 @@
 Description=GNU Health server
 After=syslog.target
 Requires=postgresql.service
+Conflicts=trytond.service
 
 [Service]
 Type=simple




commit gnuhealth for openSUSE:Factory

2017-07-23 Thread root
Hello community,

here is the log from the commit of package gnuhealth for openSUSE:Factory 
checked in at 2017-07-23 12:16:17

Comparing /work/SRC/openSUSE:Factory/gnuhealth (Old)
 and  /work/SRC/openSUSE:Factory/.gnuhealth.new (New)


Package is "gnuhealth"

Sun Jul 23 12:16:17 2017 rev:12 rq:512071 version:3.2.1

Changes:

--- /work/SRC/openSUSE:Factory/gnuhealth/gnuhealth.changes  2017-07-12 
19:35:15.542679318 +0200
+++ /work/SRC/openSUSE:Factory/.gnuhealth.new/gnuhealth.changes 2017-07-23 
12:16:21.755110039 +0200
@@ -1,0 +2,6 @@
+Sat Jul 22 16:13:36 UTC 2017 - axel.br...@gmx.de
+
+- version 3.2.1
+  Fix view error on lab order
+  
+---

Old:

  gnuhealth-3.2.0.tar.gz

New:

  gnuhealth-3.2.1.tar.gz



Other differences:
--
++ gnuhealth.spec ++
--- /var/tmp/diff_new_pack.XMOx8w/_old  2017-07-23 12:16:22.806961460 +0200
+++ /var/tmp/diff_new_pack.XMOx8w/_new  2017-07-23 12:16:22.806961460 +0200
@@ -24,7 +24,7 @@
 BuildRequires:  fdupes
 BuildRequires:  python3-setuptools
 
-Version:%{majorver}.0
+Version:%{majorver}.1
 Release:0
 
 Url:http://health.gnu.org

++ gnuhealth-3.2.0.tar.gz -> gnuhealth-3.2.1.tar.gz ++
/work/SRC/openSUSE:Factory/gnuhealth/gnuhealth-3.2.0.tar.gz 
/work/SRC/openSUSE:Factory/.gnuhealth.new/gnuhealth-3.2.1.tar.gz differ: char 
5, line 1




commit gnuhealth for openSUSE:Factory

2017-07-12 Thread root
Hello community,

here is the log from the commit of package gnuhealth for openSUSE:Factory 
checked in at 2017-07-12 19:35:14

Comparing /work/SRC/openSUSE:Factory/gnuhealth (Old)
 and  /work/SRC/openSUSE:Factory/.gnuhealth.new (New)


Package is "gnuhealth"

Wed Jul 12 19:35:14 2017 rev:11 rq:509554 version:3.2.0

Changes:

--- /work/SRC/openSUSE:Factory/gnuhealth/gnuhealth.changes  2017-07-05 
23:56:18.938174178 +0200
+++ /work/SRC/openSUSE:Factory/.gnuhealth.new/gnuhealth.changes 2017-07-12 
19:35:15.542679318 +0200
@@ -1,0 +2,5 @@
+Tue Jul 11 15:25:45 UTC 2017 - axel.br...@gmx.de
+
+- update of documentation for upgrade from Leap 42.2 
+
+---



Other differences:
--
++ GNUHealth.README.SUSE ++
--- /var/tmp/diff_new_pack.lM94G0/_old  2017-07-12 19:35:16.314570280 +0200
+++ /var/tmp/diff_new_pack.lM94G0/_new  2017-07-12 19:35:16.314570280 +0200
@@ -52,14 +52,27 @@
 Upgrade
 ---
 
+  * openSUSE supports online upgrade (zypper dup) between releases. In case you
+are updating your installation from openSUSE Leap 42.2 to 42.3, the 
following message will appear:
+
+Problem: gnuhealth-3.2.0-12.1.noarch requires python3-PyWebDAV3-GNUHealth, 
but this requirement cannot be provided
+uninstallable providers: 
python3-PyWebDAV3-GNUHealth-0.10.1-1.1.noarch[repo-oss]
+Solution 1: keep obsolete gnuhealth-3.0.8-11.6.1.noarch
+Solution 2: deinstallation of python-PyWebDAV-0.9.8-1.1.noarch
+Solution 3: break gnuhealth-3.2.0-12.1.noarch by ignoring some of its 
dependencies
+
+This message is somewhat misleading, as the new 
python3-PyWebDAV3-GNUHealth conflicts with python-PyWebDAV. 
+Go for Solution 2
+
   * In case you upgrade from a previous GNU Health make sure you apply the 
 upgrade procedures described in /usr/share/doc/packages/gnuhealth/upgrade.
 
-Run tryton-admin:
+As user tryton, run tryton-admin:
 
 # /usr/bin/trytond-admin -c /etc/tryton/trytond.conf --all -d mydb
 
-GNU_Health 3.0 on openSUSE delivered 2 modules, which are not (yet) in 3.2 
anymore: pdq and hl7. You need to delete them first
+  * GNU_Health 3.0 on openSUSE delivered 2 modules, which are not (yet) in 3.2
+anymore: pdq and hl7. You need to delete them first
 
 Log in as database owner (usually tryton):
 




commit gnuhealth for openSUSE:Factory

2017-07-05 Thread root
Hello community,

here is the log from the commit of package gnuhealth for openSUSE:Factory 
checked in at 2017-07-05 23:56:18

Comparing /work/SRC/openSUSE:Factory/gnuhealth (Old)
 and  /work/SRC/openSUSE:Factory/.gnuhealth.new (New)


Package is "gnuhealth"

Wed Jul  5 23:56:18 2017 rev:10 rq:507739 version:3.2.0

Changes:

--- /work/SRC/openSUSE:Factory/gnuhealth/gnuhealth.changes  2017-03-28 
15:24:22.779233369 +0200
+++ /work/SRC/openSUSE:Factory/.gnuhealth.new/gnuhealth.changes 2017-07-05 
23:56:18.938174178 +0200
@@ -1,0 +2,15 @@
+Sun Jul  2 16:19:59 UTC 2017 - axel.br...@gmx.de
+
+- Version 3.2.0
+
+---
+Sat Jun 24 10:56:45 UTC 2017 - axel.br...@gmx.de
+
+- Requirement on python3-PyWebDAV3-GNUHealth added
+
+---
+Tue Jun 20 15:26:18 UTC 2017 - axel.br...@gmx.de
+
+- GNU Health version 3.1.0b3
+
+---

Old:

  gnuhealth-3.0.8.tar.gz

New:

  gnuhealth-3.2.0.tar.gz
  gnuhealth.service



Other differences:
--
++ gnuhealth.spec ++
--- /var/tmp/diff_new_pack.Ifh9Ga/_old  2017-07-05 23:56:19.898038966 +0200
+++ /var/tmp/diff_new_pack.Ifh9Ga/_new  2017-07-05 23:56:19.902038403 +0200
@@ -2,7 +2,7 @@
 # spec file for package gnuhealth
 #
 # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
-# Copyright (c) 2014-2016 Dr. Axel Braun
+# Copyright (c) 2014-2017 Dr. Axel Braun
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,20 +17,22 @@
 #
 
 
-%definemajorver 3.0
-
+%definemajorver 3.2
 Name:   gnuhealth
 
 # List of additional build dependencies
-BuildRequires:  python-setuptools
+BuildRequires:  fdupes
+BuildRequires:  python3-setuptools
 
-Version:%{majorver}.8
+Version:%{majorver}.0
 Release:0
 
 Url:http://health.gnu.org
 Source: http://ftp.gnu.org/gnu/health/%{name}-%{version}.tar.gz
+#Source: %{name}-%{version}.tar.gz
 Source1:GNUHealth.README.SUSE
 Source2:gnuhealth-control
+Source3:gnuhealth.service
 
 BuildArch:  noarch
 
@@ -39,17 +41,18 @@
 Group:  Productivity/Office/Management
 
 Requires:   proteus
-Requires:   python-PyWebDAV
-Requires:   python-caldav
-Requires:   python-cracklib
-Requires:   python-hl7apy
-Requires:   python-imaging
-Requires:   python-ldap
-Requires:   python-polib
-Requires:   python-qrcode
-Requires:   python-simpleeval
-Requires:   python-six
-Requires:   python-vobject
+Requires:   python3-PyWebDAV3-GNUHealth
+Requires:   python3-caldav
+Requires:   python3-cracklib
+Requires:   python3-hl7apy
+Requires:   python3-ldap3
+Requires:   python3-polib
+Requires:   python3-pyBarcode
+Requires:   python3-pymongo
+Requires:   python3-qrcode
+Requires:   python3-simpleeval
+Requires:   python3-six
+Requires:   python3-vobject
 Requires:   trytond
 Requires:   trytond_account
 Requires:   trytond_account_invoice
@@ -62,6 +65,7 @@
 Requires:   trytond_party
 Requires:   trytond_product
 Requires:   trytond_purchase
+Requires:   trytond_purchase_request
 Requires:   trytond_stock
 Requires:   trytond_stock_lot
 Requires:   trytond_stock_supply
@@ -89,41 +93,49 @@
 cp %{S:2} .
 
 %build
+#export LANG=en_US.UTF-8
+#export LC_CTYPE=en_US.UTF-8
+#export RC_LANG=en_US.UTF-8
 for i in h*; do
   cd $i
-  python setup.py build
+  python3 setup.py build
   cd ..
 done
-
 #pdq
 #  cd pdq
-#  python setup.py build
+#  python3 setup.py build
 #  cd ..
+for i in try*; do
+  cd $i
+  python3 setup.py build
+  cd ..
+done
 
 %install
 for i in h*; do
   cd $i
-  python setup.py install --prefix=%_prefix --root=%buildroot 
+  python3 setup.py install --prefix=%_prefix --root=%buildroot 
   cd ..
 done
 #pdq
 #  cd pdq
-#  python setup.py install --prefix=%_prefix --root=%buildroot 
+#  python3 setup.py install --prefix=%_prefix --root=%buildroot 
 #  cd ..
+for i in try*; do
+  cd $i
+python3 setup.py install --prefix=%_prefix --root=%buildroot 
+  cd ..
+done
 
 mkdir -p -m 755 %{buildroot}%{_bindir}
 install -p -m 755 gnuhealth-control %{buildroot}%{_bindir}/gnuhealth-control
 
-# create user
-%pre
-#getent group tryton > /dev/null || /usr/sbin/groupadd -r tryton
-#getent passwd gnuhealth > /dev/null || /usr/sbin/useradd -r -g tryton \
-# -d %{_localstatedir}/lib/%{name} -c 'GNU Health' gnuhealth
-# Dont create as system user
-#getent passwd gnuhealth > /dev/null || 

commit gnuhealth for openSUSE:Factory

2017-03-28 Thread root
Hello community,

here is the log from the commit of package gnuhealth for openSUSE:Factory 
checked in at 2017-03-28 15:22:49

Comparing /work/SRC/openSUSE:Factory/gnuhealth (Old)
 and  /work/SRC/openSUSE:Factory/.gnuhealth.new (New)


Package is "gnuhealth"

Tue Mar 28 15:22:49 2017 rev:9 rq:482754 version:3.0.8

Changes:

--- /work/SRC/openSUSE:Factory/gnuhealth/gnuhealth.changes  2017-03-16 
09:51:33.485595928 +0100
+++ /work/SRC/openSUSE:Factory/.gnuhealth.new/gnuhealth.changes 2017-03-28 
15:24:22.779233369 +0200
@@ -1,0 +2,6 @@
+Sun Mar 26 16:29:15 UTC 2017 - axel.br...@gmx.de
+
+- release 3.0.8
+  [bug #50635] Missing declaration of view directory on setup.py on 
health_disability module
+
+---

Old:

  gnuhealth-3.0.7.tar.gz

New:

  gnuhealth-3.0.8.tar.gz



Other differences:
--
++ gnuhealth.spec ++
--- /var/tmp/diff_new_pack.pWHhmf/_old  2017-03-28 15:24:23.863079875 +0200
+++ /var/tmp/diff_new_pack.pWHhmf/_new  2017-03-28 15:24:23.863079875 +0200
@@ -24,7 +24,7 @@
 # List of additional build dependencies
 BuildRequires:  python-setuptools
 
-Version:%{majorver}.7
+Version:%{majorver}.8
 Release:0
 
 Url:http://health.gnu.org

++ gnuhealth-3.0.7.tar.gz -> gnuhealth-3.0.8.tar.gz ++
/work/SRC/openSUSE:Factory/gnuhealth/gnuhealth-3.0.7.tar.gz 
/work/SRC/openSUSE:Factory/.gnuhealth.new/gnuhealth-3.0.8.tar.gz differ: char 
5, line 1




commit gnuhealth for openSUSE:Factory

2017-03-16 Thread root
Hello community,

here is the log from the commit of package gnuhealth for openSUSE:Factory 
checked in at 2017-03-16 09:42:32

Comparing /work/SRC/openSUSE:Factory/gnuhealth (Old)
 and  /work/SRC/openSUSE:Factory/.gnuhealth.new (New)


Package is "gnuhealth"

Thu Mar 16 09:42:32 2017 rev:8 rq:479386 version:3.0.7

Changes:

--- /work/SRC/openSUSE:Factory/gnuhealth/gnuhealth.changes  2017-03-02 
19:36:56.482982868 +0100
+++ /work/SRC/openSUSE:Factory/.gnuhealth.new/gnuhealth.changes 2017-03-16 
09:51:33.485595928 +0100
@@ -1,0 +2,5 @@
+Tue Mar 14 21:10:27 UTC 2017 - axel.br...@gmx.de
+
+- Release 3.0.7 (bnc1026365)
+
+---

Old:

  gnuhealth-3.0.6.tar.gz

New:

  gnuhealth-3.0.7.tar.gz



Other differences:
--
++ gnuhealth.spec ++
--- /var/tmp/diff_new_pack.FGOUTW/_old  2017-03-16 09:51:34.141503039 +0100
+++ /var/tmp/diff_new_pack.FGOUTW/_new  2017-03-16 09:51:34.141503039 +0100
@@ -24,7 +24,7 @@
 # List of additional build dependencies
 BuildRequires:  python-setuptools
 
-Version:%{majorver}.6
+Version:%{majorver}.7
 Release:0
 
 Url:http://health.gnu.org
@@ -34,9 +34,6 @@
 
 BuildArch:  noarch
 
-Requires(pre): /usr/sbin/groupadd
-Requires(pre): /usr/sbin/useradd
-
 Summary:A Health and Hospital Information System
 License:GPL-3.0+
 Group:  Productivity/Office/Management

++ gnuhealth-3.0.6.tar.gz -> gnuhealth-3.0.7.tar.gz ++
/work/SRC/openSUSE:Factory/gnuhealth/gnuhealth-3.0.6.tar.gz 
/work/SRC/openSUSE:Factory/.gnuhealth.new/gnuhealth-3.0.7.tar.gz differ: char 
5, line 1




commit gnuhealth for openSUSE:Factory

2017-03-02 Thread root
Hello community,

here is the log from the commit of package gnuhealth for openSUSE:Factory 
checked in at 2017-03-02 19:36:56

Comparing /work/SRC/openSUSE:Factory/gnuhealth (Old)
 and  /work/SRC/openSUSE:Factory/.gnuhealth.new (New)


Package is "gnuhealth"

Thu Mar  2 19:36:56 2017 rev:7 rq:460613 version:3.0.6

Changes:

--- /work/SRC/openSUSE:Factory/gnuhealth/gnuhealth.changes  2017-02-16 
17:07:28.011337147 +0100
+++ /work/SRC/openSUSE:Factory/.gnuhealth.new/gnuhealth.changes 2017-03-02 
19:36:56.482982868 +0100
@@ -1,0 +2,12 @@
+Sat Feb 25 17:51:41 UTC 2017 - axel.br...@gmx.de
+
+- added DB-role to gnuhealh-control
+  updated documentation
+
+---
+Mon Feb 20 10:28:42 UTC 2017 - axel.br...@gmx.de
+
+- renamed gnuhealth_control to gnuhealth-control
+  fixed documentation
+
+---

Old:

  gnuhealth_control

New:

  gnuhealth-control



Other differences:
--
++ gnuhealth.spec ++
--- /var/tmp/diff_new_pack.XDbgt0/_old  2017-03-02 19:36:57.302866847 +0100
+++ /var/tmp/diff_new_pack.XDbgt0/_new  2017-03-02 19:36:57.306866281 +0100
@@ -30,7 +30,7 @@
 Url:http://health.gnu.org
 Source: http://ftp.gnu.org/gnu/health/%{name}-%{version}.tar.gz
 Source1:GNUHealth.README.SUSE
-Source2:gnuhealth_control
+Source2:gnuhealth-control
 
 BuildArch:  noarch
 

++ GNUHealth.README.SUSE ++
--- /var/tmp/diff_new_pack.XDbgt0/_old  2017-03-02 19:36:57.350860055 +0100
+++ /var/tmp/diff_new_pack.XDbgt0/_new  2017-03-02 19:36:57.350860055 +0100
@@ -78,7 +78,7 @@
 - you can use the openSUSE package manager (zypper or YaST) to install 
upgrades. 
 - all Tryton and GNUHealth modules are installed in the python directory 
/usr/lib/python/site-packages/trytond
 
-Nevertheless, you can use gnuhealth-control to create database backups, 
install languages and updates. Make sure the version of gnuhealth_control ends 
on -openSUSE
+Nevertheless, you can use gnuhealth-control to create database backups, 
install languages and updates. Make sure the version of gnuhealth-control ends 
on -openSUSE. gnuhealth-control should run as root, if in doubt.
 
 In case you want to install additional Tryton modules, you need to include the 
Tryton repository:
 zypper ar -f 
http://download.opensuse.org/repositories/Application:/ERP:/Tryton:/3.8/openSUSE_Leap_42.2
 tryton

++ gnuhealth-control ++
#!/bin/bash

# gnuhealth-control
# The GNU Health control center 

##
#
#GNU Health: The Free Health and Hospital Information System
#Copyright (C) 2008-2015 Luis Falcon 
#Adaption to openSUSE Axel Braun 
#
#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 3 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 should have received a copy of the GNU General Public License
#along with this program.  If not, see .
#
##

VERSION="3.0.2.1-openSUSE"

TRYTON_URL="http://downloads.tryton.org;
GNUHEALTH_URL="http://ftp.gnu.org/gnu/health;
TRANSLATE_URL="http://translate.gnusolidario.org;
GNUHEALTH_DIR="/usr/lib/python/site-packages/trytond/modules"

UPDATE_DOWNLOAD_DIR="/tmp/gnuhealth_update"

usage()
{
cat << EOF

This is GNU Health control center ${VERSION}

usage: `basename $0` command [options]

Command:
 
  version : Show version
  backup  : Backup the gnuhealth kernel, attach dir and database
  update  : Download and install the patches
  getlang : Get and install / update the language pack code
  status  : Show environment and GNU Health Tryton server status

Options:

 --backdir  : destination directory for the backup file
 --dry-run  : Check, download and preview, but don't actually update process
 --database : database name to use with the backup command 

EOF
exit 0
}

help()
{
cat << EOF
The GNU Health Control Center (gnuhealth-control) is the main tool for 
administrative tasks of the GNU Health environment.

It can perform backups and updates of the instance

Updates
---

Use the system tools to update GNU Health:

commit gnuhealth for openSUSE:Factory

2017-02-16 Thread root
Hello community,

here is the log from the commit of package gnuhealth for openSUSE:Factory 
checked in at 2017-02-16 17:07:26

Comparing /work/SRC/openSUSE:Factory/gnuhealth (Old)
 and  /work/SRC/openSUSE:Factory/.gnuhealth.new (New)


Package is "gnuhealth"

Changes:

--- /work/SRC/openSUSE:Factory/gnuhealth/gnuhealth.changes  2016-12-13 
19:34:32.636742996 +0100
+++ /work/SRC/openSUSE:Factory/.gnuhealth.new/gnuhealth.changes 2017-02-16 
17:07:28.011337147 +0100
@@ -1,0 +2,11 @@
+Tue Feb 14 06:09:10 UTC 2017 - axel.br...@gmx.de
+
+- version 3.06
+  * Fix bug #50269: Traceback when assigning a new meal order
+  * Fix bug #50281: Traceback when displaying patient critical info
+in non-english languages
+  * fix bug #50288: Wrong widget for mealtime field. // Fix
+validation for meal order warning
+  * Remove readonly from patient meal order warning, to correctly
+save state of the field
+---

Old:

  gnuhealth-3.0.5.tar.gz

New:

  gnuhealth-3.0.6.tar.gz



Other differences:
--
++ gnuhealth.spec ++
--- /var/tmp/diff_new_pack.5voDDm/_old  2017-02-16 17:07:28.919208686 +0100
+++ /var/tmp/diff_new_pack.5voDDm/_new  2017-02-16 17:07:28.923208120 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gnuhealth
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2014-2016 Dr. Axel Braun
 #
 # All modifications and additions to the file contributed by third parties
@@ -24,7 +24,7 @@
 # List of additional build dependencies
 BuildRequires:  python-setuptools
 
-Version:%{majorver}.5
+Version:%{majorver}.6
 Release:0
 
 Url:http://health.gnu.org
@@ -99,9 +99,9 @@
 done
 
 #pdq
-  cd pdq
-  python setup.py build
-  cd ..
+#  cd pdq
+#  python setup.py build
+#  cd ..
 
 %install
 for i in h*; do
@@ -110,9 +110,9 @@
   cd ..
 done
 #pdq
-  cd pdq
-  python setup.py install --prefix=%_prefix --root=%buildroot 
-  cd ..
+#  cd pdq
+#  python setup.py install --prefix=%_prefix --root=%buildroot 
+#  cd ..
 
 mkdir -p -m 755 %{buildroot}%{_bindir}
 install -p -m 755 gnuhealth-control %{buildroot}%{_bindir}/gnuhealth-control

++ gnuhealth-3.0.5.tar.gz -> gnuhealth-3.0.6.tar.gz ++
/work/SRC/openSUSE:Factory/gnuhealth/gnuhealth-3.0.5.tar.gz 
/work/SRC/openSUSE:Factory/.gnuhealth.new/gnuhealth-3.0.6.tar.gz differ: char 
5, line 1




commit gnuhealth for openSUSE:Factory

2016-10-23 Thread h_root
Hello community,

here is the log from the commit of package gnuhealth for openSUSE:Factory 
checked in at 2016-10-23 12:53:22

Comparing /work/SRC/openSUSE:Factory/gnuhealth (Old)
 and  /work/SRC/openSUSE:Factory/.gnuhealth.new (New)


Package is "gnuhealth"

Changes:

--- /work/SRC/openSUSE:Factory/gnuhealth/gnuhealth.changes  2016-10-20 
23:10:09.0 +0200
+++ /work/SRC/openSUSE:Factory/.gnuhealth.new/gnuhealth.changes 2016-10-23 
12:53:28.0 +0200
@@ -1,0 +2,10 @@
+Sat Oct 22 18:00:22 UTC 2016 - axel.br...@gmx.de
+
+- temporary fix for prescription_orders report until 3.0.5 is released
+
+---
+Sat Oct 22 09:34:44 UTC 2016 - axel.br...@gmx.de
+
+- Release 3.0.4
+
+---

Old:

  gnuhealth-3.0.3.tar.gz

New:

  gnuhealth-3.0.4.tar.gz
  prescription_orders.odt



Other differences:
--
++ gnuhealth.spec ++
--- /var/tmp/diff_new_pack.hqlAxB/_old  2016-10-23 12:53:29.0 +0200
+++ /var/tmp/diff_new_pack.hqlAxB/_new  2016-10-23 12:53:29.0 +0200
@@ -24,13 +24,15 @@
 # List of additional build dependencies
 BuildRequires:  python-setuptools
 
-Version:%{majorver}.3
+Version:%{majorver}.4
 Release:0
 
 Url:http://health.gnu.org
 Source: http://ftp.gnu.org/gnu/health/%{name}-%{version}.tar.gz
 Source1:GNUHealth.README.SUSE
 Source2:gnuhealth_control
+# temporary, until patchset 3.0.5 is released
+Source3:prescription_orders.odt
 
 BuildArch:  noarch
 
@@ -90,6 +92,7 @@
 #%patch0 -p1
 cp %{S:1} .
 cp %{S:2} .
+cp %{S:3} health/report/.
 
 %build
 for i in h*; do

++ GNUHealth.README.SUSE ++
--- /var/tmp/diff_new_pack.hqlAxB/_old  2016-10-23 12:53:29.0 +0200
+++ /var/tmp/diff_new_pack.hqlAxB/_new  2016-10-23 12:53:29.0 +0200
@@ -5,6 +5,7 @@
 
 
 You have already installed the package gnuhealth and found this documentation. 
Good.
+
 1) Log in as root and start the database
 #su
 #systemctl start postgresql
@@ -33,7 +34,10 @@
 6) start gnuhealth/trytond:
 #systemctl start trytond
 
-7) Open the tryton client:
+7) Install the tryton client:
+#zypper in tryton
+
+8) Open the tryton client:
 #tryton
 go to 'manage profiles' -> add -> name it 'localhost' -> Host: localhost
 -> you should now see a button to create a database

++ gnuhealth-3.0.3.tar.gz -> gnuhealth-3.0.4.tar.gz ++
/work/SRC/openSUSE:Factory/gnuhealth/gnuhealth-3.0.3.tar.gz 
/work/SRC/openSUSE:Factory/.gnuhealth.new/gnuhealth-3.0.4.tar.gz differ: char 
5, line 1




commit gnuhealth for openSUSE:Factory

2016-10-20 Thread h_root
Hello community,

here is the log from the commit of package gnuhealth for openSUSE:Factory 
checked in at 2016-10-20 23:09:39

Comparing /work/SRC/openSUSE:Factory/gnuhealth (Old)
 and  /work/SRC/openSUSE:Factory/.gnuhealth.new (New)


Package is "gnuhealth"

Changes:

--- /work/SRC/openSUSE:Factory/gnuhealth/gnuhealth.changes  2016-10-02 
00:09:54.0 +0200
+++ /work/SRC/openSUSE:Factory/.gnuhealth.new/gnuhealth.changes 2016-10-20 
23:10:09.0 +0200
@@ -1,0 +2,5 @@
+Tue Oct 18 18:59:15 UTC 2016 - axel.br...@gmx.de
+
+- README updated
+
+---



Other differences:
--
++ gnuhealth.spec ++
--- /var/tmp/diff_new_pack.8PVusb/_old  2016-10-20 23:10:10.0 +0200
+++ /var/tmp/diff_new_pack.8PVusb/_new  2016-10-20 23:10:10.0 +0200
@@ -71,6 +71,8 @@
 
 # additional suggestion for a useable editor
 Suggests:   nano
+# you may need a frontend to work with
+Suggests:   tryton
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -79,6 +81,9 @@
 Nations University, International Institute for Global Health, for
 the implementations and trainings.
 
+This is the server component of GNU Health. 
+You would need the Tryton frontend as well, on the same or a different machine
+
 
 %prep
 %setup -q -n %{name}-%{version}

++ GNUHealth.README.SUSE ++
--- /var/tmp/diff_new_pack.8PVusb/_old  2016-10-20 23:10:10.0 +0200
+++ /var/tmp/diff_new_pack.8PVusb/_new  2016-10-20 23:10:10.0 +0200
@@ -1,6 +1,50 @@
 GNUHealth for openSUSE
 ==
 
+How to get it running (Without reading the instructions)
+
+
+You have already installed the package gnuhealth and found this documentation. 
Good.
+1) Log in as root and start the database
+#su
+#systemctl start postgresql
+
+2) Change postgres parameters. You need to log in as user postgres, in order 
to avoid authorisation issues. Assuming we have nano as editor:
+
+#su postgres
+#nano /var/lib/pgsql/data/pg_hba.conf
+Change the line
+local   all all md5
+to
+local   all all trust
+Save your input.
+
+3) Create a role for 'tryton' in the database (sill as user postgres)
+#psql -c "CREATE USER tryton WITH CREATEDB;"
+
+4) exit as user postgres and restart postgres
+#exit
+#systemctl restart postgresql
+
+5) Now lets look at /etc/tryton/trytond.conf. Uncomment the line with 
super_pwd (it is recommended that you set your own password here!
+#nano /etc/tryton/trytond.conf
+uncomment super_pwd
+
+6) start gnuhealth/trytond:
+#systemctl start trytond
+
+7) Open the tryton client:
+#tryton
+go to 'manage profiles' -> add -> name it 'localhost' -> Host: localhost
+-> you should now see a button to create a database
+
+DONE.
+Check /usr/share/doc/packages/trytond/tryton-server.README.SUSE for more 
Information
+
+
+GNUHealth for openSUSE (a bit more in detail)
+=
+
 GNUHealth is a free Health and Hospital Information system build on top of 
Tryton, an OpenSource ERP framework. 
 
 This is the openSUSE package for GNUHealth. Starting with openSUSE Leap 42.2, 
it is shipped with the standard distribution. It was build to simplify the 
installation and maintenance of a system, to make it useable for 'end-users' as 
well. 




commit gnuhealth for openSUSE:Factory

2016-10-01 Thread h_root
Hello community,

here is the log from the commit of package gnuhealth for openSUSE:Factory 
checked in at 2016-10-02 00:09:49

Comparing /work/SRC/openSUSE:Factory/gnuhealth (Old)
 and  /work/SRC/openSUSE:Factory/.gnuhealth.new (New)


Package is "gnuhealth"

Changes:

--- /work/SRC/openSUSE:Factory/gnuhealth/gnuhealth.changes  2016-09-23 
11:30:39.0 +0200
+++ /work/SRC/openSUSE:Factory/.gnuhealth.new/gnuhealth.changes 2016-10-02 
00:09:54.0 +0200
@@ -1,0 +2,5 @@
+Wed Sep 28 18:35:02 UTC 2016 - axel.br...@gmx.de
+
+- update of README.SUSE 
+
+---



Other differences:
--
++ gnuhealth.spec ++
--- /var/tmp/diff_new_pack.QmuGcJ/_old  2016-10-02 00:09:56.0 +0200
+++ /var/tmp/diff_new_pack.QmuGcJ/_new  2016-10-02 00:09:56.0 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package GNU Health
+# spec file for package gnuhealth
 #
-# Copyright (c) 2014 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2014-2016 Dr. Axel Braun
 #
 # All modifications and additions to the file contributed by third parties
@@ -14,6 +14,8 @@
 # published by the Open Source Initiative.
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
+
 
 %definemajorver 3.0
 
@@ -23,8 +25,7 @@
 BuildRequires:  python-setuptools
 
 Version:%{majorver}.3
-Release:1
-License:GPL-3.0+
+Release:0
 
 Url:   http://health.gnu.org
 Source:http://ftp.gnu.org/gnu/health/%{name}-%{version}.tar.gz
@@ -36,23 +37,23 @@
 Requires(pre): /usr/sbin/groupadd
 Requires(pre): /usr/sbin/useradd
 
-Group:  Productivity/Office/Management
-
 Summary:A Health and Hospital Information System
+License:GPL-3.0+
+Group:  Productivity/Office/Management
 
-Requires:  trytond 
-Requires:  python-ldap
-Requires:  python-cracklib
-Requires:  python-vobject
 Requires:  proteus
-Requires:  python-simpleeval
-Requires:  python-hl7apy
 Requires:  python-PyWebDAV
-Requires:  python-qrcode
-Requires:  python-six
-Requires:  python-imaging
 Requires:  python-caldav
+Requires:   python-cracklib
+Requires:   python-hl7apy
+Requires:   python-imaging
+Requires:   python-ldap
 Requires:  python-polib
+Requires:   python-qrcode
+Requires:   python-simpleeval
+Requires:   python-six
+Requires:   python-vobject
+Requires:   trytond
 Requires:  trytond_account
 Requires:  trytond_account_invoice
 Requires:  trytond_account_invoice_stock

++ GNUHealth.README.SUSE ++
--- /var/tmp/diff_new_pack.QmuGcJ/_old  2016-10-02 00:09:56.0 +0200
+++ /var/tmp/diff_new_pack.QmuGcJ/_new  2016-10-02 00:09:56.0 +0200
@@ -1,24 +1,26 @@
 GNUHealth for openSUSE
 ==
 
-GNUHealth is a free Health and Hospital Information system build on top of 
Tryton, an OpenSource ERP framework.
+GNUHealth is a free Health and Hospital Information system build on top of 
Tryton, an OpenSource ERP framework. 
 
-This is the openSUSE package for GNUHealth. It was build to simplify the 
installation and maintenance of a system, to make it useable for 'end-users' as 
well.
+This is the openSUSE package for GNUHealth. Starting with openSUSE Leap 42.2, 
it is shipped with the standard distribution. It was build to simplify the 
installation and maintenance of a system, to make it useable for 'end-users' as 
well. 
 
 To achieve this goal, the openSUSE package handles some things different than 
the GNUHealth standard:
 
 1) No installation from source code
-GNUHealth has an installation script (gnuhealth_install.sh)that installs the 
Software from the source code.
+GNUHealth has an installation script (gnuhealth_install.sh) that installs the 
Software from the source code.
 It has shown that this can cause a lot of trouble with dependencies (other 
software packages that are required to run GNUHealth and the Tryton Server), as 
they may be named slightly different in your Linux-distribution, or are just 
not listed.
 
 To avoid hassle for each and every end user, openSUSE uses the Open Build 
Service [1] to create a package where all dependencies are resolved for you.
 
 As a consequence, you install the package 'gnuhealth' with the openSUSE 
package manager, and the system does the rest for you. See [2] for installation 
advise.
 
+In GNU Health installation from source, the program gnuhealth_control is used 
to perform updates, maintenance