2017-03-16 14:37:45 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package python-FIAT
|
|
|
|
|
#
|
2020-02-09 04:10:36 +00:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2017-03-16 14:37:45 +00: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.
|
|
|
|
|
|
2020-02-09 04:10:36 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2017-03-16 14:37:45 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%define modname FIAT
|
|
|
|
|
%define pyname fiat
|
2020-02-09 04:10:36 +00:00
|
|
|
%define modver 2019.1.0
|
2017-03-16 14:37:45 +00:00
|
|
|
Name: python3-%{modname}
|
2020-02-09 04:10:36 +00:00
|
|
|
Version: 2019.1.0
|
2017-03-16 14:37:45 +00:00
|
|
|
Release: 0
|
2020-02-09 04:10:36 +00:00
|
|
|
Summary: The FInite element Automatic Tabulator
|
|
|
|
|
License: LGPL-3.0-or-later
|
2017-03-16 14:37:45 +00:00
|
|
|
Group: Development/Languages/Python
|
2020-02-09 04:10:36 +00:00
|
|
|
URL: https://fenicsproject.org
|
2019-03-20 18:48:32 +00:00
|
|
|
Source0: https://bitbucket.org/fenics-project/%{pyname}/downloads/%{pyname}-%{version}.tar.gz
|
2020-02-09 04:10:36 +00:00
|
|
|
BuildRequires: python-rpm-macros
|
2017-03-16 14:37:45 +00:00
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
|
Requires: python3-sympy
|
2020-02-09 04:10:36 +00:00
|
|
|
BuildArch: noarch
|
2017-03-16 14:37:45 +00:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
The FInite element Automatic Tabulator FIAT supports generation of
|
|
|
|
|
arbitrary order instances of the Lagrange elements on lines, triangles,
|
|
|
|
|
and tetrahedra. It is also capable of generating arbitrary order instances
|
|
|
|
|
of Jacobi-type quadrature rules on the same element shapes. Further,
|
|
|
|
|
H(div) and H(curl) conforming finite element spaces such as the families
|
|
|
|
|
of Raviart-Thomas, Brezzi-Douglas-Marini and Nedelec are supported on
|
|
|
|
|
triangles and tetrahedra. Upcoming versions will also support Hermite
|
|
|
|
|
and nonconforming elements.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{pyname}-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
python3 setup.py build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
python3 setup.py install --root %{buildroot} --prefix=%{_prefix}
|
|
|
|
|
|
|
|
|
|
%files
|
2020-02-09 04:10:36 +00:00
|
|
|
%doc AUTHORS ChangeLog.rst README.rst
|
2019-03-20 18:48:32 +00:00
|
|
|
%license COPYING COPYING.LESSER
|
2017-03-16 14:37:45 +00:00
|
|
|
%{python3_sitelib}/%{modname}
|
2020-02-09 04:10:36 +00:00
|
|
|
%{python3_sitelib}/fenics_fiat-%{modver}-py%{py3_ver}.egg-info
|
2017-03-16 14:37:45 +00:00
|
|
|
|
|
|
|
|
%changelog
|