commit 4c3385650ab3be3b1b19632e4151eb43cf478920b984ba457d9ec31461555876 Author: Axel Braun Date: Fri Dec 28 14:13:42 2018 +0000 osc copypac from project:Application:ERP:GNUHealth:3.4 package:gnuhealth-thalamus revision:11 OBS-URL: https://build.opensuse.org/package/show/Application:ERP:GNUHealth:Factory/gnuhealth-thalamus?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/gnuhealth-thalamus.changes b/gnuhealth-thalamus.changes new file mode 100644 index 0000000..580ebb9 --- /dev/null +++ b/gnuhealth-thalamus.changes @@ -0,0 +1,22 @@ +------------------------------------------------------------------- +Mon Dec 17 12:04:49 UTC 2018 - Axel Braun + +- version 0.9.5 + templates and static added to the tarball + +------------------------------------------------------------------- +Fri Dec 7 18:14:38 UTC 2018 - Axel Braun + +- version 0.9.4 + various bugfixes and functional improvements + +------------------------------------------------------------------- +Thu Aug 9 16:59:58 UTC 2018 - axel.braun@gmx.de + +- Version 0.0.9 + +------------------------------------------------------------------- +Sat Nov 25 14:23:03 UTC 2017 - axel.braun@gmx.de + +- Version 0.0.6 + initial build on OBS diff --git a/gnuhealth-thalamus.spec b/gnuhealth-thalamus.spec new file mode 100644 index 0000000..2e6201d --- /dev/null +++ b/gnuhealth-thalamus.spec @@ -0,0 +1,82 @@ +# +# spec file for package gnuhealth-thalamus +# +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017-218 Dr. Axel Braun +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# 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/ + +%bcond_without test + +%define modname thalamus +Name: gnuhealth-%{modname} +Version: 0.9.5 +Release: 0 +License: GPL-3 +Summary: The GNU Health Federation Message and Authentication Server +Url: http://health.gnu.org +Group: Development/Languages/Python +Source: https://files.pythonhosted.org/packages/source/t/%{modname}/%{modname}-%{version}.tar.gz +BuildRequires: python-rpm-macros +BuildRequires: python3-devel +BuildRequires: python3-setuptools +%if %{with test} +BuildRequires: python3-bcrypt +BuildRequires: python3-Flask +BuildRequires: python3-Flask-HTTPAuth +BuildRequires: python3-Flask-PyMongo +BuildRequires: python3-Flask-RESTful +%endif +BuildRequires: fdupes +Requires: python3-bcrypt +Requires: python3-Flask +Requires: python3-Flask-HTTPAuth +Requires: python3-Flask-PyMongo +Requires: python3-Flask-RESTful +BuildArch: noarch + +%description +Thalamus: The GNU Health Federation Message and Authentication Server +===================================================================== + +The Thalamus project provides a RESTful API hub to all the GNU Health +Federation nodes. The main functions are: + +#. **Message server**: A concentrator and message relay from and to + the participating nodes in the GNU Health Federation and the GNU Health + Information System (MongoDB). Some of the participating nodes include + the GNU Health HMIS, MyGNUHealth mobile PHR application, + laboratories, research institutions and civil offices. + +#. **Authentication Server**: Thalamus also serves as an authentication and + authorization server to interact with the GNUHealth Information System + + +Thalamus is part of the GNU Health project, but it is a self contained, +independent server that can be used in different health related scenarios. + +%prep +%setup -q -n %{modname}-%{version} + +%build +python3 setup.py build + +%install +python3 setup.py install --prefix="%{_prefix}" --root=%{buildroot} +%fdupes %{buildroot}%{$python_sitelib} + +%files +%defattr(-,root,root) +%doc LICENSE README.rst +%{python3_sitelib}/* + +%changelog diff --git a/gnuhealth-thalamus.spec.singlespec b/gnuhealth-thalamus.spec.singlespec new file mode 100644 index 0000000..0f03e2c --- /dev/null +++ b/gnuhealth-thalamus.spec.singlespec @@ -0,0 +1,87 @@ +# +# spec file for package gnuhealth-thalamus +# +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 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 +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# 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/ + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without test + +%define modname thalamus +Name: gnuhealth-%{modname} +Version: 0.0.6 +Release: 0 +License: GPL-3 +Summary: The GNU Health Federation Message and Authentication Server +Url: http://health.gnu.org +Group: Development/Languages/Python +Source: https://files.pythonhosted.org/packages/source/t/%{modname}/%{modname}-%{version}.tar.gz +BuildRequires: python-rpm-macros +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +%if %{with test} +BuildRequires: %{python_module bcrypt} +BuildRequires: %{python_module Flask} +BuildRequires: %{python_module Flask-HTTPAuth} +BuildRequires: %{python_module Flask-PyMongo} +BuildRequires: %{python_module Flask-RESTful} +%endif +BuildRequires: fdupes +Requires: python3-bcrypt +Requires: python3-Flask +Requires: python3-Flask-HTTPAuth +Requires: python3-Flask-PyMongo +Requires: python3-Flask-RESTful +BuildArch: noarch + +%python_subpackages +%define skip_python2 1 + +%description +Thalamus: The GNU Health Federation Message and Authentication Server +===================================================================== + +The Thalamus project provides a RESTful API hub to all the GNU Health +Federation nodes. The main functions are: + +#. **Message server**: A concentrator and message relay from and to + the participating nodes in the GNU Health Federation and the GNU Health + Information System (MongoDB). Some of the participating nodes include + the GNU Health HMIS, MyGNUHealth mobile PHR application, + laboratories, research institutions and civil offices. + +#. **Authentication Server**: Thalamus also serves as an authentication and + authorization server to interact with the GNUHealth Information System + + +Thalamus is part of the GNU Health project, but it is a self contained, +independent server that can be used in different health related scenarios. + +%prep +%setup -q -n %{modname}-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%files %{python_files} +%defattr(-,root,root,-) +%doc LICENSE README.rst +%{python_sitelib}/* + +%changelog diff --git a/thalamus-0.9.5.tar.gz b/thalamus-0.9.5.tar.gz new file mode 100644 index 0000000..03ced94 --- /dev/null +++ b/thalamus-0.9.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:12492147c54fbde2b2978650f4b92d5f896c4530691d2b8987c2cc6ed30192c2 +size 43015