2024-01-06 08:06:12 +01:00
|
|
|
Name: octave
|
2024-01-06 08:06:12 +01:00
|
|
|
Version: 3.8.2
|
2024-01-06 08:06:12 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A high-level language, primarily intended for numerical computations
|
|
|
|
Group: Applications/Mathematics
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://www.octave.org
|
|
|
|
Source0: ftp://ftp.gnu.org/gnu/octave/octave-%{version}.tar.bz2
|
|
|
|
Source1: octave.png
|
|
|
|
Patch0: %{name}-3.4.2-curl_remove_include.patch
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-06 08:06:12 +01:00
|
|
|
BuildRequires: GraphicsMagick-devel
|
2024-01-06 08:06:12 +01:00
|
|
|
BuildRequires: gcc-fortran
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 08:06:12 +01:00
|
|
|
BuildRequires: libGL-devel
|
|
|
|
BuildRequires: libGLU-devel
|
|
|
|
BuildRequires: libX11-devel
|
|
|
|
BuildRequires: libXext-devel
|
|
|
|
BuildRequires: libXft-devel
|
|
|
|
BuildRequires: libXinerama-devel
|
|
|
|
BuildRequires: libatlas-devel
|
2024-01-06 08:06:12 +01:00
|
|
|
BuildRequires: libblas-devel
|
|
|
|
BuildRequires: libcurl-devel
|
|
|
|
BuildRequires: libfftw-devel
|
|
|
|
BuildRequires: libfltk-devel
|
|
|
|
BuildRequires: libfontconfig-devel
|
|
|
|
BuildRequires: libfreetype-devel
|
|
|
|
BuildRequires: libgcc
|
2024-01-06 08:06:12 +01:00
|
|
|
BuildRequires: libglpk-devel
|
2024-01-06 08:06:12 +01:00
|
|
|
BuildRequires: libgomp-devel
|
|
|
|
BuildRequires: libhdf5-devel
|
|
|
|
BuildRequires: libncurses-devel
|
|
|
|
BuildRequires: libpcre-devel
|
2024-01-06 08:06:12 +01:00
|
|
|
BuildRequires: libqhull-devel
|
|
|
|
BuildRequires: libqt4-devel
|
|
|
|
BuildRequires: libquadmath-devel
|
2024-01-06 08:06:12 +01:00
|
|
|
BuildRequires: libreadline-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libsuitesparse-devel
|
|
|
|
BuildRequires: libz-devel
|
2024-01-06 08:06:12 +01:00
|
|
|
BuildRequires: qscintilla-devel
|
2024-01-06 08:06:12 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 08:06:12 +01:00
|
|
|
BuildRequires: libcares-devel
|
|
|
|
BuildRequires: libidn-devel
|
|
|
|
BuildRequires: libssh2-devel
|
|
|
|
BuildRequires: libgpg-error-devel
|
|
|
|
BuildRequires: libgss-devel
|
2024-01-06 08:06:12 +01:00
|
|
|
Requires: gnuplot
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
Requires(post):%{__install_info}
|
|
|
|
|
|
|
|
%description
|
|
|
|
GNU Octave is a high-level language, primarily intended for numerical computations.
|
|
|
|
It provides a convenient command line interface for solving linear and nonlinear problems numerically, and for performing other numerical experiments using a language that is mostly compatible with Matlab.
|
|
|
|
It may also be used as a batch-oriented language.
|
|
|
|
Octave has extensive tools for solving common numerical linear algebra problems, finding the roots of nonlinear equations, integrating ordinary functions, manipulating polynomials, and integrating ordinary differential and differential-algebraic equations.
|
|
|
|
It is easily extensible and customizable via user-defined functions written in Octave's own language, or using dynamically loaded modules written in C++, C, Fortran, or other languages.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development headers and files for Octave
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
GNU Octave is a high-level language, primarily intended for numerical computations.
|
|
|
|
It provides a convenient command line interface for solving linear and nonlinear problems numerically, and for performing other numerical experiments using a language that is mostly compatible with Matlab.
|
|
|
|
It may also be used as a batch-oriented language.
|
|
|
|
Octave has extensive tools for solving common numerical linear algebra problems, finding the roots of nonlinear equations, integrating ordinary functions, manipulating polynomials, and integrating ordinary differential and differential-algebraic equations.
|
|
|
|
It is easily extensible and customizable via user-defined functions written in Octave's own language, or using dynamically loaded modules written in C++, C, Fortran, or other languages.
|
|
|
|
|
|
|
|
This package contains static libraries and header files need for development.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
#%patch0 -p1
|
|
|
|
|
2024-01-06 08:06:12 +01:00
|
|
|
# FIXME: i586 workaround: comment #include <math.h> in
|
|
|
|
# /usr/include/suitesparse/SuiteSparse_config.h
|
|
|
|
|
2024-01-06 08:06:12 +01:00
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
--enable-shared=yes \
|
2024-01-06 08:06:12 +01:00
|
|
|
--enable-static=no \
|
|
|
|
UIC=uic-qt4 \
|
|
|
|
MOC=moc-qt4
|
|
|
|
|
|
|
|
# \
|
|
|
|
# QT_CFLAGS="`pkg-config --cflags Qt5Core Qt5Gui Qt5Network`" \
|
|
|
|
# QT_LDFLAGS="`pkg-config --libs Qt5Core Qt5Gui Qt5Network`"
|
2024-01-06 08:06:12 +01:00
|
|
|
|
2024-01-06 08:06:12 +01:00
|
|
|
%make
|
2024-01-06 08:06:12 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
install -d %{buildroot}%{_datadir}/pixmaps
|
|
|
|
install -D -m 644 %{SOURCE1} \
|
|
|
|
%{buildroot}%{_datadir}/pixmaps/%{name}.png
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post
|
|
|
|
/sbin/ldconfig
|
|
|
|
%install_info %{name}.info
|
|
|
|
|
|
|
|
%preun
|
|
|
|
%uninstall_info %{name}.info
|
|
|
|
:
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/octave
|
|
|
|
%{_bindir}/octave-%{version}
|
|
|
|
%{_bindir}/octave-cli
|
|
|
|
%{_bindir}/octave-cli-%{version}
|
|
|
|
%dir %{_libdir}/%{name}/%{version}/oct
|
|
|
|
%{_libdir}/%{name}/%{version}/oct/*
|
|
|
|
%{_libdir}/%{name}/%{version}/lib*.so.*
|
|
|
|
%dir %{_datadir}/%{name}
|
|
|
|
%{_datadir}/%{name}/*
|
|
|
|
%{_datadir}/applications/www.octave.org-%{name}.desktop
|
|
|
|
%{_datadir}/pixmaps/%{name}.png
|
|
|
|
%dir %{_libexecdir}/%{name}/%{version}
|
|
|
|
%{_libexecdir}/%{name}/%{version}/*
|
|
|
|
%{_infodir}/*.info.*
|
|
|
|
%{_infodir}/%{name}.info-*
|
|
|
|
%{_mandir}/man1/%{name}.*
|
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/mkoctfile
|
|
|
|
%{_bindir}/mkoctfile-%{version}
|
|
|
|
#%{_bindir}/%{name}-bug
|
|
|
|
#%{_bindir}/%{name}-bug-%{version}
|
|
|
|
%{_bindir}/%{name}-config
|
|
|
|
%{_bindir}/%{name}-config-%{version}
|
|
|
|
%dir %{_includedir}/%{name}-%{version}
|
|
|
|
%{_includedir}/%{name}-%{version}/*
|
|
|
|
#%{_libexecdir}/%{name}/ls-R
|
|
|
|
%{_libdir}/%{name}/%{version}/lib*.la
|
|
|
|
%{_libdir}/%{name}/%{version}/lib*.so
|
|
|
|
%{_mandir}/man1/mkoctfile.*
|
|
|
|
%{_mandir}/man1/%{name}-*
|
|
|
|
%doc ChangeLog README NEWS INSTALL
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 08:06:12 +01:00
|
|
|
* Mon Sep 01 2014 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 3.8.2-1mamba
|
|
|
|
- update to 3.8.2
|
|
|
|
|
2024-01-06 08:06:12 +01:00
|
|
|
* Fri Mar 07 2014 Automatic Build System <autodist@mambasoft.it> 3.8.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Dec 28 2013 Automatic Build System <autodist@mambasoft.it> 3.8.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Mar 11 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 3.6.4-2mamba
|
|
|
|
- rebuilt with libhdf5 1.8.10
|
|
|
|
|
|
|
|
* Thu Feb 28 2013 Automatic Build System <autodist@mambasoft.it> 3.6.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Sep 05 2012 Automatic Build System <autodist@mambasoft.it> 3.6.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu May 31 2012 Automatic Build System <autodist@mambasoft.it> 3.6.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Mar 06 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 3.6.1-2mamba
|
|
|
|
- rebuilt with libsuitesparse
|
|
|
|
|
|
|
|
* Thu Feb 23 2012 Automatic Build System <autodist@mambasoft.it> 3.6.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Oct 11 2011 Automatic Build System <autodist@mambasoft.it> 3.4.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Jul 21 2011 Automatic Build System <autodist@mambasoft.it> 3.4.2-1mamba
|
|
|
|
- update to 3.4.2
|
|
|
|
|
|
|
|
* Sat Feb 19 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.4-2mamba
|
|
|
|
- rebuilt with ghostscript 9.01
|
|
|
|
|
|
|
|
* Sat Jan 30 2010 Automatic Build System <autodist@mambasoft.it> 3.2.4-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Oct 01 2009 Automatic Build System <autodist@mambasoft.it> 3.2.3-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Fri Jul 24 2009 Automatic Build System <autodist@mambasoft.it> 3.2.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Jun 11 2009 Automatic Build System <autodist@mambasoft.it> 3.2.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat Apr 11 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.5-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Wed Jan 21 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.3-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Fri Sep 12 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.2-1mamba
|
|
|
|
- update to 3.0.2
|
|
|
|
|
|
|
|
* Sat May 19 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.73-4mamba
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Sun Feb 18 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.73-3qilnx
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Wed Jun 14 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 2.1.73-2qilnx
|
|
|
|
- specfile fixed and updated
|
|
|
|
|
|
|
|
* Fri May 26 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.73-1qilnx
|
|
|
|
- update to version 2.1.73 by autospec
|
|
|
|
|
|
|
|
* Thu Aug 25 2005 Massimo Pintore <massimo.pintore@qilinux.it> 2.1.71-1qilnx
|
|
|
|
- update to version 2.1.71 by autospec
|
|
|
|
- split into main and devel packages
|
|
|
|
|
|
|
|
* Thu Apr 21 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 2.1.69-2qilnx
|
|
|
|
- rebuild and moved from devel-contrib repository to devel repository
|
|
|
|
|
|
|
|
* Mon Apr 4 2005 Matteo Bernasconi <voyagernm@virgilio.it> 2.1.69-1qilnx
|
|
|
|
- update to the new test version
|
|
|
|
|
|
|
|
* Mon Sep 27 2004 Matteo Bernasconi <voyagernm@virgilio.it> 2.1.59-1qilnx
|
|
|
|
- first build
|