forked from pool/gnuhealth
Compare commits
9 Commits
Author | SHA256 | Date | |
---|---|---|---|
dbcd0306a3 | |||
|
aa296ec5a2 | ||
|
7e3b74e38e | ||
|
1e30c4740b | ||
|
f6cb993350 | ||
|
fa087310a5 | ||
|
ee3bc6304d | ||
a4a7568b71 | |||
|
06df1a2e2e |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a46ce0461bb451a79f4d40a570a700d5dd28361d3e012d410198a4e159c69481
|
||||
size 18685767
|
Binary file not shown.
3
gnuhealth-his-server-5.0-bundle-2025.1.tar.gz
Normal file
3
gnuhealth-his-server-5.0-bundle-2025.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:78a883b84a313f0579a55aa07d5fc367f2f8e15b001dc55e17da11ca90e0cbea
|
||||
size 51258040
|
BIN
gnuhealth-his-server-5.0-bundle-2025.1.tar.gz.sig
Normal file
BIN
gnuhealth-his-server-5.0-bundle-2025.1.tar.gz.sig
Normal file
Binary file not shown.
@@ -1,3 +1,25 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 1 08:40:05 UTC 2025 - Axel Braun <axel.braun@gmx.de>
|
||||
|
||||
- version 5.0.0
|
||||
* source naming scheme changed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 29 06:09:25 UTC 2025 - Axel Braun <axel.braun@gmx.de>
|
||||
|
||||
- version 5.0.0rc1
|
||||
* major upgrade
|
||||
* for details, see
|
||||
https://my.gnusolidario.org/2025/05/01/gnu-health-hospital-information-system-5-0-enters-alpha/
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 14 13:32:19 UTC 2025 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Fix escaping of commented out patch: with RPM 4.20, %patch
|
||||
becomes a standard, expandable macro, that can span more than one
|
||||
line. Commenting out with #%patch can thus lead to invalid
|
||||
results.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 2 11:47:44 UTC 2024 - Axel Braun <axel.braun@gmx.de>
|
||||
|
||||
|
@@ -4,100 +4,6 @@ Note that this keyring is not intended for checking releases of that group.
|
||||
Use Group Release Keyring instead.
|
||||
|
||||
GPG keys of Luis Falcon <meanmicio>
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
|
||||
mQINBFkOA04BEADnOBk9Aio61+3AlTY+slTusQNT3bkMVxFEY87I2p0cmBG1oBwD
|
||||
uC/DvnYKafg90juAF+LNIuhlCG351/bpJiu/8XsQSk55B2Jq9TeE4Sj/ilsS4mV2
|
||||
Kd+xqBER/N4T7c/d3prNv2mTrr1BL0qCfLxWrkZTkT5pheGHoI5LjhlQnZ9yuPOx
|
||||
uYSmh+Rn0tUBEr82J0co6joa7FHiJsJc5P0lj40BoR9sLxqu08bLu21T0NYuVlab
|
||||
uAjxeZ+qLS0ofDQSuU8NJPmbsWQ0nXHuagIZiZ1YIHQgT1x75aslwntD7ZeJlTfl
|
||||
ipH1jrNVgPcNchOnSXPI6/N1+DAgCckx38/pM1PBnsgCV3hjQrhQPUav5ZmcbkvJ
|
||||
0Hbsg74HbF2C+XmIeeDj5GlkKX0QwccYCajIwNzV6/VsfYWaaXZH08D8eKZ1eg1g
|
||||
hKU1bQY8+vXhkq9WaFAb0YhLmhp0IzJLTuUfUjN8ARANRSVryisjZLb9MyAiawzL
|
||||
LH1o5HY8mRsG1VFdQIlWe034x8t5ADkCIjwNq124Byvw+PdDya3RfeaNgwCOIPmz
|
||||
woK2jXz7yNvzCQp1/6JmdrFOu9TkpHlrQEVFXPP7/3A7oRhPQItU+xpJrP5UaF0l
|
||||
UD7NVCpTFGzrahqNvx33WEmsuXTFWs6pXC3YWxfLljm/syOxaqw2qJcKEQARAQAB
|
||||
tC9MdWlzIEZhbGNvbiAoR05VIEhlYWx0aCkgPGZhbGNvbkBnbnVoZWFsdGgub3Jn
|
||||
PokCTgQTAQgAOBYhBKy/yA/IkW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TzWKyL5SWH2hrcRaBIQ23MV34HuGZ+L5LBufBYKZsO8zVelY1f13X
|
||||
rM0qBpOaRZbkN1Vj6FDDPSg2z6pejr1AbSLUu7R/eUg0qyhJHsRHpdBqWDBk42Lc
|
||||
u4U5jdpzKALwQIKE+bBjZEEAEQEAAYkCNgQYAQgAIBYhBKy/yA/IkWMcaKqNyMAV
|
||||
4a4AmJGZBQJZDgNOAhsMAAoJEMAV4a4AmJGZuewQAL5IqkJu+hSjgWGuQV10V9Bw
|
||||
XjyUuPEieemEPOTrJ0/jitJwLYA5cwFNKLU6ooyKztLbvc0t3xH3Jl/ec87+n6dp
|
||||
/nswVd2MSxuQpcLUvHYgFrRvWFs3V0XHu/27WhYAsjQAQnNXq/NQGuE/Af+U9zyz
|
||||
bTVBFOBzO/79yT3YO3A4gzNNkn11eFS/3h//2D6b08Rdxl5EMOkiviogK0F13gJU
|
||||
TU/2Y//UIeBA3wxRyc44K6z+6PmL3JzKvP66VxknMe5hkF6SR8QKfxXaKM5PbV5X
|
||||
G7gd30+eRNneLVVbz9Y/MarEnFE4GXOaj8jMaAoTCrfi9lJzMSefWWXUH3ifjE2R
|
||||
ERFzkTbsoPs5w+wC4VwuUE5z3iz9Y0QB964smywsz0fWJAL7cWxErM87ZWLh7wIf
|
||||
EKFHc/uD3P+HhS0l57LApd9QEgcMMwMOFIeLwi++BynzfeP3Ga38QLdxfluASkuW
|
||||
oNuMoSwQXobNrtNASlBOPf1KpyuOAI6hOvfHAPGekH92iK/FUe9D2gUodr8pybwB
|
||||
M8+bmPkuI2yyfO1bYpXeXuLjCwJUB/FAq2JrjoS8iKV8i+jnX2GOtwmLh+OOsErI
|
||||
WgFL1ZJFVYHGC+VKj/JgT9Ctof10B2Hrlt40PXoliexwo7wvl8cHFjonF2r9WXZ2
|
||||
wgeqPuoNWoFYKK0/GlVa
|
||||
=doah
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
||||
|
||||
GPG keys of Gerald Wiese <gerald_wiese>
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
|
||||
mQINBFkOA04BEADnOBk9Aio61+3AlTY+slTusQNT3bkMVxFEY87I2p0cmBG1oBwD
|
||||
|
108
gnuhealth.spec
108
gnuhealth.spec
@@ -1,8 +1,8 @@
|
||||
#
|
||||
# spec file for package gnuhealth
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2014-2024 Dr. Axel Braun
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2014-2025 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,30 +20,25 @@
|
||||
%bcond_with tests 1
|
||||
%define skip_python2 1
|
||||
|
||||
%if 0%{?suse_version} >= 1550
|
||||
%define pythons python3
|
||||
%define mypython python3
|
||||
%define mysitelib %python3_sitelib
|
||||
%else
|
||||
%{?sle15_python_module_pythons}
|
||||
%define mypython %pythons
|
||||
%define mysitelib %{expand:%%%{mypython}_sitelib}
|
||||
%endif
|
||||
|
||||
%define t_version %(rpm -q --qf '%%{VERSION}' trytond)
|
||||
%define majorver 4.4
|
||||
%define majorver 5.0
|
||||
|
||||
Name: gnuhealth
|
||||
|
||||
Version: %{majorver}.1
|
||||
Version: %{majorver}.0
|
||||
Release: 0
|
||||
URL: https://health.gnu.org
|
||||
Summary: A Health and Hospital Information System
|
||||
License: GPL-3.0-or-later
|
||||
Group: Productivity/Office/Management
|
||||
|
||||
Source0: https://ftp.gnu.org/gnu/health/%{name}-%{version}.tar.gz
|
||||
## Source0: %{name}-%{version}.tar.gz
|
||||
Source0: https://ftp.gnu.org/gnu/health/%{name}-his-server-%{majorver}-bundle-2025.1.tar.gz
|
||||
##%Source0: %{name}-%{version}.tar.gz
|
||||
Source1: GNUHealth.README.openSUSE
|
||||
Source2: gnuhealth-control
|
||||
Source3: gnuhealth.service
|
||||
@@ -51,12 +46,13 @@ Source4: gnuhealth-webdav@.service
|
||||
Source5: openSUSE-gnuhealth-setup
|
||||
Source6: gnuhealth
|
||||
Source7: gnuhealth-rpmlintrc
|
||||
Source8: https://ftp.gnu.org/gnu/health/%{name}-%{version}.tar.gz.sig
|
||||
Source8: https://ftp.gnu.org/gnu/health/%{name}-his-server-%{majorver}-bundle-2025.1.tar.gz.sig
|
||||
Source9: https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=health&download=1#/%{name}.keyring
|
||||
|
||||
## BuildRequires: %{python_module pytest}
|
||||
##% BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{mypython}-pip
|
||||
BuildRequires: %{mypython}-devel
|
||||
BuildRequires: %{mypython}-poetry-core >= 2.0.0
|
||||
BuildRequires: %{mypython}-setuptools
|
||||
BuildRequires: %{mypython}-wheel
|
||||
BuildRequires: fdupes
|
||||
@@ -64,43 +60,50 @@ BuildRequires: python-rpm-generators
|
||||
BuildRequires: python-rpm-macros
|
||||
|
||||
# For the tests:
|
||||
BuildRequires: trytond
|
||||
BuildRequires: trytond_company
|
||||
BuildRequires: trytond_currency
|
||||
BuildRequires: trytond_party
|
||||
BuildRequires: trytond_product
|
||||
BuildRequires: trytond >= 7.0
|
||||
BuildRequires: trytond_company >= 7.0
|
||||
BuildRequires: trytond_currency >= 7.0
|
||||
BuildRequires: trytond_party >= 7.0
|
||||
BuildRequires: trytond_product >= 7.0
|
||||
|
||||
# new fonts for the forms:
|
||||
Requires: gnu-free-fonts
|
||||
Requires: %{mypython}-Pillow
|
||||
Requires: %{mypython}-Pillow >= 11.1.0
|
||||
Requires: %{mypython}-PyWebDAV3-GNUHealth
|
||||
Requires: %{mypython}-Werkzeug >= 3.1.3
|
||||
Requires: %{mypython}-bcrypt
|
||||
Requires: %{mypython}-caldav
|
||||
Requires: %{mypython}-hl7apy
|
||||
Requires: %{mypython}-ldap3
|
||||
Requires: %{mypython}-ldap
|
||||
Requires: %{mypython}-matplotlib
|
||||
Requires: %{mypython}-numpy
|
||||
Requires: %{mypython}-passlib
|
||||
Requires: %{mypython}-pycountry
|
||||
Requires: %{mypython}-pydot >= 3.0.4
|
||||
Requires: %{mypython}-python-barcode
|
||||
Requires: %{mypython}-python-magic >= 0.4.27
|
||||
Requires: %{mypython}-pytz
|
||||
Requires: %{mypython}-qrcode
|
||||
Requires: %{mypython}-simpleeval
|
||||
Requires: %{mypython}-six
|
||||
Requires: %{mypython}-vobject
|
||||
Requires: %{mypython}-vobject >= 0.9.9
|
||||
Requires: bsdtar
|
||||
Requires: proteus
|
||||
Requires: trytond
|
||||
Requires: trytond_account
|
||||
Requires: trytond_account_invoice
|
||||
Requires: trytond_account_invoice_stock
|
||||
Requires: trytond_account_product
|
||||
Requires: trytond_company
|
||||
Requires: trytond_country
|
||||
Requires: trytond_currency
|
||||
Requires: trytond_party
|
||||
Requires: trytond_product
|
||||
Requires: trytond_purchase
|
||||
Requires: trytond_purchase_request
|
||||
Requires: trytond_stock
|
||||
Requires: trytond_stock_lot
|
||||
Requires: trytond_stock_supply
|
||||
Requires: trytond >= 7.0
|
||||
Requires: trytond_account >= 7.0
|
||||
Requires: trytond_account_invoice >= 7.0
|
||||
Requires: trytond_account_invoice_stock >= 7.0
|
||||
Requires: trytond_account_product >= 7.0
|
||||
Requires: trytond_company >= 7.0
|
||||
Requires: trytond_country >= 7.0
|
||||
Requires: trytond_currency >= 7.0
|
||||
Requires: trytond_party >= 7.0
|
||||
Requires: trytond_product >= 7.0
|
||||
Requires: trytond_purchase >= 7.0
|
||||
Requires: trytond_purchase_request >= 7.0
|
||||
Requires: trytond_stock >= 7.0
|
||||
Requires: trytond_stock_lot >= 7.0
|
||||
Requires: trytond_stock_supply >= 7.0
|
||||
BuildArch: noarch
|
||||
|
||||
# additional suggestion for a useable editor
|
||||
@@ -128,19 +131,21 @@ Group: Productivity/Office/Management
|
||||
Requires: %{mypython}-beren
|
||||
Requires: %{mypython}-pendulum
|
||||
Requires: %{mypython}-pydicom
|
||||
Requires: %{mypython}-pyorthanc
|
||||
Requires: gnuhealth
|
||||
|
||||
%description -n %{name}-orthanc
|
||||
This package provides the interface to Orthanc
|
||||
This package provides the interface to Orthanc and the imaging worklist
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
## %patch -P 0 -p1
|
||||
%autosetup -n %{name}-his-%{majorver}-bundle-2025.1
|
||||
##%%patch -P 0 -p1
|
||||
cp %{S:1} .
|
||||
cp %{S:2} .
|
||||
|
||||
#shebag ersetzen
|
||||
find . -iname "*.py" -exec sed -i "s/env python/%{mypython}/" '{}' \;
|
||||
find . -iname "*gnuhealth-webdav-server" -exec sed -i "s/env python/%{mypython}/" '{}' \;
|
||||
|
||||
%build
|
||||
for i in h*; do
|
||||
@@ -160,7 +165,9 @@ 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
|
||||
install -p -m 755 scripts/demodb/install_demo_database.sh %{buildroot}%{_bindir}/install_demo_database.sh
|
||||
install -p -m 755 health_webdav3_server/bin/gnuhealth-webdav-server %{buildroot}%{_bindir}/gnuhealth-webdav-server
|
||||
#5.0A1 change:
|
||||
#%%install -p -m 755 scripts/demodb/install_demo_database.sh %{buildroot}%{_bindir}/install_demo_database.sh
|
||||
|
||||
#delete empty demo directory
|
||||
rm -rf scripts/demodb
|
||||
@@ -175,9 +182,9 @@ mkdir -p %{buildroot}%{_sysconfdir}/tryton
|
||||
## rm backend/fhir/client/COPYING
|
||||
|
||||
#Move FHIR server to examples directory
|
||||
mkdir -p -m 755 %{buildroot}%{_docdir}/%{name}/examples/
|
||||
mv doc/* %{buildroot}%{_docdir}/%{name}/examples/.
|
||||
rmdir doc
|
||||
##%mkdir -p -m 755 %{buildroot}%{_docdir}/%{name}/examples/
|
||||
##%mv doc/* %{buildroot}%{_docdir}/%{name}/examples/.
|
||||
##%rmdir doc
|
||||
|
||||
%python_expand %fdupes %{buildroot}%{mysitelib}
|
||||
|
||||
@@ -226,23 +233,30 @@ EOF
|
||||
|
||||
%files -n %{name}-orthanc
|
||||
%{mysitelib}/%{name}_orthanc*
|
||||
%{mysitelib}/%{name}_imaging_worklist*
|
||||
%{mysitelib}/trytond/modules/health_orthanc*
|
||||
%{mysitelib}/trytond/modules/health_imaging_worklist*
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
##%{_docdir}/gnuhealth
|
||||
%{_bindir}/gnuhealth
|
||||
%{_bindir}/gnuhealth-control
|
||||
%{_bindir}/gnuhealth-webdav-server
|
||||
%{_bindir}/openSUSE-gnuhealth-setup
|
||||
%{_bindir}/install_demo_database.sh
|
||||
#5.0A1 change:
|
||||
#%%{_bindir}/install_demo_database.sh
|
||||
%{_unitdir}/%{name}.service
|
||||
%{_unitdir}/%{name}-webdav@.service
|
||||
%doc README.rst Changelog gnuhealth-setup version gnuhealthrc GNUHealth.README.openSUSE scripts/* config/*
|
||||
%{_docdir}/%{name}/examples*
|
||||
#%%doc README.rst Changelog gnuhealth-setup version gnuhealthrc GNUHealth.README.openSUSE scripts/* config/*
|
||||
#%%doc README.rst Changelog version GNUHealth.README.openSUSE scripts/* config/*
|
||||
##%%{_docdir}/%{name}/examples*
|
||||
%dir %{_sysconfdir}/tryton
|
||||
%license COPYING LICENSES/*
|
||||
##%%license COPYING LICENSES/*
|
||||
%exclude %{mysitelib}/%{name}_orthanc*
|
||||
%exclude %{mysitelib}/%{name}_imaging_worklist*
|
||||
%exclude %{mysitelib}/trytond/modules/health_orthanc*
|
||||
%exclude %{mysitelib}/trytond/modules/health_imaging_worklist*
|
||||
%{mysitelib}/trytond*
|
||||
%{mysitelib}/gnuhealth*
|
||||
|
||||
|
Reference in New Issue
Block a user