Sisyphus repository
Last update: 2018-02-18 23:05:38 +0300 | SRPMs: 18274 | Sign in or Sign up
en ru uk br
ALT Linux repositories
hide window
Sisyphus: 1:2.2.2-alt2
p8: 1:2.2.2-alt1
p7: 1:2.2.0-alt1
t7: 1:2.2.0-alt1.M70T.1
t6: 1:2.2.0-alt1.M60T.1

Group :: Sciences/Mathematics
Source RPM: octave-linear-algebra

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

Raw spec file

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

%def_with _octave_arch
%define octave_pkg_version 2.2.2
%define octave_pkg_name linear-algebra
%define octave_descr_name Linear-algebra
Epoch: 1
Name: octave-%octave_pkg_name
Version: 2.2.2
Release: alt2
Summary: Linear algebra.

Group: Sciences/Mathematics
License: GPLv3+, LGPLv3+, FreeBSD


BuildRequires: octave-devel
%if_with _octave_arch
BuildRequires: gcc-c++ gcc-g77 libfftw3-devel libhdf5-devel liblapack-devel libncurses-devel libreadline-devel
BuildRequires: libGL-devel libGLU-devel libGraphicsMagick-c++-devel libGraphicsMagick-devel fontconfig-devel libfreetype-devel libX11-devel libgl2ps-devel libcurl-devel libsuitesparse-devel libarpack-ng-devel libqrupdate-devel libpcre-devel
BuildArch: noarch
Provides: octave(linear-algebra) = %version
# Depends: octave (>= 4.0.0)

Requires: octave >= 4.0.0

Octave-Forge - Extra packages for GNU Octave.
This package contains the %octave_descr_name GNU Octave extension.

Extension Description:
Additional linear algebra code, including general SVD and matrix functions.

%setup -q -n %{octave_pkg_name}

%define build_flags CXXFLAGS=$CXXFLAGS
%build_flags octave -H --no-site-file --eval "pkg build -verbose -nodeps . %SOURCE0"

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

%if_with _octave_arch

* Thu May 18 2017 Paul Wolneykien <manowar at> 1:2.2.2-alt2
- regenerated from template by package builder

* Thu Apr 14 2016 Igor Vlasenko <viy at> 1:2.2.2-alt1
- regenerated from template by package builder

* Wed Jan 15 2014 Cronport Service <cronport at> 1:2.2.0-alt1.M70T.1
- backport

* Tue Jan 08 2013 Paul Wolneykien <manowar at> 1:2.2.0-alt1
- updated by octave-package-builder

* Thu Nov 17 2011 Igor Vlasenko <viy at> 2.1.0-alt1
- initial import by octave-package-builder

© 2009–2018 Igor Zubkov