Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37767313
en ru br
ALT Linux repositórios
S:6.11b-alt1
5.0: 5.98-alt1.1
4.1: 5.91-alt3
4.0: 5.91-alt2
3.0: 5.91-alt1

Group :: Ciências/Matemática
RPM: xppaut

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e 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

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009