This commit is contained in:
parent
4090bfe988
commit
ae96e9190b
3
gnuhealth-client-35.tar.gz
Normal file
3
gnuhealth-client-35.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:04d81feb75d2934776b8d28f4f7a0b585aff0809fe52ec27eaa681797ad42fe2
|
||||||
|
size 783635
|
@ -17,47 +17,50 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define majorver 3.4
|
%define majorver 3
|
||||||
Name: gnuhealth-client
|
Name: gnuhealth-client
|
||||||
Version: %{majorver}.4
|
Version: %{majorver}5
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The client of the GNU Health Hospital system
|
Summary: The client of the GNU Health Hospital system
|
||||||
License: GPL-3.0-only
|
License: GPL-3.0-only
|
||||||
Group: Productivity/Office/Management
|
Group: Productivity/Office/Management
|
||||||
Url: http://health.gnu.org/
|
Url: http://health.gnu.org/
|
||||||
Source: https://files.pythonhosted.org/packages/source/g/%{name}/%{name}-%{version}.tar.gz
|
### https://files.pythonhosted.org/packages/source/g/%{name}/%{name}-%{version}.tar.gz
|
||||||
|
Source: %{name}-%{version}.tar.gz
|
||||||
Source1: ftp://ftp.gnu.org/gnu/health/plugins/gnuhealth_plugin_camera-latest.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
|
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
|
Source3: ftp://ftp.gnu.org/gnu/health/plugins/gnuhealth_plugin_frl-latest.tar.gz
|
||||||
Source4: %{name}.desktop
|
Source4: %{name}.desktop
|
||||||
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-Babel
|
BuildRequires: python3-Babel
|
||||||
BuildRequires: python-Sphinx
|
BuildRequires: python3-Sphinx
|
||||||
# List of additional build dependencies
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python-devel
|
BuildRequires: python3-gobject
|
||||||
BuildRequires: python-gtk
|
BuildRequires: python3-python-dateutil
|
||||||
BuildRequires: python-python-dateutil
|
BuildRequires: python3-setuptools
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: python3-simplejson
|
||||||
BuildRequires: python-simplejson
|
|
||||||
BuildRequires: update-desktop-files
|
BuildRequires: update-desktop-files
|
||||||
#Requires: librsvg
|
|
||||||
#for the plugins:
|
##Requires: librsvg
|
||||||
Requires: opencv
|
Requires: opencv
|
||||||
Requires: python-cdecimal
|
Requires: python3-GooCalendar >= 0.5
|
||||||
Requires: python-chardet
|
Requires: python3-chardet
|
||||||
Requires: python-dateutil
|
Requires: python3-dateutil
|
||||||
Requires: python-gnupg
|
Requires: python3-gnupg
|
||||||
Requires: python-gtk
|
Requires: python3-gobject
|
||||||
Requires: python-opencv
|
Requires: python3-opencv
|
||||||
Requires: python-pytz
|
Requires: python3-pytz
|
||||||
Requires: python-setuptools
|
Requires: python3-setuptools
|
||||||
Requires: python-simplejson
|
Requires: python3-simplejson
|
||||||
Requires: python-xml
|
Requires: python3-xml
|
||||||
Requires: python2-GooCalendar < 0.5
|
|
||||||
#install Tryton or GNU Health Client
|
|
||||||
Conflicts: tryton
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
|
#for the plugins:
|
||||||
|
##Requires: python3-cdecimal
|
||||||
|
|
||||||
|
Conflicts: tryton
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The client of the GNU Health Hospital application
|
The client of the GNU Health Hospital application
|
||||||
|
|
||||||
@ -79,17 +82,16 @@ tar -xzvf %{SOURCE3}
|
|||||||
:
|
:
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
|
|
||||||
# menu-entry
|
# menu-entry
|
||||||
desktop-file-install --dir %{buildroot}%{_datadir}/applications %{name}.desktop
|
desktop-file-install --dir %{buildroot}%{_datadir}/applications %{name}.desktop
|
||||||
%suse_update_desktop_file %{name}
|
%suse_update_desktop_file %{name}
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{_datadir}/pixmaps
|
mkdir -p %{buildroot}%{_datadir}/pixmaps
|
||||||
cp %{buildroot}%{python_sitelib}/tryton/data/pixmaps/tryton/gnuhealth-icon.png %{buildroot}%{_datadir}/pixmaps/gnuhealth.png
|
cp tryton/data/pixmaps/tryton/gnuhealth-icon.png %{buildroot}%{_datadir}/pixmaps/gnuhealth.png
|
||||||
|
|
||||||
##%fdupes %{buildroot}%{_datadir}
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
##%fdupes %{buildroot}%{_prefix}/lib
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%desktop_database_post
|
%desktop_database_post
|
||||||
|
Loading…
Reference in New Issue
Block a user