2016-09-23 11:32:28 +02:00
|
|
|
#
|
|
|
|
# spec file for package proteus
|
|
|
|
#
|
2022-01-18 17:14:33 +01:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2019-11-29 15:18:21 +01:00
|
|
|
# Copyright (c) 2019 Dr. Axel Braun
|
2016-09-23 11:32:28 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-12-10 20:09:26 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2016-11-08 18:28:06 +01:00
|
|
|
#
|
|
|
|
|
2016-09-23 11:32:28 +02:00
|
|
|
|
2019-11-29 15:18:21 +01:00
|
|
|
%define majorver 5.0
|
2016-09-23 11:32:28 +02:00
|
|
|
Name: proteus
|
2022-01-18 17:14:33 +01:00
|
|
|
Version: %{majorver}.11
|
2017-07-05 23:55:37 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: A library to access Tryton's modules like a client
|
2018-03-11 15:24:29 +01:00
|
|
|
License: GPL-3.0-or-later
|
2017-07-05 23:55:37 +02:00
|
|
|
Group: Productivity/Office/Management
|
2019-11-29 15:18:21 +01:00
|
|
|
URL: http://www.tryton.org/
|
2017-07-05 23:55:37 +02:00
|
|
|
Source0: http://downloads.tryton.org/%{majorver}/%{name}-%{version}.tar.gz
|
2021-02-28 08:55:25 +01:00
|
|
|
Source1: http://downloads.tryton.org/%{majorver}/%{name}-%{version}.tar.gz.asc
|
|
|
|
Source2: https://keybase.io/cedrickrier/pgp_keys.asc?fingerprint=7C5A4360F6DF81ABA91FD54D6FF50AFE03489130#/%{name}.keyring
|
2016-09-23 11:32:28 +02:00
|
|
|
# List of additional build dependencies
|
|
|
|
BuildRequires: fdupes
|
2022-01-18 17:14:33 +01:00
|
|
|
BuildRequires: python-rpm-macros
|
2019-11-29 15:18:21 +01:00
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-lxml
|
|
|
|
BuildRequires: python3-psycopg2
|
|
|
|
BuildRequires: python3-pydot
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
Requires: python3-dateutil
|
2016-11-08 18:28:06 +01:00
|
|
|
Requires: trytond
|
2017-07-05 23:55:37 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildArch: noarch
|
2016-09-23 11:32:28 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
Proteus allows you to access Tryton's modules like a client. Useful for automation, data load etc.
|
|
|
|
|
|
|
|
%prep
|
2021-07-02 09:12:56 +02:00
|
|
|
%setup -q
|
2016-09-23 11:32:28 +02:00
|
|
|
|
2021-07-02 09:12:56 +02:00
|
|
|
%build
|
2019-11-29 15:18:21 +01:00
|
|
|
python3 setup.py build
|
2016-11-08 18:28:06 +01:00
|
|
|
|
2016-09-23 11:32:28 +02:00
|
|
|
%install
|
2021-07-02 09:12:56 +02:00
|
|
|
python3 setup.py install --prefix=%_prefix --root=%buildroot
|
2016-09-23 11:32:28 +02:00
|
|
|
%fdupes -s %{buildroot}
|
|
|
|
|
2021-07-02 09:12:56 +02:00
|
|
|
%files
|
2016-09-23 11:32:28 +02:00
|
|
|
%defattr(-,root,root)
|
2021-07-02 09:12:56 +02:00
|
|
|
%doc README
|
2020-11-11 19:13:03 +01:00
|
|
|
%license LICENSE
|
2021-11-28 20:19:57 +01:00
|
|
|
%{python3_sitelib}/*
|
2016-09-23 11:32:28 +02:00
|
|
|
|
|
|
|
%changelog
|