Пакет octave-parallel: Specfile
# BEGIN SourceDeps(oneline): BuildRequires: /usr/bin/mkoctfile /usr/bin/octave glibc-devel # END SourceDeps(oneline) %def_with _octave_arch %define octave_pkg_version 2.2.0 %define octave_pkg_name parallel %define octave_descr_name Parallel Name: octave-%octave_pkg_name Version: 2.2.0 Release: alt1.M60T.1 Summary: Parallel Computing. Group: Sciences/Mathematics License: GPLv3+ URL: http://octave.sf.net Source0: %octave_pkg_name-%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 octave-devel %else BuildArch: noarch %endif Provides: octave(parallel) = %version # Depends: octave (>= 3.4.0) Requires: octave >= 3.4.0 %description Octave-Forge - Extra packages for GNU Octave. This package contains the %octave_descr_name GNU Octave extension. Extension Description: Parallel execution package. See also package mpi, maintained %prep %setup -c -n %name-%version %build tar czf ../%octave_pkg_name-%version.tar.gz * rm -rf * octave -q -H --no-site-file --eval "pkg build -nodeps . ../%octave_pkg_name-%version.tar.gz" %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 * Sun Aug 23 2015 Cronport Service <cronport@altlinux.org> 2.2.0-alt1.M60T.1 - backport * Wed Jul 02 2014 Cronport Service <cronport@altlinux.org> 2.2.0-alt0.M60T.1 - backport * Wed Jan 15 2014 Cronport Service <cronport@altlinux.org> 2.1.1-alt0.M60T.1 - backport * Tue Jan 14 2014 Paul Wolneykien <manowar@altlinux.ru> 2.1.1-alt1 - updated by octave-package-builder |