From e3baf70d0cf1a060b98ef5782286efdc8688a2c2 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 08:06:12 +0100 Subject: [PATCH] update to 5.1.0 [release 5.1.0-1mamba;Sun Mar 31 2019] --- octave.spec | 36 +++++++++++++++++++++++------------- 1 file changed, 23 insertions(+), 13 deletions(-) diff --git a/octave.spec b/octave.spec index fa4f4a2..b238863 100644 --- a/octave.spec +++ b/octave.spec @@ -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 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 /#include <\1.h>/' find -name \*.h -o -name \*.cc | xargs sed -i -e 's//"config.h"/' -e 's//"base-list.h"/' # FIXME: i586 workaround: comment #include 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 5.1.0-1mamba +- update to 5.1.0 + +* Tue Nov 22 2016 Silvan Calarco 4.2.0-1mamba +- update to 4.2.0 + * Mon Aug 01 2016 Silvan Calarco 4.0.3-2mamba - rebuilt with libqhull 2015 and libGrapicsMagick 1.3.24