octave-geometry 4.0.0-2 (aarch64;znver1;x86_64) 2023-17480
9999

Status published
Submitter mandian [@T] tutanota.com
Platform rolling
Repository unsupported
URL https://abf.openmandriva.org/build_lists/335527
Packages
octave-geometry-4.0.0-2.aarch64.source
octave-geometry-4.0.0-2.aarch64.binary
octave-geometry-debuginfo-4.0.0-2.aarch64.debuginfo
octave-geometry-debugsource-4.0.0-2.aarch64.binary
octave-geometry-4.0.0-2.znver1.source
octave-geometry-4.0.0-2.znver1.binary
octave-geometry-debuginfo-4.0.0-2.znver1.debuginfo
octave-geometry-debugsource-4.0.0-2.znver1.binary
octave-geometry-4.0.0-2.x86_64.source
octave-geometry-4.0.0-2.x86_64.binary
octave-geometry-debuginfo-4.0.0-2.x86_64.debuginfo
octave-geometry-debugsource-4.0.0-2.x86_64.binary
Build Date 2023-04-27 11:36:20 +0000 UTC
Last Updated 2023-05-06 02:47:48.266562323 +0000 UTC
$ git diff --patch-with-stat --summary a53407e25996c6ebac56b872173e39a10c610199..773795c084508f700deef6faa46885e53f527291

 check-update.sh      |  3 ++-
 octave-geometry.spec | 20 ++++++++------------
 2 files changed, 10 insertions(+), 13 deletions(-)

diff --git a/check-update.sh b/check-update.sh
index 680b57a..d3e923f 100755
--- a/check-update.sh
+++ b/check-update.sh
@@ -1,3 +1,4 @@
 #!/bin/sh
-curl https://octave.sourceforge.io/geometry/index.html 2>/dev/null | grep -A1 "<dt>Version</dt>" |sed -ne 's,</dd>.*,,;s,.*<dd>,,p'
+package=geometry
+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-geometry.spec b/octave-geometry.spec
index 7d6512f..f45cc04 100644
--- a/octave-geometry.spec
+++ b/octave-geometry.spec
@@ -1,19 +1,20 @@
 %global octpkg geometry
 
 Summary:	Library for geometric computing extending MatGeom functions
-Name:		octave-%{octpkg}
+Name:		octave-geometry
 Version:	4.0.0
-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}/
+Url:		https://packages.octave.org/geometry/
+Source0:	https://downloads.sourceforge.net/octave/geometry-%{version}.tar.gz
 
 BuildRequires:	octave-devel >= 4.2.0
 BuildRequires:	octave-matgeom >= 1.0.0
+BuildRequires:	stdc++-devel
 
 Requires:	octave(api) = %{octave_api}
-Requires:	octave-matgeom >= 1.0.0
+Requires:  	octave-matgeom >= 1.0.0
 
 Requires(post): octave
 Requires(postun): octave
@@ -21,24 +22,19 @@ Requires(postun): octave
 %description
 This library extends MatGeom functionality.
 
-This package is part of community Octave-Forge collection.
-
 %files
 %license COPYING
 %doc NEWS
-%dir %{octpkglibdir}
-%{octpkglibdir}/*
 %dir %{octpkgdir}
 %{octpkgdir}/*
+%dir %{octpkglibdir}
+%{octpkglibdir}/*
 
 #---------------------------------------------------------------------------
 
 %prep
 %autosetup -p1 -n %{octpkg}-%{version}
 
-# remove backup files
-#find . -name \*~ -delete
-
 %build
 %set_build_flags
 %octave_pkg_build
Not Available

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