update to 5.1.0 [release 5.1.0-1mamba;Sun Mar 31 2019]

This commit is contained in:
Silvan Calarco 2024-01-06 08:06:12 +01:00
parent cb2acdad9b
commit e3baf70d0c

View File

@ -1,13 +1,13 @@
Name: octave
Version: 4.0.3
Release: 2mamba
Version: 5.1.0
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.xz
Source0: ftp://ftp.gnu.org/gnu/octave/octave-%{version}.tar.gz
Source1: octave.png
Patch0: %{name}-3.4.2-curl_remove_include.patch
Patch1: octave-4.0.3-gcc-6.1.0.patch
@ -19,7 +19,6 @@ BuildRequires: libGL-devel
BuildRequires: libGLU-devel
BuildRequires: libGraphicsMagick-devel
BuildRequires: libICE-devel
BuildRequires: libOSMesa-devel
BuildRequires: libSM-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
@ -33,10 +32,12 @@ BuildRequires: libXrender-devel
BuildRequires: libalsa-devel
BuildRequires: libatlas-devel
BuildRequires: libblas-devel
BuildRequires: libbrotli-devel
BuildRequires: libbsd-devel
BuildRequires: libbzip2-devel
BuildRequires: libcares-devel
BuildRequires: libcurl-devel
BuildRequires: libe2fs-devel
BuildRequires: libexpat-devel
BuildRequires: libfftw-devel
BuildRequires: libflac-devel
@ -48,15 +49,16 @@ BuildRequires: libglib-devel
BuildRequires: libglpk-devel
BuildRequires: libgomp-devel
BuildRequires: libgraphite2-devel
BuildRequires: libgs-devel
BuildRequires: libgss-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libhdf5-devel
BuildRequires: libidn-devel
BuildRequires: libjack-devel
BuildRequires: libkrb5-devel
BuildRequires: liblcms2-devel
BuildRequires: libltdl-devel
BuildRequires: liblzma-devel
BuildRequires: libncurses5
BuildRequires: libncurses-devel
BuildRequires: libogg-devel
BuildRequires: libopenldap-devel
BuildRequires: libopenssl-devel
@ -65,7 +67,7 @@ BuildRequires: libpng-devel
BuildRequires: libportaudio-devel
BuildRequires: libqhull-devel
BuildRequires: libqrupdate-devel
BuildRequires: libqt4-devel
BuildRequires: libqt5-devel
BuildRequires: libquadmath-devel
BuildRequires: libreadline-devel
BuildRequires: librtmp-devel
@ -119,7 +121,7 @@ This package contains static libraries and header files need for development.
#:<< _EOF
#%patch0 -p1
# FIX for gcc 6.1 (Fedora)
%patch1 -p1
#%patch1 -p1
find -name \*.cc -o -name \*.h -o -name \*.yy | xargs sed -i -e 's/#include <c\(math\|stdlib\)>/#include <\1.h>/'
find -name \*.h -o -name \*.cc | xargs sed -i -e 's/<config.h>/"config.h"/' -e 's/<base-list.h>/"base-list.h"/'
# FIXME: i586 workaround: comment #include <math.h> in
@ -132,8 +134,8 @@ autoreconf -fi
%configure \
--enable-shared=yes \
--enable-static=no \
UIC=uic-qt4 \
MOC=moc-qt4
UIC=uic-qt5 \
MOC=moc-qt5
#_EOF
@ -175,8 +177,8 @@ install -D -m 644 %{SOURCE1} \
%{_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}/applications/org.octave.Octave.desktop
%{_datadir}/metainfo/org.octave.Octave.appdata.xml
%{_datadir}/icons/hicolor/*/apps/octave.png
%{_datadir}/icons/hicolor/scalable/apps/octave.svg
%{_datadir}/pixmaps/%{name}.png
@ -200,11 +202,19 @@ install -D -m 644 %{SOURCE1} \
#%{_libexecdir}/%{name}/ls-R
%{_libdir}/%{name}/%{version}/lib*.la
%{_libdir}/%{name}/%{version}/lib*.so
%{_libdir}/pkgconfig/octave.pc
%{_libdir}/pkgconfig/octinterp.pc
%{_mandir}/man1/mkoctfile.*
%{_mandir}/man1/%{name}-*
%doc ChangeLog README NEWS INSTALL
#%doc ChangeLog README NEWS INSTALL
%changelog
* Sun Mar 31 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 5.1.0-1mamba
- update to 5.1.0
* Tue Nov 22 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 4.2.0-1mamba
- update to 4.2.0
* Mon Aug 01 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.3-2mamba
- rebuilt with libqhull 2015 and libGrapicsMagick 1.3.24