File python3-dijitso.spec of Package python3-dijitso

#
# spec file for package python3-dijitso
#
# Copyright (c) 2020 SUSE LLC
#
# 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 modname dijitso
Name:           python3-dijitso
Version:        2019.1.0
Release:        0
License:        LGPL-3.0-or-later
Group:          Development/Languages/Python
Summary:        A Python module for distributed just-in-time shared library building
URL:            https://fenicsproject.org
Source:         https://bitbucket.org/fenics-project/%{modname}/downloads/%{modname}-%{version}.tar.gz
BuildArch:      noarch
BuildRequires:  python3-setuptools
Requires:       python3-six
Requires:       python3-numpy

%description
A Python module for distributed just-in-time shared library building.

DIJITSO is part of the FEniCS Project.

For more information, visit http://www.fenicsproject.org

%prep
%setup -q -n %{modname}-%{version}

%build
python3 setup.py build

%install
python3 setup.py install --root %{buildroot} --prefix=%{_prefix}

%files
%doc ChangeLog.rst README.rst
%license COPYING COPYING.LESSER
%{_bindir}/*
%{_mandir}/man1/*
%{python3_sitelib}/*

%changelog
openSUSE Build Service is sponsored by