SHA256
1
0
forked from pool/mygnuhealth

Accepting request 1112905 from home:DocB:branches:Application:ERP:GNUHealth:Factory

- MyGNUHealth 1.9a5
  * complete rewrite based on Kivy (instead Kirigami)
  * For Details see CHANGELOG

OBS-URL: https://build.opensuse.org/request/show/1112905
OBS-URL: https://build.opensuse.org/package/show/Application:ERP:GNUHealth:Factory/mygnuhealth?expand=0&rev=28
This commit is contained in:
Axel Braun 2023-09-22 02:52:29 +00:00 committed by Git OBS Bridge
parent df1b209a24
commit 1c287a3d27
5 changed files with 35 additions and 23 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1a186b02b71371a5c7c18237af3ec623f8539afdead04cc5096ece8b1f29bcc7
size 13360040

Binary file not shown.

3
mygnuhealth-1.9a5.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:68978b69d15e40a3e6a5cfcb68fff3a8720016f6b445d0b885aba442f38e0d73
size 13839341

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Sep 21 15:24:00 UTC 2023 - Axel Braun <axel.braun@gmx.de>
- MyGNUHealth 1.9a5
* complete rewrite based on Kivy (instead Kirigami)
* For Details see CHANGELOG
-------------------------------------------------------------------
Fri Mar 11 11:44:11 UTC 2022 - Axel Braun <axel.braun@gmx.de>

View File

@ -24,28 +24,32 @@
%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: %{majorver}.0.5
Version: %{majorver}.9a5
Release: 0
Summary: The personal health record for the GNU Health system
License: GPL-3.0-or-later
Group: Productivity/Office/Management
URL: http://health.gnu.org/
Source: https://ftp.gnu.org/gnu/health/mygnuhealth/%{name}-%{version}.tar.gz
Source1: https://ftp.gnu.org/gnu/health/mygnuhealth/%{name}-%{version}.tar.gz.sig
Source2: https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=health&download=1#/%{name}.keyring
Patch0: shebang.diff
Patch1: doc_path.diff
##Source: https://ftp.gnu.org/gnu/health/mygnuhealth/%{name}-%{version}.tar.gz
Source: %{name}-%{version}.tar.gz
## Source1: https://ftp.gnu.org/gnu/health/mygnuhealth/%{name}-%{version}.tar.gz.sig
## Source2: https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=health&download=1#/%{name}.keyring
## Patch0: shebang.diff
## Patch1: doc_path.diff
BuildRequires: fdupes
BuildRequires: python3-bcrypt
BuildRequires: python3-matplotlib
BuildRequires: python3-pyside2 >= 5.15
BuildRequires: python3-setuptools
## BuildRequires: python3-matplotlib
BuildRequires: python3-Kivy
BuildRequires: python3-pygal
BuildRequires: python3-pip
BuildRequires: python3-pip-wheel
BuildRequires: python3-setuptools-wheel
BuildRequires: python3-tinydb
BuildRequires: python3-wheel
BuildRequires: update-desktop-files
Requires: kirigami2
Requires: python3-Kivy
Requires: python3-bcrypt
Requires: python3-matplotlib
Requires: python3-pyside2 >= 5.15
## Requires: python3-matplotlib
Requires: python3-requests
Requires: python3-tinydb
@ -64,17 +68,18 @@ Information Management System for Desktop and Mobile Devices
%prep
%setup -q
%autopatch -p1
## %autopatch -p1
%build
%python3_build
%pyproject_wheel
%install
%python3_install --prefix=%{_prefix} --root=%{buildroot}
%pyproject_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
desktop-file-install --dir %{buildroot}%{_datadir}/applications org.gnuhealth.mygnuhealth.desktop
%suse_update_desktop_file org.gnuhealth.mygnuhealth
#documentation in the MyGNUHealth-doc package is sufficient
rm -rf %{buildroot}%{_docdir}/*
@ -91,9 +96,9 @@ rm -rf /home/*/.cache/mygnuhealth
%files
%attr(755,root,root) %{_bindir}/%{name}
%{_datadir}/applications/org.kde.mygnuhealth.desktop
%{_datadir}/icons/*
%{_datadir}/metainfo/*
%{_datadir}/applications/org.gnuhealth.mygnuhealth.desktop
## %{_datadir}/icons/*
## %{_datadir}/metainfo/*
%license COPYRIGHT LICENSE
%{python3_sitelib}/*