1
0

Accepting request 661784 from Application:ERP:GNUHealth:3.4

- New client for the GNU Health 3.4 series based on Tryton 4.6 series
  * Enhanced support for Calendar and WebDAV system
  * Native client has a command line interface
  * Over 30 new commands for the main daily tasks
  * Enhanced GNU Health camera plugin, including zoom
  * gnuhealth_crypto.patch replaced by plugin
  * Activity Log window on the client
  * SYSINFO command to retrieve the information about client and server 
  * Customize the banner on the client

OBS-URL: https://build.opensuse.org/request/show/661784
OBS-URL: https://build.opensuse.org/package/show/Application:ERP:GNUHealth:Factory/gnuhealth-client?expand=0&rev=7
This commit is contained in:
Axel Braun
2018-12-28 14:00:28 +00:00
committed by Git OBS Bridge
parent 4d389f8221
commit b793d17b56
10 changed files with 49 additions and 243 deletions

View File

@@ -13,22 +13,23 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define majorver 3.2
%define majorver 3.4
Name: gnuhealth-client
Version: %{majorver}.6
Version: %{majorver}.1
Release: 0
Summary: The client of the GNU Health Hospital system
License: GPL-3.0
License: GPL-3.0-only
Group: Productivity/Office/Management
Url: http://health.gnu.org/
Source: https://ftp.gnu.org/gnu/health/%{name}-%{version}.tar.gz
Source1: ftp://ftp.gnu.org/gnu/health/plugins/gnuhealth-camera-plugin-latest.tar.gz
Source2: %{name}.desktop
Patch0: gnuhealth_crypto.patch
Source: https://files.pythonhosted.org/packages/source/g/%{name}/%{name}-%{version}.tar.gz
Source1: ftp://ftp.gnu.org/gnu/health/plugins/gnuhealth_plugin_camera-latest.tar.gz
Source2: ftp://ftp.gnu.org/gnu/health/plugins/gnuhealth_plugin_crypto-latest.tar.gz
Source3: ftp://ftp.gnu.org/gnu/health/plugins/gnuhealth_plugin_frl-latest.tar.gz
Source4: %{name}.desktop
BuildRequires: fdupes
BuildRequires: python-Babel
BuildRequires: python-Sphinx
@@ -39,7 +40,7 @@ BuildRequires: python-python-dateutil
BuildRequires: python-setuptools
BuildRequires: python-simplejson
BuildRequires: update-desktop-files
Requires: librsvg
#Requires: librsvg
#for the plugins:
Requires: opencv
Requires: python-GooCalendar
@@ -62,12 +63,17 @@ The client of the GNU Health Hospital application
%prep
%setup -q
%patch0 -p1
cp %{SOURCE2} .
cp %{SOURCE4} .
pwd
cd %{name}/plugins/
tar --strip-components 1 -xzvf %{SOURCE1}
cd tryton/plugins/
#tar --strip-components 1 -xzvf %{SOURCE1}
#tar --strip-components 1 -xzvf %{SOURCE2}
#tar --strip-components 1 -xzvf %{SOURCE3}
tar -xzvf %{SOURCE1}
tar -xzvf %{SOURCE2}
tar -xzvf %{SOURCE3}
%build
:
@@ -82,8 +88,8 @@ desktop-file-install --dir %{buildroot}%{_datadir}/applications %{name}.desktop
mkdir -p %{buildroot}%{_datadir}/pixmaps
cp %{buildroot}%{python_sitelib}/tryton/data/pixmaps/tryton/gnuhealth-icon.png %{buildroot}%{_datadir}/pixmaps/gnuhealth.png
%fdupes %{buildroot}%{_datadir}
%fdupes %{buildroot}%{_prefix}/lib
##%fdupes %{buildroot}%{_datadir}
##%fdupes %{buildroot}%{_prefix}/lib
%post
%desktop_database_post
@@ -96,7 +102,8 @@ cp %{buildroot}%{python_sitelib}/tryton/data/pixmaps/tryton/gnuhealth-icon.png %
%files
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%doc COPYRIGHT COPYING COPYRIGHT Changelog
%doc Changelog
%license COPYRIGHT COPYING
%{_datadir}/pixmaps/*
%{python_sitelib}/*