Group :: Sciences/Mathematics
RPM: octave-optim
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
# BEGIN SourceDeps(oneline):
BuildRequires: /usr/bin/octave-config makeinfo texinfo
# END SourceDeps(oneline)
%def_with _octave_arch
%define octpkg optim
Epoch: 1
Name: octave-%octpkg
Version: 1.6.2
Release: alt1
Summary: Optimization.
Group: Sciences/Mathematics
License: GPLv3+, modified BSD, public domain
Url: http://octave.sourceforge.net/
Source0: https://downloads.sourceforge.net/project/octave/Octave%%20Forge%%20Packages/Individual%%20Package%%20Releases/%{octpkg}-%{version}.tar.gz
BuildRequires(pre): rpm-build-octave
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(optim) = %version
# Depends: octave (>= 4.0.0), struct (>= 1.0.12), statistics (>= 1.4.0)
Requires: octave >= 4.0.0 octave(struct) >= 1.0.12 octave(statistics) >= 1.4.0
%description
Non-linear optimization toolkit.
%prep
%setup -q -n %{octpkg}-%{version}
%build
%octave_build
%install
%octave_install
%files
%doc NEWS COPYING DESCRIPTION doc
%_datadir/octave/packages/%octpkg-%version
%if_with _octave_arch
%_libdir/octave/packages/%octpkg-%version
%endif
%changelog
…
Full changelog you can see here
BuildRequires: /usr/bin/octave-config makeinfo texinfo
# END SourceDeps(oneline)
%def_with _octave_arch
%define octpkg optim
Epoch: 1
Name: octave-%octpkg
Version: 1.6.2
Release: alt1
Summary: Optimization.
Group: Sciences/Mathematics
License: GPLv3+, modified BSD, public domain
Url: http://octave.sourceforge.net/
Source0: https://downloads.sourceforge.net/project/octave/Octave%%20Forge%%20Packages/Individual%%20Package%%20Releases/%{octpkg}-%{version}.tar.gz
BuildRequires(pre): rpm-build-octave
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(optim) = %version
# Depends: octave (>= 4.0.0), struct (>= 1.0.12), statistics (>= 1.4.0)
Requires: octave >= 4.0.0 octave(struct) >= 1.0.12 octave(statistics) >= 1.4.0
%description
Non-linear optimization toolkit.
%prep
%setup -q -n %{octpkg}-%{version}
%build
%octave_build
%install
%octave_install
%files
%doc NEWS COPYING DESCRIPTION doc
%_datadir/octave/packages/%octpkg-%version
%if_with _octave_arch
%_libdir/octave/packages/%octpkg-%version
%endif
%changelog
…
Full changelog you can see here