Blame packages/t/tryton/tryton.spec

f99751
#
f99751
# spec file for package tryton
f99751
#
8aa2db
# Copyright (c) 2023 SUSE LLC
f99751
# Copyright (c) 2015-2022 Dr. Axel Braun <DocB@opensuse.org>
f99751
#
f99751
# All modifications and additions to the file contributed by third parties
f99751
# remain the property of their copyright owners, unless otherwise agreed
f99751
# upon. The license for this file, and modifications and additions to the
f99751
# file, is the same license as for the pristine package itself (unless the
f99751
# license for the pristine package is not an Open Source License, in which
f99751
# case the license is the MIT License). An "Open Source License" is a
f99751
# license that conforms to the Open Source Definition (Version 1.9)
f99751
# published by the Open Source Initiative.
f99751
8d4711
# Please submit bugfixes or comments via https://bugs.opensuse.org/
f99751
#
f99751
8d4711
f99751
%define majorver 6.0
f99751
Name:           tryton
Bernhard M. Wiedemann 399b1f
Version:        %{majorver}.24
f99751
Release:        0
f99751
Summary:        The client of the Tryton application platform
8d4711
License:        GPL-3.0-or-later
f99751
Group:          Productivity/Office/Management
8d4711
URL:            http://www.tryton.org/
f99751
Source:         http://downloads.tryton.org/%{majorver}/%{name}-%{version}.tar.gz
f99751
Source1:        https://keybase.io/cedrickrier/pgp_keys.asc?fingerprint=7C5A4360F6DF81ABA91FD54D6FF50AFE03489130#/%{name}.keyring
f99751
f99751
Patch0:         000-pygtkcompat.diff
f99751
Patch1:         001-disable-version-check.diff
f99751
BuildRequires:  fdupes
f99751
BuildRequires:  python3-Babel
f99751
BuildRequires:  python3-Sphinx
f99751
BuildRequires:  python3-devel
f99751
BuildRequires:  python3-gobject
f99751
BuildRequires:  python3-python-dateutil
f99751
BuildRequires:  python3-setuptools
f99751
BuildRequires:  python3-simplejson
f99751
BuildRequires:  update-desktop-files
f99751
f99751
Requires:       python3-GooCalendar >= 0.7
f99751
Requires:       python3-cairo
f99751
Requires:       python3-chardet
f99751
Requires:       python3-dateutil
f99751
Requires:       python3-gnupg
f99751
Requires:       python3-gobject
f99751
Requires:       python3-gobject-Gdk
f99751
Requires:       python3-gobject-cairo >= 1.15.10
f99751
Requires:       python3-pytz
f99751
Requires:       python3-setuptools
f99751
Requires:       python3-simplejson
f99751
Requires:       python3-xml
f99751
BuildArch:      noarch
f99751
f99751
%description
f99751
The client of the Tryton application platform.
f99751
A three-tiers  high-level general purpose application platform
f99751
written in Python and use Postgresql as database engine.
f99751
It is the core base of an Open Source ERP.
f99751
It provides modularity, scalability and security.
f99751
f99751
%prep
f99751
%setup -q
f99751
%patch0 -p1
f99751
%patch1 -p1
f99751
f99751
%build
f99751
%python3_build
f99751
f99751
%install
f99751
%python3_install
f99751
f99751
# menu-entry
f99751
desktop-file-install --dir %{buildroot}%{_datadir}/applications %{name}.desktop
f99751
%suse_update_desktop_file %{name}
f99751
f99751
%python_expand %fdupes %{buildroot}%{python3_sitelib}
f99751
f99751
mkdir -p %{buildroot}%{_datadir}/pixmaps
f99751
cp %{buildroot}%{python3_sitelib}/%{name}/data/pixmaps/%{name}/%{name}-icon.png %{buildroot}%{_datadir}/pixmaps/%{name}-icon.png
f99751
f99751
%files
f99751
%{_bindir}/%{name}
f99751
%{_datadir}/applications/%{name}.desktop
f99751
%doc COPYRIGHT README.rst CHANGELOG
f99751
%license LICENSE
f99751
%{_datadir}/pixmaps/*
f99751
%{python3_sitelib}/*
f99751
f99751
%changelog