2017-03-16 14:36:21 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package python-ufl
|
|
|
|
|
#
|
2020-02-09 04:10:27 +00:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2017-03-16 14:36:21 +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:27 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2017-03-16 14:36:21 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%define modname ufl
|
|
|
|
|
Name: python3-ufl
|
2020-02-09 04:10:27 +00:00
|
|
|
Version: 2019.1.0
|
2017-03-16 14:36:21 +00:00
|
|
|
Release: 0
|
|
|
|
|
Summary: A domain specific language for declaration of finite element discretizations
|
2020-02-09 04:10:27 +00:00
|
|
|
License: LGPL-3.0-or-later
|
2017-03-16 14:36:21 +00:00
|
|
|
Group: Development/Languages/Python
|
2020-02-09 04:10:27 +00:00
|
|
|
URL: https://fenicsproject.org
|
|
|
|
|
Source0: https://bitbucket.org/fenics-project/%{modname}/downloads/%{modname}-%{version}.tar.gz
|
2017-03-16 14:36:21 +00:00
|
|
|
BuildArch: noarch
|
2020-02-09 04:10:27 +00:00
|
|
|
BuildRequires: python-rpm-macros
|
2017-03-16 14:36:21 +00:00
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
|
Requires: python3-six
|
|
|
|
|
Requires: python3-numpy
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
The Unified Form Language (UFL) is a domain specific language for
|
|
|
|
|
declaration of finite element discretizations of variational forms.
|
|
|
|
|
More precisely, it defines a flexible interface for choosing finite
|
|
|
|
|
element spaces and defining expressions for weak forms in a notation
|
|
|
|
|
close to mathematical notation.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{modname}-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
python3 setup.py build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
python3 setup.py install --root %{buildroot} --prefix=%{_prefix}
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
%files
|
2020-02-09 04:10:27 +00:00
|
|
|
%doc ChangeLog.rst README.rst
|
|
|
|
|
%license COPYING COPYING.LESSER
|
|
|
|
|
%{python3_sitelib}/
|
2017-03-16 14:36:21 +00:00
|
|
|
|
|
|
|
|
%changelog
|