forked from pool/mygnuhealth
- Version 0.9b2
- Version 0.7a6 initial OBS build OBS-URL: https://build.opensuse.org/package/show/Application:ERP:GNUHealth:Factory/mygnuhealth?expand=0&rev=1
This commit is contained in:
commit
3fbdc807b6
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
MyGNUHealth-0.9b2.tar.gz
Normal file
3
MyGNUHealth-0.9b2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e65eb880fedc4d8434caf2a31cc987d6389b7c3b3d2b58e4ad4d0d85d2ec03ff
|
||||||
|
size 4179206
|
16
_service
Normal file
16
_service
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<services>
|
||||||
|
<!-- <service name="obs_scm">
|
||||||
|
<param name="url">https://invent.kde.org/pim/mygnuhealth.git</param>
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="versionformat">VERSIONgit.%ci~%h</param>
|
||||||
|
</service>
|
||||||
|
<service mode="buildtime" name="tar"/>
|
||||||
|
<service mode="buildtime" name="recompress">
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
<param name="compression">gz</param>
|
||||||
|
</service>
|
||||||
|
<service name="set_version"/> -->
|
||||||
|
|
||||||
|
<service name="download_files" mode="localonly" />
|
||||||
|
|
||||||
|
</services>
|
1
mygnuhealth-rpmlint
Normal file
1
mygnuhealth-rpmlint
Normal file
@ -0,0 +1 @@
|
|||||||
|
setBadness('hardlink-across-partitions', 10)
|
10
mygnuhealth.changes
Normal file
10
mygnuhealth.changes
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 29 14:13:35 UTC 2021 - Axel Braun <axel.braun@gmx.de>
|
||||||
|
|
||||||
|
- Version 0.9b2
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Oct 31 15:55:45 UTC 2020 - Axel Braun <axel.braun@gmx.de>
|
||||||
|
|
||||||
|
- Version 0.7a6
|
||||||
|
initial OBS build
|
97
mygnuhealth.spec
Normal file
97
mygnuhealth.spec
Normal file
@ -0,0 +1,97 @@
|
|||||||
|
#
|
||||||
|
# spec file for package mygnuhealth
|
||||||
|
#
|
||||||
|
# Copyright (c) 2021 SUSE LLC
|
||||||
|
# Copyright (c) 2020-2021 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 https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
%define modname MyGNUHealth
|
||||||
|
%define majorver 0
|
||||||
|
|
||||||
|
#boo#1181905
|
||||||
|
%global __requires_exclude qmlimport\\((BloodPressure|FedLogin|GHBio|GHBol|GHPsycho|Glucose|LocalAccountManager|MoodEnergy|NetworkSettings|Osat|ProfileSettings|Weight|PoL|GHLifestyle|GHPhysicalActivity|GHNutrition|GHSleep|GHAbout)
|
||||||
|
|
||||||
|
Name: mygnuhealth
|
||||||
|
Version: 0.9b2
|
||||||
|
Release: 0
|
||||||
|
Summary: The personal health record for the GNU Health system
|
||||||
|
License: GPL-3.0-only
|
||||||
|
Group: Productivity/Office/Management
|
||||||
|
URL: http://health.gnu.org/
|
||||||
|
Source: https://files.pythonhosted.org/packages/source/M/%{modname}/%{modname}-%{version}.tar.gz
|
||||||
|
##%Source: %{name}-%{version}.tar.gz
|
||||||
|
##%Patch0: shebang.diff
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python3-pyside2 >= 5.15
|
||||||
|
BuildRequires: python3-matplotlib
|
||||||
|
BuildRequires: python3-tinydb
|
||||||
|
BuildRequires: python3-bcrypt
|
||||||
|
BuildRequires: python3-setuptools
|
||||||
|
BuildRequires: update-desktop-files
|
||||||
|
Requires: kirigami2
|
||||||
|
Requires: python3-pyside2 >= 5.15
|
||||||
|
Requires: python3-matplotlib
|
||||||
|
Requires: python3-requests
|
||||||
|
Requires: python3-tinydb
|
||||||
|
Requires: python3-bcrypt
|
||||||
|
|
||||||
|
%description
|
||||||
|
The Personal Health Information Management System for Desktop and Mobile Devices
|
||||||
|
for the GNU Health ecosystem
|
||||||
|
|
||||||
|
%package -n %{name}-doc
|
||||||
|
Summary: Documentation files for MyGNUHealth
|
||||||
|
Group: Productivity/Office/Management
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description -n %{name}-doc
|
||||||
|
This package includes the documentation for MyGNUHealth Personal Health
|
||||||
|
Information Management System for Desktop and Mobile Devices
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{name}-%{version}
|
||||||
|
##%%patch0 -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%python3_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%python3_install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
|
|
||||||
|
# menu-entry
|
||||||
|
desktop-file-install --dir %{buildroot}%{_datadir}/applications org.kde.mygnuhealth.desktop
|
||||||
|
%suse_update_desktop_file org.kde.mygnuhealth
|
||||||
|
|
||||||
|
%python_expand %fdupes %{buildroot}%{python3_sitelib}
|
||||||
|
|
||||||
|
%post
|
||||||
|
#clean qml cache to avoid issues
|
||||||
|
rm -rf /home/*/.cache/mygnuhealth
|
||||||
|
|
||||||
|
%postun
|
||||||
|
#clean qml cache - housekeeping
|
||||||
|
rm -rf /home/*/.cache/mygnuhealth
|
||||||
|
|
||||||
|
%files
|
||||||
|
%attr(755,root,root) %{_bindir}/%{name}
|
||||||
|
%{_datadir}/applications/org.kde.mygnuhealth.desktop
|
||||||
|
%{_datadir}/icons/*
|
||||||
|
%{_datadir}/metainfo/*
|
||||||
|
%license COPYRIGHT LICENSE
|
||||||
|
%{python3_sitelib}/*
|
||||||
|
|
||||||
|
%files -n %{name}-doc
|
||||||
|
%doc README.rst doc/*
|
||||||
|
|
||||||
|
%changelog
|
36
shebang.diff
Normal file
36
shebang.diff
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
diff -U 3 -dHrN -- a/mygnuhealth/mygnuhealth/about.py b//mygnuhealthmygnuhealth/about.py
|
||||||
|
--- a/mygnuhealth/mygnuhealth/about.py 2021-01-16 09:24:50.543316638 +0100
|
||||||
|
+++ b/mygnuhealth/mygnuhealth/about.py 2021-01-16 12:15:37.602160209 +0100
|
||||||
|
@@ -1,4 +1,4 @@
|
||||||
|
-#!/usr/bin/env python3
|
||||||
|
+#!/usr/bin/python3
|
||||||
|
##############################################################################
|
||||||
|
#
|
||||||
|
# MyGNUHealth : Mobile and Desktop PHR node for GNU Health
|
||||||
|
diff -U 3 -dHrN -- a/mygnuhealth/mygnuhealth/core.py b/mygnuhealth/mygnuhealth/core.py
|
||||||
|
--- a/mygnuhealth/mygnuhealth/core.py 2021-01-16 09:24:50.543316638 +0100
|
||||||
|
+++ b/mygnuhealth/mygnuhealth/core.py 2021-01-16 12:16:01.075227440 +0100
|
||||||
|
@@ -1,4 +1,4 @@
|
||||||
|
-#!/usr/bin/env python3
|
||||||
|
+#!/usr/bin/python3
|
||||||
|
##############################################################################
|
||||||
|
#
|
||||||
|
# MyGNUHealth : Mobile and Desktop PHR node for GNU Health
|
||||||
|
diff -U 3 -dHrN -- a/mygnuhealth/mygnuhealth/myghconf.py b/mygnuhealth/mygnuhealth/myghconf.py
|
||||||
|
--- a/mygnuhealth/mygnuhealth/myghconf.py 2021-01-16 09:24:50.551316620 +0100
|
||||||
|
+++ b/mygnuhealth/mygnuhealth/myghconf.py 2021-01-16 12:16:33.784830997 +0100
|
||||||
|
@@ -1,4 +1,4 @@
|
||||||
|
-#!/usr/bin/env python3
|
||||||
|
+#!/usr/bin/python3
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
#
|
||||||
|
diff -U 3 -dHrN -- a/mygnuhealth/mygnuhealth/mygh.py b/mygnuhealth/mygnuhealth/mygh.py
|
||||||
|
--- a/mygnuhealth/mygnuhealth/mygh.py 2021-01-16 09:24:50.551316620 +0100
|
||||||
|
+++ b/mygnuhealth/mygnuhealth/mygh.py 2021-01-16 12:16:20.812869254 +0100
|
||||||
|
@@ -1,4 +1,4 @@
|
||||||
|
-#!/usr/bin/env python3
|
||||||
|
+#!/usr/bin/python3
|
||||||
|
##############################################################################
|
||||||
|
#
|
||||||
|
# MyGNUHealth : Mobile and Desktop PHR node for GNU Health
|
Loading…
Reference in New Issue
Block a user