Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37266960
en ru br
Репозитории ALT
S:6.11b-alt1
5.1: 5.98-alt1.1
4.1: 5.91-alt3
4.0: 5.91-alt2
3.0: 5.91-alt1
www.altlinux.org/Changes

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

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

Summary: xppaut -- Phase Plane Plus Auto: Solves many kinds of equations

Name: xppaut
Version: 6.11b
Release: alt1

License: GPL
Group: Sciences/Mathematics
Url: http://www.math.pitt.edu/~bard/xpp/xpp.html
Packager: Vlasenko Igor <viy at altlinux.ru>
Source: http://ftp.debian.org/debian/pool/main/x/xppaut/%{name}-%{version}.tar
Source1: %{name}_16.xpm
Source2: %{name}_32.xpm
Source3: %{name}_48.xpm
# debian
Patch0: 010_makefile.diff

# Automatically added by buildreq on Wed May 14 2008 (-bi)

BuildRequires: libX11-devel

%description
XPPAUT is a tool for solving

  * differential equations,
  * difference equations,
  * delay equations,
  * functional equations,
  * boundary value problems, and
  * stochastic equations.

The code brings together a number of useful algorithms and is extremely portable. All the graphics and interface are written completely in Xlib which explains the somewhat idiosyncratic and primitive widgets interface.
Homepage: http://www.math.pitt.edu/~bard/xpp/xpp.html


%prep
%setup -c -n %{name}-%{version}
%patch0 -p1
find . -name '*~' -delete

%build

%make_build CFLAGS=' -g -pedantic -fcommon -O -DNOERRNO -DNON_UNIX_STDIO -DAUTO -DCVODE_YES -DHAVEDLL -DMYSTR1=$(MAJORVER) -DMYSTR2=$(MINORVER) -I/usr/include/X11' LDFLAGS=

%install
make install DESTDIR=$RPM_BUILD_ROOT BINDIR=%_bindir MANDIR=%_man1dir DOCDIR=/usr/share/doc/xppaut
mv $RPM_BUILD_ROOT/usr/share/doc/%{name} ./%{name}-doc
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
mkdir -p %buildroot%_desktopdir
cat > %buildroot%_desktopdir/%{name}.desktop <<EOF
[Desktop Entry]
Version=1.0
Type=Application
Name=XPPAUT
Comment=%{summary}
Comment[ru]=п≤п╫я│я┌я─я┐п╪п╣п╫я┌ п╢п╩я▐ я─п╣я┬п╣п╫п╦я▐ я┐я─п╟п╡п╫п╣п╫п╦п╧ п╡я▀я│я┬п╣п╧ п╪п╟я┌п╣п╪п╟я┌п╦п╨п╦.
Comment[uk]=п├п╫я│я┌я─я┐п╪п╣п╫я┌ п╢п╩я▐ я─п╬п╥п╡'я▐п╥п╨я┐ я─я√п╡п╫я▐п╫я▄ п╡п╦я┴п╬я≈ п╪п╟я┌п╣п╪п╟я┌п╦п╨п╦.
Icon=%{name}
Exec=%{name}
Terminal=false
Categories=Science;Math;
EOF

# for help to work --- path to help

pushd $RPM_BUILD_ROOT%_docdir; %__ln_s %{name}-%{version} %{name}; popd

%files
%doc %{name}-doc/* HISTORY
%_bindir/*
%_man1dir/*
#%_libdir/%name
%_docdir/%{name}
%_miconsdir/%{name}.xpm
%_niconsdir/%{name}.xpm
%_liconsdir/%{name}.xpm
%_desktopdir/%{name}.desktop

%changelog

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

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