diff --git a/MyGNUHealth-1.0.0.tar.gz b/MyGNUHealth-1.0.0.tar.gz deleted file mode 100644 index 584b884..0000000 --- a/MyGNUHealth-1.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:21611c1a9a00273572e52e731ea28348e60ed737fb9dd35cdf62c0ca927a1f16 -size 4706504 diff --git a/MyGNUHealth-1.0.1.tar.gz b/MyGNUHealth-1.0.1.tar.gz new file mode 100644 index 0000000..91a43df --- /dev/null +++ b/MyGNUHealth-1.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1a77c087572a9c1e24d3b63d64ecca19f74b58aecc9ea2555c73d168e14be9b0 +size 4706576 diff --git a/doc_path.diff b/doc_path.diff new file mode 100644 index 0000000..25be7e5 --- /dev/null +++ b/doc_path.diff @@ -0,0 +1,14 @@ +diff -U 3 -dHrN -- a/setup.py b/setup.py +--- a/setup.py 2021-07-08 00:55:24.000000000 +0200 ++++ b/setup.py 2021-07-08 09:44:15.828710409 +0200 +@@ -53,8 +53,8 @@ + zip_safe=False, + data_files=[ + ('share/applications', ['org.kde.mygnuhealth.desktop']), +- ('share/doc/mygnuhealth', ['doc/mygnuhealth.rst']), +- ('share/doc/mygnuhealth/images', glob('doc/images/*', recursive=True)), ++ ('share/doc/packages/mygnuhealth', ['doc/mygnuhealth.rst']), ++ ('share/doc/packages/mygnuhealth/images', glob('doc/images/*', recursive=True)), + ('share/metainfo', ['org.kde.mygnuhealth.metainfo.xml']), + ('share/icons/hicolor/scalable/apps/', + ['mygnuhealth/images/mygnuhealth.svg']), diff --git a/mygnuhealth.changes b/mygnuhealth.changes index c219355..fc9150e 100644 --- a/mygnuhealth.changes +++ b/mygnuhealth.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Thu Jul 8 06:40:10 UTC 2021 - Axel Braun + +- Version 1.0.1 +* Fix the download path within GNU.org. Now it points to + https://ftp.gnu.org/gnu/health/mygnuhealth/ +* Include Changelog file +* Include local / offline documentation (resides on + /usr/share/doc/packages/mygnuhealth) +* doc_path.diff added +* Clean up __pycache__ from tarball + ------------------------------------------------------------------- Thu Jun 24 15:30:33 UTC 2021 - Axel Braun diff --git a/mygnuhealth.spec b/mygnuhealth.spec index 577b411..f31cd22 100644 --- a/mygnuhealth.spec +++ b/mygnuhealth.spec @@ -16,6 +16,7 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # + %define modname MyGNUHealth %define majorver 1 @@ -23,7 +24,7 @@ %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.0 +Version: %{majorver}.0.1 Release: 0 Summary: The personal health record for the GNU Health system License: GPL-3.0-only @@ -31,19 +32,20 @@ Group: Productivity/Office/Management URL: http://health.gnu.org/ Source: https://files.pythonhosted.org/packages/source/M/%{modname}/%{modname}-%{version}.tar.gz Patch0: shebang.diff +Patch1: doc_path.diff BuildRequires: fdupes -BuildRequires: python3-pyside2 >= 5.15 -BuildRequires: python3-matplotlib -BuildRequires: python3-tinydb BuildRequires: python3-bcrypt +BuildRequires: python3-matplotlib +BuildRequires: python3-pyside2 >= 5.15 BuildRequires: python3-setuptools +BuildRequires: python3-tinydb BuildRequires: update-desktop-files Requires: kirigami2 -Requires: python3-pyside2 >= 5.15 +Requires: python3-bcrypt Requires: python3-matplotlib +Requires: python3-pyside2 >= 5.15 Requires: python3-requests Requires: python3-tinydb -Requires: python3-bcrypt %description The Personal Health Information Management System for Desktop and Mobile Devices @@ -55,12 +57,12 @@ Group: Productivity/Office/Management BuildArch: noarch %description -n %{name}-doc -This package includes the documentation for MyGNUHealth Personal Health +This package includes the documentation for MyGNUHealth Personal Health Information Management System for Desktop and Mobile Devices %prep %setup -q -n %{modname}-%{version} -%patch0 -p1 +%autopatch -p1 %build %python3_build @@ -72,6 +74,9 @@ Information Management System for Desktop and Mobile Devices desktop-file-install --dir %{buildroot}%{_datadir}/applications org.kde.mygnuhealth.desktop %suse_update_desktop_file org.kde.mygnuhealth +#documentation in the MyGNUHealth-doc package is sufficient +rm -rf %{buildroot}%{_docdir}/* + %python_expand %fdupes %{buildroot}%{python3_sitelib} %post