Sisyphus repository
Last update: 2018-10-19 22:08:06 +0400 | SRPMs: 18642 | Sign in or Sign up
en ru uk br
ALT Linux repositories
hide window
Sisyphus: 3.1.2-alt1
p8: 3.0.4-alt1
t7: 2.2.0-alt1.M70T.1
t6: 2.2.0-alt1.M60T.1

Group :: Sciences/Mathematics
Source RPM: octave-parallel

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR (0/0)   Repocop 

Raw spec file

# BEGIN SourceDeps(oneline):
BuildRequires: /usr/bin/octave-config makeinfo texinfo
# END SourceDeps(oneline)

%def_with _octave_arch
%define octave_pkg_version 3.1.2
%define octave_pkg_name parallel
%define octave_descr_name parallel
Name: octave-%octave_pkg_name
Version: 3.1.2
Release: alt1
Summary: Parallel Computing.

Group: Sciences/Mathematics
License: GPLv3+
Url: http://octave.sourceforge.net/

Source0: https://downloads.sourceforge.net/project/octave/Octave%%20Forge%%20Packages/Individual%%20Package%%20Releases/%{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(parallel) = %version

# octave module BuildRequires: libgnutls..-dev

BuildRequires: libgnutls-devel
# Depends: octave (>= 3.8.0), struct (>= 1.0.12)

Requires: octave >= 3.8.0 octave(struct) >= 1.0.12


%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 -q -n %{octave_pkg_name}-%{octave_pkg_version}

%build
octave -q -H --no-window-system --no-site-file --eval "pkg build -verbose -nodeps . %SOURCE0"

%install
mkdir -p %buildroot%_datadir/octave/packages
mkdir -p %buildroot%_libdir/octave/packages
%if_with _octave_arch
octave -H --no-window-system --no-site-file --eval "pkg prefix %buildroot%_datadir/octave/packages %buildroot%_libdir/octave/packages; pkg install -nodeps -verbose -local %octave_pkg_name-%octave_pkg_version-$(octave -H --no-window-system --no-site-file --eval "printf([__octave_config_info__(\"canonical_host_type\"), \"-\",  __octave_config_info__(\"api_version\")])").tar.gz"
%else
octave -q -H --no-window-system --no-site-file --eval "pkg prefix %buildroot%_datadir/octave/packages %buildroot%_libdir/octave/packages; pkg install -nodeps -verbose -local %octave_pkg_name-%octave_pkg_version-any-none.tar.gz"
%endif

%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 May 24 2018 Igor Vlasenko <viy at altlinux.ru> 3.1.2-alt1
- initial import by package builder

 
© 2009–2018 Igor Zubkov