A new user interface for you! Read more...

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
Url: http://topographica.org/

%description

`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
systems.

**Please see http://topographica.org/ for more information.**

Installation
============

Here we give a brief summary; please see
http://topographica.org/Downloads 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 setup.py install``
(e.g. ``sudo python setup.py install`` for a site-wide installation,
or ``python setup.py 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
performance.

.. _Topographica:
   http://topographica.org/Home/index.html
.. _NumPy: 
   http://pypi.python.org/pypi/numpy
.. _Gmpy: 
   http://pypi.python.org/pypi/gmpy
.. _SciPy: 
   http://pypi.python.org/pypi/scipy
.. _MatPlotLib: 
   http://pypi.python.org/pypi/matplotlib
.. _PIL: 
   http://pypi.python.org/pypi/PIL
.. _easy_install:
   http://peak.telecommunity.com/DevCenter/EasyInstall
.. _pip:
   http://pip.openplans.org/



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

%build
python setup.py build

%install
python setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES

%clean
rm -rf $RPM_BUILD_ROOT

%files -f INSTALLED_FILES
%defattr(-,root,root)