Репозиторий Sisyphus
Последнее обновление: 31 марта 2023 | Пакетов: 18295 | Посещений: 27236193
en ru br
Репозитории ALT
5.1: 0.2003-alt5
4.1: 0.2003-alt3
4.0: 0.2003-alt2
3.0: 0.1998-alt0.5

Группа :: Науки/Математика
Пакет: dstool_tk

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%def_disable recommends_geomview
Name: dstool_tk
Version: 0.2003
Release: alt5
Summary: DSTool - a dynamical systems toolkit
License: GPL-like
Group: Sciences/Mathematics
Url: http://www.geom.uiuc.edu/software/dstool

#Source: http://www.cam.cornell.edu/~gucken/dstool/Version_tk/%name.tar.gz

Source: http://www.enm.bris.ac.uk/staff/hinke/dss/ode/dstool_tk-redhat8.0.tar.gz
Source1: %{name}_16.xpm
Source2: %{name}_32.xpm
Source3: %{name}_48.xpm
Source4: %{name}
Patch0: dstooltk_2.0-4-debian-dir.patch
Patch1: dstooltk_2.0-4-debian-misc.patch
Patch2: dstool_tk-redhat8.0-remove-hack-systimes.diff
Patch3: dstool_tk-debian-systimes.patch
Requires: tcl tk
# it is very useful, but it is in orphaned
%if_enabled recommends_geomview
Requires: geomview

## A utomatically added by buildreq on Tue Mar 29 2005

#BuildRequires: xorg-x11-devel xorg-x11-utils tcl-devel tk-devel
# Automatically added by buildreq on Thu Mar 13 2008 (-bi)
BuildRequires: imake tk-devel

DsTool - A Dynamical Systems Toolkit.
This software is very useful in the visual study of nonlinear systems and Chaos, as well as finding numerical solutions to differential equations. It has the ability to plot flows and maps in both 2D & 3D phase space (for 3D install Geomview  at  http://www.geomview.com). One can also define Poincare surfaces & plot bifurcation diagrams. A number of prebuilt models are included for study - e.g. Lorenz System.

#setup -q -c -n %name
%setup -q -n %name
%patch0 -p1
# patch don't work; it seems that patch3 is useless too
#%patch2 -p1
%patch3 -p1

#make World
make depend
make all

mkdir -p $RPM_BUILD_ROOT%_libdir/%name/src
%__cp -r oogl help site_specific tcl bin $RPM_BUILD_ROOT%_libdir/%name/

### see README for details; it claims to require them

%__cp -r src/models $RPM_BUILD_ROOT%_libdir/%name/src
mkdir -p $RPM_BUILD_ROOT%_bindir
%__install -m 755 bin/dstool_tk $RPM_BUILD_ROOT%_bindir/
%__sed -e 's!/u/pkg/dstool_tk}!%_libdir/%name} ${ARCH=linux} ${GEOMVIEW=/usr/bin/geomview}!' bin/dstool_tk > $RPM_BUILD_ROOT%_bindir/dstool_tk
%__install -m644 -D %SOURCE1 $RPM_BUILD_ROOT%_miconsdir/%{name}.xpm
%__install -m644 -D %SOURCE2 $RPM_BUILD_ROOT%_niconsdir/%{name}.xpm
%__install -m644 -D %SOURCE3 $RPM_BUILD_ROOT%_liconsdir/%{name}.xpm
%__install -m644 -D %SOURCE4 $RPM_BUILD_ROOT%_menudir/%{name}

%__install -m644 -D debian/dstooltk.1 $RPM_BUILD_ROOT%_man1dir/%{name}.1



Полный changelog можно просмотреть здесь

дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin