Accepting request 570778 from Application:ERP:Tryton:Factory
OBS-URL: https://build.opensuse.org/request/show/570778 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnuhealth-client?expand=0&rev=2
This commit is contained in:
parent
39e751f971
commit
72ef67b788
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 29 09:22:30 UTC 2018 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Add emptly build phase to silence rpmlint
|
||||||
|
- Drop python-rsvg require, the code does not include it
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jan 5 18:41:40 UTC 2018 - axel.braun@gmx.de
|
Fri Jan 5 18:41:40 UTC 2018 - axel.braun@gmx.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package gnuhealth-client
|
# spec file for package gnuhealth-client
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
# Copyright (c) 2015-2017 Dr. Axel Braun
|
# Copyright (c) 2015-2017 Dr. Axel Braun
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@ -16,9 +16,9 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define majorver 3.2
|
%define majorver 3.2
|
||||||
Name: gnuhealth-client
|
Name: gnuhealth-client
|
||||||
|
|
||||||
Version: %{majorver}.5
|
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
|
||||||
@ -36,7 +36,6 @@ BuildRequires: python-Sphinx
|
|||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
BuildRequires: python-gtk
|
BuildRequires: python-gtk
|
||||||
BuildRequires: python-python-dateutil
|
BuildRequires: python-python-dateutil
|
||||||
BuildRequires: python-rsvg
|
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: python-setuptools
|
||||||
BuildRequires: python-simplejson
|
BuildRequires: python-simplejson
|
||||||
BuildRequires: update-desktop-files
|
BuildRequires: update-desktop-files
|
||||||
@ -51,27 +50,28 @@ Requires: python-gnupg
|
|||||||
Requires: python-gtk
|
Requires: python-gtk
|
||||||
Requires: python-opencv
|
Requires: python-opencv
|
||||||
Requires: python-pytz
|
Requires: python-pytz
|
||||||
Requires: python-rsvg
|
|
||||||
Requires: python-setuptools
|
Requires: python-setuptools
|
||||||
Requires: python-simplejson
|
Requires: python-simplejson
|
||||||
Requires: python-xml
|
Requires: python-xml
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildArch: noarch
|
|
||||||
#install Tryton or GNU Health Client
|
#install Tryton or GNU Health Client
|
||||||
Conflicts: tryton
|
Conflicts: tryton
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The client of the GNU Health Hospital application
|
The client of the GNU Health Hospital application
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
cp %{S:2} .
|
cp %{SOURCE2} .
|
||||||
|
|
||||||
pwd
|
pwd
|
||||||
cd %{name}/plugins/
|
cd %{name}/plugins/
|
||||||
tar --strip-components 1 -xzvf %{SOURCE1}
|
tar --strip-components 1 -xzvf %{SOURCE1}
|
||||||
|
|
||||||
|
%build
|
||||||
|
:
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
|
|
||||||
@ -94,7 +94,6 @@ cp %{buildroot}%{python_sitelib}/tryton/data/pixmaps/tryton/gnuhealth-icon.png %
|
|||||||
%icon_theme_cache_postun
|
%icon_theme_cache_postun
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{_datadir}/applications/%{name}.desktop
|
%{_datadir}/applications/%{name}.desktop
|
||||||
%doc COPYRIGHT COPYING COPYRIGHT Changelog
|
%doc COPYRIGHT COPYING COPYRIGHT Changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user