Name: python-dolfin Version: 2019.1.0.post0 %global fenics_version 2019.1 Release: 1%{?dist} Summary: FEniCS computational backend and problem solving environment License: LGPLv3+ URL: https://fenicsproject.org/ Source0: https://bitbucket.org/fenics-project/dolfin/downloads/dolfin-%{version}.tar.gz Source1: https://bitbucket.org/fenics-project/dolfin/downloads/dolfin-%{version}.tar.gz.asc BuildArch: noarch BuildRequires: python3-devel BuildRequires: cmake %global _description %{expand: DOLFIN is the computational backend of FEniCS and implements the FEniCS Problem Solving Environment in Python and C++.} %description %_description %package -n python3-dolfin Summary: %{summary} %{?python_provide:%python_provide python3-dolfin} %description -n python3-dolfin %_description %prep %autosetup -n dolfin-%{version} %build %cmake . %make_build %install %make_install %check ctest -V %{?_smp_mflags} %files -n python3-dolfin %doc README.rst %{python3_sitelib}/dolfin-%{version}-py%{python3_version}.egg-info/ %changelog * Tue Oct 9 2019 Zbigniew Jędrzejewski-Szmek - 2019.1.0-1 - Initial packaging