Пакет octave-odebvp: Specfile
%define octave_pkg_version 1.0.6 %define octave_pkg_name odebvp %define octave_descr_name odebvp Name: octave-%octave_pkg_name Version: 1.0.6 Release: alt3 Summary: Linear-difference method for linear odes - boundary-value problem Group: Sciences/Mathematics License: GPL version 2 or later URL: http://octave.sf.net Source0: %octave_pkg_name-%version.tar.gz BuildRequires: octave-devel %if_with _octave_arch BuildRequires: gcc-c++ libfftw3-devel libhdf5-devel liblapack-devel libncurses-devel libreadline-devel octave-devel %else BuildArch: noarch %endif Provides: octave(odebvp) = %version # Depends: octave (>= 2.9.9) Requires: octave >= 2.9.9 %description Octave-Forge - Extra packages for GNU Octave. This package contains the %octave_descr_name GNU Octave extension. Extension Description: To approximate the solution of the boundary-value problem y''=p(x)*y' + q(x)*y + r(x), a<=x<=b, y(a)=alpha, y(b)=beta by the linear finite-diffence method. %prep %setup -n %octave_pkg_name-%version %build octave -q -H --no-site-file --eval "pkg build -nodeps . %SOURCE0" %install mkdir -p %buildroot%_datadir/octave/packages mkdir -p %buildroot%_libdir/octave/packages octave -q -H --no-site-file --eval "pkg prefix %buildroot%_datadir/octave/packages %buildroot%_libdir/octave/packages; pkg install -local -nodeps %octave_pkg_name-%octave_pkg_version.tar.gz" %files %_datadir/octave/packages/%octave_pkg_name-%octave_pkg_version %if_with _octave_arch %_libdir/octave/packages/%octave_pkg_name-%octave_pkg_version %endif %changelog * Tue Jul 07 2015 Paul Wolneykien <manowar@altlinux.org> 1.0.6-alt3 - Rebuild with the next version of Octave: 4.0.0 * Tue Jan 14 2014 Paul Wolneykien <manowar@altlinux.ru> 1.0.6-alt2 - Rebuild with the next version of Octave: 3.8.0 * Mon Nov 28 2011 Igor Vlasenko <viy@altlinux.ru> 1.0.6-alt1 - initial import by octave-package-builder |