LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File pyfr.spec of Package pyfr (Project home:syeg)

%define name pyfr
%define version 1.5.0
%define unmangled_version 1.5.0
%define release 1

Summary: Flux Reconstruction in Python
Name: %{name}
Version: %{version}
Release: %{release}
Source0: %{name}-%{unmangled_version}.tar.gz
License: BSD
Group: Development/Libraries
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires: python3 python3-setuptools python3-Mako python3-h5py python3-Mako python3-mpi4py python3-numpy gimmik
Requires: python3 python3-setuptools python3-Mako python3-h5py python3-Mako python3-mpi4py python3-numpy gimmik
Prefix: %{_prefix}
#BuildArch: x86_64
Vendor: Imperial College London <info@pyfr.org>
Url: http://www.pyfr.org/

%description
PyFR is an open-source Python based framework for
solving advection-diffusion type problems on streaming architectures
using the Flux Reconstruction approach of Huynh. The framework is
designed to solve a range of governing systems on mixed unstructured
grids containing various element types. It is also designed to target a
range of hardware platforms via use of an in-built domain specific
language derived from the Mako templating engine. PyFR is being
developed in the Vincent Lab, Department of Aeronautics, Imperial
College London, UK.

%prep
%setup -n %{name}-%{unmangled_version} -n %{name}-%{unmangled_version}

%build
python3 setup.py build

%install
python3 setup.py install --single-version-externally-managed -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES

%clean
rm -rf $RPM_BUILD_ROOT

%files -f INSTALLED_FILES
%{python3_sitelib}/pyfr
%{python3_sitelib}/pyfr-*.egg-info
%defattr(-,root,root)