Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37513174
en ru br
Репозитории ALT
S:8.3.0-alt1
5.1: 3.0.5-alt1
4.1: 3.0.0-alt1
4.0: 2.9.13-alt0.M40.1
www.altlinux.org/Changes

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

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

Name: octave
Version: 3.0.5
Release: alt1

%define docdir %_defaultdocdir/%name-%version

Summary: GNU Octave -- a high-level language for numerical computations
License: GPLv3
Group: Sciences/Mathematics
Url: www.octave.org

BuildRequires: flex gcc-c++ gcc-fortran libcurl-devel libfftw3-devel libglpk-devel libhdf5-devel liblapack-devel
BuildRequires: libncurses-devel libpcre-devel libreadline-devel libstdc++-devel libtinfo-devel zlib-devel
BuildRequires: desktop-file-utils gnuplot less tetex-dvips tetex-latex

Source: %name-%version-%release.tar

Requires: gnuplot

%package devel
Summary: GNU Octave -- development part
Group: Development/C
Requires: %name = %version-%release

%package doc
Summary: GNU Octave -- documentation
Group: Development/Other

%description
GNU Octave is a high-level language, primarily intended for numerical
computations. It provides a convenient command line interface for
solving linear and nonlinear problems numerically, and for performing
other numerical experiments using a language that is mostly compatible
with Matlab. It may also be used as a batch-oriented language.

Octave has extensive tools for solving common numerical linear algebra
problems, finding the roots of nonlinear equations, integrating
ordinary functions, manipulating polynomials, and integrating ordinary
differential and differential-algebraic equations. It is easily
extensible and customizable via user-defined functions written in
Octave's own language, or using dynamically loaded modules written in
C++, C, Fortran, or other languages.

%description devel
GNU Octave is a high-level language, primarily intended for numerical
computations. It provides a convenient command line interface for
solving linear and nonlinear problems numerically, and for performing
other numerical experiments using a language that is mostly compatible
with Matlab. It may also be used as a batch-oriented language.

This package contains development libraries and header files.

%description doc
GNU Octave is a high-level language, primarily intended for numerical
computations. It provides a convenient command line interface for
solving linear and nonlinear problems numerically, and for performing
other numerical experiments using a language that is mostly compatible
with Matlab. It may also be used as a batch-oriented language.

This package contains extra documentation for GNU Octave.

%prep
%setup

%build
%autoreconf
%configure --libexecdir=%_libdir \
   --enable-dl --enable-shared \
   --disable-static --disable-rpath \
   --enable-lite-kernel --enable-picky-flags
make

%install
%makeinstall
find %buildroot%_libdir/%name -type f \
   '(' -name info-emacs-info -o -name info-emacs-octave-help ')' -delete

mkdir -p %buildroot%_datadir/octave/packages %buildroot%_libdir/octave/packages

install -pm0644 -D %{name}_16.xpm %buildroot%_miconsdir/%name.xpm
install -pm0644 -D %{name}_32.xpm %buildroot%_niconsdir/%name.xpm
install -pm0644 -D %{name}_48.xpm %buildroot%_liconsdir/%name.xpm

pushd doc
mkdir -p %buildroot%docdir
find interpreter/HTML liboctave/HTML -type f |cpio -pmdv %buildroot%docdir
install -pm0644 faq/Octave-FAQ.pdf interpreter/octave.pdf \
   liboctave/liboctave.pdf refcard/refcard-a4.pdf %buildroot%docdir
popd
gzip ChangeLog
install -pm0644 BUGS COPYING NEWS* PROJECTS README README.Linux \
   ChangeLog.gz ROADMAP SENDING-PATCHES THANKS %buildroot%docdir

%post
%install_info octave.info

%preun
%uninstall_info octave.info

%files
%docdir/BUGS
%docdir/COPYING
%docdir/NEWS*
%docdir/PROJECTS
%docdir/README
%docdir/README.Linux
%docdir/ChangeLog.gz
%docdir/ROADMAP
%docdir/SENDING-PATCHES
%docdir/THANKS

%_bindir/octave
%_bindir/octave-%version
%_bindir/octave-bug
%_bindir/octave-bug-%version
%_bindir/octave-config
%_bindir/octave-config-%version
%_bindir/mkoctfile
%_bindir/mkoctfile-%version

%_libdir/libcruft.so.*
%_libdir/liboctave.so.*
%_libdir/liboctinterp.so.*

%_libdir/octave
%_datadir/octave

%_infodir/octave.info*

%_man1dir/*

%_desktopdir/*.desktop

%_niconsdir/%name.xpm
%_miconsdir/%name.xpm
%_liconsdir/%name.xpm

%_libdir/libcruft.so
%_libdir/liboctave.so
%_libdir/liboctinterp.so

%files devel
%_includedir/%name-%version

%files doc
%docdir/*.pdf
%docdir/interpreter
%docdir/liboctave

%changelog

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

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