Name: octave Version: 4.0.1 Release: 1mamba Summary: A high-level language, primarily intended for numerical computations Group: Applications/Mathematics Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.octave.org Source0: ftp://ftp.gnu.org/gnu/octave/octave-%{version}.tar.xz Source1: octave.png Patch0: %{name}-3.4.2-curl_remove_include.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: GraphicsMagick-devel BuildRequires: gcc-fortran BuildRequires: glibc-devel BuildRequires: libGL-devel BuildRequires: libGLU-devel BuildRequires: libX11-devel BuildRequires: libXext-devel BuildRequires: libXft-devel BuildRequires: libXinerama-devel BuildRequires: libatlas-devel BuildRequires: libblas-devel BuildRequires: libcurl-devel BuildRequires: libfftw-devel BuildRequires: libfltk-devel BuildRequires: libfontconfig-devel BuildRequires: libfreetype-devel BuildRequires: libgcc BuildRequires: libglpk-devel BuildRequires: libgomp-devel BuildRequires: libhdf5-devel BuildRequires: libncurses-devel BuildRequires: libpcre-devel BuildRequires: libqhull-devel BuildRequires: libqt4-devel BuildRequires: libquadmath-devel BuildRequires: libreadline-devel BuildRequires: libstdc++6-devel BuildRequires: libsuitesparse-devel BuildRequires: libz-devel BuildRequires: qscintilla-devel ## AUTOBUILDREQ-END BuildRequires: libglpk-devel >= 4.58-1mamba BuildRequires: libcares-devel BuildRequires: libidn-devel BuildRequires: libssh2-devel BuildRequires: libgpg-error-devel BuildRequires: libgss-devel 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 # FIXME: i586 workaround: comment #include in # /usr/include/suitesparse/SuiteSparse_config.h %build %configure \ --enable-shared=yes \ --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`" %make %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}/appdata/www.octave.org-octave.appdata.xml %{_datadir}/applications/www.octave.org-%{name}.desktop %{_datadir}/icons/hicolor/*/apps/octave.png %{_datadir}/icons/hicolor/scalable/apps/octave.svg %{_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 * Tue Mar 22 2016 Automatic Build System 4.0.1-1mamba - automatic version update by autodist * Fri Mar 11 2016 Silvan Calarco 4.0.0-2mamba - rebuilt by autoport with build requirements: libglpk-devel>=4.58-1mamba * Sun Aug 02 2015 Silvan Calarco 4.0.0-1mamba - update to 4.0.0 * Mon Sep 01 2014 Stefano Cotta Ramusino 3.8.2-1mamba - update to 3.8.2 * Fri Mar 07 2014 Automatic Build System 3.8.1-1mamba - automatic version update by autodist * Sat Dec 28 2013 Automatic Build System 3.8.0-1mamba - automatic version update by autodist * Mon Mar 11 2013 Silvan Calarco 3.6.4-2mamba - rebuilt with libhdf5 1.8.10 * Thu Feb 28 2013 Automatic Build System 3.6.4-1mamba - automatic version update by autodist * Wed Sep 05 2012 Automatic Build System 3.6.3-1mamba - automatic version update by autodist * Thu May 31 2012 Automatic Build System 3.6.2-1mamba - automatic version update by autodist * Tue Mar 06 2012 Silvan Calarco 3.6.1-2mamba - rebuilt with libsuitesparse * Thu Feb 23 2012 Automatic Build System 3.6.1-1mamba - automatic version update by autodist * Tue Oct 11 2011 Automatic Build System 3.4.3-1mamba - automatic version update by autodist * Thu Jul 21 2011 Automatic Build System 3.4.2-1mamba - update to 3.4.2 * Sat Feb 19 2011 Silvan Calarco 3.2.4-2mamba - rebuilt with ghostscript 9.01 * Sat Jan 30 2010 Automatic Build System 3.2.4-1mamba - automatic update by autodist * Thu Oct 01 2009 Automatic Build System 3.2.3-1mamba - automatic update by autodist * Fri Jul 24 2009 Automatic Build System 3.2.2-1mamba - automatic update by autodist * Thu Jun 11 2009 Automatic Build System 3.2.0-1mamba - automatic update by autodist * Sat Apr 11 2009 Silvan Calarco 3.0.5-1mamba - automatic update by autodist * Wed Jan 21 2009 Silvan Calarco 3.0.3-1mamba - automatic update by autodist * Fri Sep 12 2008 Silvan Calarco 3.0.2-1mamba - update to 3.0.2 * Sat May 19 2007 Silvan Calarco 2.1.73-4mamba - rebuilt * Sun Feb 18 2007 Silvan Calarco 2.1.73-3qilnx - rebuilt * Wed Jun 14 2006 Stefano Cotta Ramusino 2.1.73-2qilnx - specfile fixed and updated * Fri May 26 2006 Silvan Calarco 2.1.73-1qilnx - update to version 2.1.73 by autospec * Thu Aug 25 2005 Massimo Pintore 2.1.71-1qilnx - update to version 2.1.71 by autospec - split into main and devel packages * Thu Apr 21 2005 Alessandro Ramazzina 2.1.69-2qilnx - rebuild and moved from devel-contrib repository to devel repository * Mon Apr 4 2005 Matteo Bernasconi 2.1.69-1qilnx - update to the new test version * Mon Sep 27 2004 Matteo Bernasconi 2.1.59-1qilnx - first build