forked from pool/proteus
65 lines
1.8 KiB
RPMSpec
65 lines
1.8 KiB
RPMSpec
|
#
|
||
|
# spec file for package proteus
|
||
|
#
|
||
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||
|
# Copyright (c) 2016 Dr. Axel Braun
|
||
|
#
|
||
|
# 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.
|
||
|
|
||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||
|
|
||
|
%define majorver 3.8
|
||
|
Version: %{majorver}.4
|
||
|
|
||
|
Name: proteus
|
||
|
# List of additional build dependencies
|
||
|
BuildRequires: fdupes
|
||
|
BuildRequires: python-devel
|
||
|
BuildRequires: python-psycopg2
|
||
|
BuildRequires: python-lxml
|
||
|
BuildRequires: python-pydot
|
||
|
BuildRequires: python-setuptools
|
||
|
|
||
|
Release: 0
|
||
|
License: GPL-3.0+
|
||
|
Url: http://www.tryton.org/
|
||
|
Source0: http://downloads.tryton.org/%{majorver}/%{name}-%{version}.tar.gz
|
||
|
Group: Productivity/Office/Management
|
||
|
Summary: A library to access Tryton's modules like a client
|
||
|
|
||
|
BuildArch: noarch
|
||
|
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
Requires: trytond
|
||
|
Requires: python-dateutil
|
||
|
Requires: python-cdecimal
|
||
|
Requires: python-simplejson
|
||
|
|
||
|
|
||
|
%description
|
||
|
Proteus allows you to access Tryton's modules like a client. Useful for automation, data load etc.
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
python setup.py build
|
||
|
|
||
|
%install
|
||
|
python setup.py install --prefix=%_prefix --root=%buildroot
|
||
|
%fdupes -s %{buildroot}
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%doc README LICENSE
|
||
|
%{python_sitelib}/*
|
||
|
|
||
|
%changelog
|