forked from pool/trytond_product
c4c97ac09d
initial submission OBS-URL: https://build.opensuse.org/request/show/751149 OBS-URL: https://build.opensuse.org/package/show/Application:ERP:GNUHealth:Factory/trytond_product?expand=0&rev=8
55 lines
1.6 KiB
RPMSpec
55 lines
1.6 KiB
RPMSpec
#
|
|
# spec file for package trytond_product
|
|
#
|
|
# Copyright (c) 2019 SUSE LLC
|
|
# Copyright (c) 2014-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 https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%define majorver 5.0
|
|
Name: trytond_product
|
|
Version: %{majorver}.2
|
|
Release: 0
|
|
Summary: The "product" module for the Tryton ERP system
|
|
License: GPL-3.0-only
|
|
Group: Productivity/Office/Management
|
|
URL: http://www.tryton.org/
|
|
Source: http://downloads.tryton.org/%{majorver}/%{name}-%{version}.tar.gz
|
|
BuildRequires: fdupes
|
|
BuildRequires: python3-setuptools
|
|
Requires: trytond
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
The Product module defines the following models in the Tryton
|
|
application platform: Category of Unit of Measure, Unit of Measure,
|
|
Product Template, Product and Product Category.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
python3 setup.py build
|
|
|
|
%install
|
|
python3 setup.py install --prefix=%_prefix --root=%buildroot
|
|
%fdupes -s %{buildroot}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{python3_sitelib}/*
|
|
|
|
%changelog
|