%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: fiat Version: 0.3.4 Release: 1%{?dist} Summary: Tabulation of finite element function spaces Group: Applications/System License: GPLv3+ URL: http://www.fenics.org/wiki/FIAT Source0: http://www.fenics.org/pub/software/%{name}/FIAT-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: python BuildRequires: python-setuptools-devel %description The FInite element Automatic Tabulator FIAT supports generation ofmarbitrary 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. Upcoming versions will also support Hermite and nonconforming elements as well as H(div) and H(curl) elements such as Raviart-Thomas and Nedelec. While FIAT may be used in a stand-alone mode by writers of finite element code, we suggest using it underneath a code generation system such as FFC or PETSc expression graphs. %prep %setup -q -n FIAT-%{version} %build python ./setup.py build %install rm -rf %{buildroot} python ./setup.py install -O1 --skip-build --root=%{buildroot} #INSTALL_DIR %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %{python_sitelib}/FIAT/ %{python_sitelib}/FIAT*.egg-info %changelog * Wed Jan 08 2009 Fabian Affolter - 0.3.4-1 - Initial package for Fedora