File topographica.spec of Package topographica

%define name topographica
%define version 0.9.7
%define unmangled_version 0.9.7
%define release 0.9.7

Summary: A general-purpose neural simulator focusing on topographic maps.
Name: %{name}
Version: %{version}
Release: %{release}
Source0: %{name}-%{unmangled_version}.tar.gz
License: BSD
Group: Productivity/Scientific/Other
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Prefix: %{_prefix}
BuildArch: noarch
Vendor: Topographica Developers <developers[at]topographica[dot]org>
Requires: python python-devel tkinter numpy scipy python-imaging-tk python-matplotlib python-matplotlib-tk ipython


`Topographica`_ is a software package for computational modeling of
neural maps. The goal is to help researchers understand brain function
at the level of the topographic maps that make up sensory and motor

**Please see for more information.**


Here we give a brief summary; please see for full details.

If you have `easy_install`_ or `pip`_ (or similar), you can use one of
those to install Topographica and its dependencies automatically
(e.g. ``easy_install topographica`` or ``pip install topographica``).

Alternatively, you can download and unpack the archive below, and then
install Topographica with a command like ``python install``
(e.g. ``sudo python install`` for a site-wide installation,
or ``python install --user`` to install into
``~/.local``). You will need to install at least `NumPy`_ and `PIL`_
before running Topographica. We also recommend that you install
`MatPlotLib`_ so you can access all Topographica's plots, as well as
`Gmpy`_ and Weave (available as part of `SciPy`_) for optimum

.. _Topographica:
.. _NumPy:
.. _Gmpy:
.. _SciPy:
.. _MatPlotLib:
.. _PIL:
.. _easy_install:
.. _pip:

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

python build

python install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES