SHA256
1
0
forked from pool/mygnuhealth

Accepting request 1144985 from Application:ERP:GNUHealth:Factory

OBS-URL: https://build.opensuse.org/request/show/1144985
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mygnuhealth?expand=0&rev=9
This commit is contained in:
Ana Guerrero 2024-02-07 17:51:21 +00:00 committed by Git OBS Bridge
commit b656fd9544
6 changed files with 12 additions and 27 deletions

View File

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

Binary file not shown.

3
mygnuhealth-2.0.1.tar.gz Normal file
View File

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

Binary file not shown.

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Feb 7 09:39:23 UTC 2024 - Axel Braun <axel.braun@gmx.de>
- version 2.0.1
See Changelog for details
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Sep 29 18:39:29 UTC 2023 - Ben Greiner <code@bnavigator.de> Fri Sep 29 18:39:29 UTC 2023 - Ben Greiner <code@bnavigator.de>

View File

@ -20,9 +20,6 @@
%define modname MyGNUHealth %define modname MyGNUHealth
%define majorver 2 %define majorver 2
#boo#1181905
%global __requires_exclude qmlimport\\((BloodPressure|FedLogin|GHBio|GHBol|GHPsycho|Glucose|LocalAccountManager|MoodEnergy|NetworkSettings|Osat|ProfileSettings|Weight|PoL|GHLifestyle|GHPhysicalActivity|GHNutrition|GHSleep|GHAbout)
%if %{?suse_version} > 1500 %if %{?suse_version} > 1500
# only the primary one for TW # only the primary one for TW
%define pythons python3 %define pythons python3
@ -37,7 +34,7 @@
%endif %endif
Name: mygnuhealth Name: mygnuhealth
Version: %{majorver}.0.0 Version: %{majorver}.0.1
Release: 0 Release: 0
Summary: The personal health record for the GNU Health system Summary: The personal health record for the GNU Health system
License: GPL-3.0-or-later License: GPL-3.0-or-later
@ -70,7 +67,7 @@ Requires: %{mypython}-tinydb
Requires: %{mypython}-requests Requires: %{mypython}-requests
Requires: %{mypython}-CairoSVG Requires: %{mypython}-CairoSVG
# /SECTION # /SECTION
BuildArch: noarch ## BuildArch: noarch
# singlespec rewriter for exactly one python (see above) # singlespec rewriter for exactly one python (see above)
@ -78,16 +75,8 @@ BuildArch: noarch
The Personal Health Information Management System for Desktop and Mobile Devices The Personal Health Information Management System for Desktop and Mobile Devices
for the GNU Health ecosystem for the GNU Health ecosystem
%package -n %{name}-doc
Summary: Documentation files for MyGNUHealth
Group: Productivity/Office/Management
%description -n %{name}-doc
This package includes the documentation for MyGNUHealth Personal Health
Information Management System for Desktop and Mobile Devices
%prep %prep
%autosetup -p1 -n %{name} %autosetup -p1 -n %{name}-%{version}
%build %build
%pyproject_wheel %pyproject_wheel
@ -104,11 +93,6 @@ desktop-file-install --dir %{buildroot}%{_datadir}/applications org.gnuhealth.my
%python_expand %fdupes %{buildroot}%{python_sitelib} %python_expand %fdupes %{buildroot}%{python_sitelib}
# install and deduplicate doc
mkdir -p %{buildroot}%{_docdir}/%{name}-doc/
cp -r doc/* %{buildroot}%{_docdir}/%{name}-doc/
%fdupes %{buildroot}%{_docdir}
%post %post
#clean qml cache to avoid issues #clean qml cache to avoid issues
rm -rf /home/*/.cache/mygnuhealth rm -rf /home/*/.cache/mygnuhealth
@ -124,9 +108,4 @@ rm -rf /home/*/.cache/mygnuhealth
%{mypython_sitelib}/mygnuhealth %{mypython_sitelib}/mygnuhealth
%{mypython_sitelib}/mygnuhealth-%{version}.dist-info %{mypython_sitelib}/mygnuhealth-%{version}.dist-info
%files -n %{name}-doc
%doc README.rst
%{_docdir}/*
%changelog %changelog