octave-msh 1.0.12-1 (aarch64;znver1;x86_64) 2023-17478
9999
Status | published | ||||||
Submitter | mandian [@T] tutanota.com | ||||||
Platform | rolling | ||||||
Repository | unsupported | ||||||
URL | https://abf.openmandriva.org/build_lists/335254 | ||||||
Packages |
|
||||||
Build Date | 2023-04-25 21:51:10 +0000 UTC | ||||||
Last Updated | 2023-05-06 02:47:55.770569455 +0000 UTC |
$ git show --format=fuller --patch-with-stat --summary 4e5c5d592cb2b6b0c0abbcf80dcef2ea69b06d70 commit 4e5c5d592cb2b6b0c0abbcf80dcef2ea69b06d70 Author: mandian <mandian@users.noreply.github.com> AuthorDate: Tue Apr 25 22:30:30 2023 +0100 Commit: mandian <mandian@users.noreply.github.com> CommitDate: Tue Apr 25 22:30:30 2023 +0100 1.0.12 --- .abf.yml | 2 +- octave-msh.spec | 65 +++++++++++++++++++++++++++++++++------------------------ 2 files changed, 39 insertions(+), 28 deletions(-) diff --git a/.abf.yml b/.abf.yml index 87898c9..ebbb0a3 100644 --- a/.abf.yml +++ b/.abf.yml @@ -1,2 +1,2 @@ sources: - "msh-1.0.10.tar.gz": e3c45d56fa26f86fdf9c7335c980d1deb49ff7b9 + msh-1.0.12.tar.gz: 6b0e9fa6f195cb0cd2b86d0911a1240ba17742a7 diff --git a/octave-msh.spec b/octave-msh.spec index b2d7df7..1788214 100644 --- a/octave-msh.spec +++ b/octave-msh.spec @@ -1,54 +1,65 @@ -%define octpkg msh +%global octpkg msh + +%bcond_with dolfin + +%if %{without dolfin} +%global debug_package %{nil} +%endif Summary: Meshes for finite element/volume PDE Octave solvers -Name: octave-%{octpkg} -Version: 1.0.10 +Name: octave-msh +Version: 1.0.12 Release: 1 -Source0: https://downloads.sourceforge.net/octave/%{octpkg}-%{version}.tar.gz -# https://savannah.gnu.org/bugs/index.php?51970 -Patch0: continuation-lines.patch -# https://savannah.gnu.org/bugs/index.php?59613 -Patch1: build-against-octave-6.patch -# https://savannah.gnu.org/bugs/?41724 -Patch2: configure-script-source.patch - License: GPLv2+ Group: Sciences/Mathematics -Url: https://packages.octave.org/%{octpkg}/ +#Url: https://packages.octave.org/msh/ +Url: https://github.com/carlodefalco/msh +Source0: https://github.com/carlodefalco/msh/archive/v%{version}/msh-%{version}.tar.gz +# https://savannah.gnu.org/bugs/index.php?51970 +Patch0: continuation-lines.patch -BuildRequires: octave-devel >= 3.0 -BuildRequires: octave-splines +BuildRequires: octave-devel >= 3.0.0 +BuildRequires: octave-splines +%if %{with dolfin} BuildRequires: pkgconfig(dolfin) -# unpackaged -#BuildRequires: pkgconfig(gmsh) +%endif Requires: octave(api) = %{octave_api} -Requires: octave-splines -Requires: awk +Requires: octave-splines +# unpackaged +#Requires: gmsh Requires(post): octave Requires(postun): octave %description -Create and manage triangular and tetrahedral meshes for Finite Element or -Finite Volume PDE solvers in Octave. Use a mesh data structure compatible -with PDEtool. Rely on gmsh for unstructured mesh generation. +Create and manage triangular and tetrahedral meshes for Finite +Element or Finite Volume PDE solvers. Use a mesh data structure +compatible with PDEtool. Rely on gmsh for unstructured mesh +generation. %files %license COPYING %doc NEWS -%dir %{octpkglibdir} -%{octpkglibdir}/* %dir %{octpkgdir} %{octpkgdir}/* +%if %{with dolfin} +%dir %{octpkglibdir} +%{octpkglibdir}/* +%endif #--------------------------------------------------------------------------- %prep -%autosetup -p1 -n %{octpkg} - -# remove backup files -find . -name \*~ -delete +%autosetup -p1 -n %{octpkg}-%{version} + +%if %{with dolfin} +mv cruft/src . +pushd src +autoreconf -fiv +popd +%endif +rm -fr cruft %build %set_build_flags
Not Available
benbullard79 [@T] cox.net | No Comment. | 567d 14hrs |
benbullard79 [@T] cox.net | No Comment. | 567d 13hrs |