Package octave-stk: Specfile
# BEGIN SourceDeps(oneline): BuildRequires: makeinfo # END SourceDeps(oneline) %def_with _octave_arch %define octave_pkg_version 2.3.4 %define octave_pkg_name stk %define octave_descr_name STK Name: octave-%octave_pkg_name Version: 2.3.4 Release: alt1 Summary: STK: A Small Toolbox for Kriging Group: Sciences/Mathematics License: GPLv2+ and Public Domain URL: https://sourceforge.net/projects/kriging/ Source0: http://downloads.sourceforge.net/octave/%{octave_pkg_name}-%{octave_pkg_version}.tar.gz BuildRequires: octave-devel %if_with _octave_arch BuildRequires: gcc-c++ gcc-g77 libfftw3-devel libhdf5-devel liblapack-devel libncurses-devel libreadline-devel %else BuildArch: noarch %endif Provides: octave(stk) = %version # Depends: octave (>= 3.2.2) Requires: octave >= 3.2.2 %description Octave-Forge - Extra packages for GNU Octave. This package contains the %octave_descr_name GNU Octave extension. Extension Description: The STK is a (not so) Small Toolbox for Kriging. Its primary %prep %setup -q -n %{octave_pkg_name} %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 * Thu Apr 14 2016 Igor Vlasenko <viy@altlinux.ru> 2.3.4-alt1 - initial import by package builder |