octave-matgeom 1.2.3-2 (aarch64;znver1;x86_64) 2023-17472
9999

Status published
Submitter mandian [@T] tutanota.com
Platform rolling
Repository unsupported
URL https://abf.openmandriva.org/build_lists/335027
Packages
octave-matgeom-1.2.3-2.aarch64.source
octave-matgeom-1.2.3-2.aarch64.binary
octave-matgeom-1.2.3-2.znver1.binary
octave-matgeom-1.2.3-2.znver1.source
octave-matgeom-1.2.3-2.x86_64.binary
octave-matgeom-1.2.3-2.x86_64.source
Build Date 2023-04-24 23:07:10 +0000 UTC
Last Updated 2023-05-06 02:48:09.385972059 +0000 UTC
$ git diff --patch-with-stat --summary ae7dbd2eea815aecc10df43a3ec9c0477bc591f4..9f5e0fd1ab6020c5b8446a948d9cf4453e4e7707

 check-update.sh     |  3 ++-
 octave-matgeom.spec | 24 ++++++++++--------------
 2 files changed, 12 insertions(+), 15 deletions(-)

diff --git a/check-update.sh b/check-update.sh
index d5c3710..146e3e9 100755
--- a/check-update.sh
+++ b/check-update.sh
@@ -1,3 +1,4 @@
 #!/bin/sh
-curl https://octave.sourceforge.io/matgeom/index.html 2>/dev/null | grep -A1 "<dt>Version</dt>" |sed -ne 's,</dd>.*,,;s,.*<dd>,,p'
+package=matgeom
+curl -L https://gnu-octave.github.io/packages/${package}/ 2>/dev/null |sed -ne "s,.*${package}-,,;s,\.tar.\gz,,p" |head -n1
 
diff --git a/octave-matgeom.spec b/octave-matgeom.spec
index de43c29..00b6067 100644
--- a/octave-matgeom.spec
+++ b/octave-matgeom.spec
@@ -1,29 +1,28 @@
-%define octpkg matgeom
+%global octpkg matgeom
 
-Summary:	Library for geometric computing extending MatGeom functions
-Name:		octave-%{octpkg}
+Summary:	Geometry toolbox for 2D/3D geometric computing extending MatGeom
+Name:		octave-matgeom
 Version:	1.2.3
-Release:	1
-Source0:	http://downloads.sourceforge.net/octave/%{octpkg}-%{version}.tar.gz
+Release:	2
 License:	GPLv3+ and BSD and Boost Software License
 Group:		Sciences/Mathematics
-Url:		https://octave.sourceforge.io/%{octpkg}/
-BuildRequires:	octave-devel
+Url:		https://packages.octave.org/matgeom/
+Source0:	https://downloads.sourceforge.net/octave/matgeom-%{version}.tar.gz
 
-Requires:	octave(api) = %{octave_api}
+BuildRequires:  octave-devel >= 4.2.0
 
-BuildArch:	noarch
+Requires:	octave(api) = %{octave_api}
 
 Requires(post): octave
 Requires(postun): octave
 
+BuildArch:	noarch
+
 %description
 MatGeom is a library for geometric computing with Matlab in 2D and 3D. It
 contains several hundreds of functions for the creation and manipulation of
 2D and 3D shapes such as point sets, lines, polygons, 3D meshes, ellipses...
 
-This package is part of external Octave-Forge collection.
-
 %files
 %license COPYING
 #doc NEWS
@@ -35,9 +34,6 @@ This package is part of external Octave-Forge collection.
 %prep
 %autosetup -p1 -n %{octpkg}-%{version}
 
-# remove backup files
-#find . -name \*~ -delete
-
 %build
 %octave_pkg_build
 
Not Available

benbullard79 [@T] cox.netNo Comment.567d 14hrs
benbullard79 [@T] cox.netNo Comment.567d 14hrs