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-geometry
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: a53407e25996c6ebac56b872173e39a10c610199
Choose a base ref
...
head repository: OpenMandrivaAssociation/octave-geometry
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 773795c084508f700deef6faa46885e53f527291
Choose a head ref
  • 3 commits
  • 2 files changed
  • 1 contributor

Commits on Dec 2, 2022

  1. use new url

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

Commits on Apr 25, 2023

  1. Copy the full SHA
    66c11e5 View commit details
  2. add missing BR

    mandian committed Apr 25, 2023
    Copy the full SHA
    773795c View commit details
Showing with 10 additions and 13 deletions.
  1. +2 −1 check-update.sh
  2. +8 −12 octave-geometry.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/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

20 changes: 8 additions & 12 deletions octave-geometry.spec
Original file line number Diff line number Diff line change
@@ -1,44 +1,40 @@
%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

%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