Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: OpenMandrivaAssociation/octave-matgeom
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: ae7dbd2eea815aecc10df43a3ec9c0477bc591f4
Choose a base ref
...
head repository: OpenMandrivaAssociation/octave-matgeom
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 9f5e0fd1ab6020c5b8446a948d9cf4453e4e7707
Choose a head ref
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Dec 2, 2022

  1. use new url

    mandian committed Dec 2, 2022
    Copy the full SHA
    6438bd0 View commit details

Commits on Apr 24, 2023

  1. Copy the full SHA
    9f5e0fd View commit details
Showing with 12 additions and 15 deletions.
  1. +2 −1 check-update.sh
  2. +10 −14 octave-matgeom.spec
3 changes: 2 additions & 1 deletion check-update.sh
Original file line number Diff line number Diff line change
@@ -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

24 changes: 10 additions & 14 deletions octave-matgeom.spec
Original file line number Diff line number Diff line change
@@ -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