%global octpkg metch Name: octave-%{octpkg} Version: 0.6 Release: 15%{?dist} Summary: Mesh/volume registration toolbox License: GPLv2+ URL: http://iso2mesh.sourceforge.net/cgi-bin/index.cgi?metch Source0: https://github.com/fangq/%{octpkg}/archive/%{version}/%{octpkg}-%{version}.tar.gz BuildArch: noarch BuildRequires: octave-devel Requires: octave Requires(post): octave Requires(postun): octave %description Matlab/Octave-based mesh/volume registration toolbox. It provides straightforward functions to register point clouds (or surfaces) to a triangular/cubic surface mesh by calculating an optimal affine transformation (in terms of matrix A for scaling and rotation, and b for translation). It also allows one to project a point cloud onto the surface using surface norms and guarantee the conformity of the points to the surface. At this point, metch can only perform rigid-body registration in terms of a linear transformation. %prep %autosetup -n %{octpkg}-%{version} # Matlab only rm -vf metchgui*.m cat > DESCRIPTION << EOF Name: %{octpkg} Version: %{version} Date: %(date +"%Y-%d-%m") Title: %{summary} Author: Qianqian Fang Maintainer: Qianqian Fang Description: Matlab/Octave-based mesh/volume registration toolbox. It provides straightforward functions to register point clouds (or surfaces) to a triangular/cubic surface mesh by calculating an optimal affine transformation (in terms of matrix A for scaling and rotation, and b for translation). It also allows one to project a point cloud onto the surface using surface norms and guarantee the conformity of the points to the surface. At this point, metch can only perform rigid-body registration in terms of a linear transformation. Categories: Mesh EOF cat > INDEX << EOF metch >> metch metch regpt2surf proj2mesh affinemap dist2surf getplanefrom3pt linextriangle nodesurfnorm trisurfnorm EOF mkdir -p inst/ mv *.m inst/ chmod -x inst/* %build %octave_pkg_build %install %octave_pkg_install %post %octave_cmd pkg rebuild %preun %octave_pkg_preun %postun %octave_cmd pkg rebuild %files %license COPYING %dir %{octpkgdir} %{octpkgdir}/*.m %doc %{octpkgdir}/doc-cache %{octpkgdir}/packinfo %changelog * Thu Jul 18 2024 Fedora Release Engineering - 0.6-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu Jan 25 2024 Fedora Release Engineering - 0.6-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.6-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 0.6-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat Apr 08 2023 Orion Poplawski - 0.6-11 - Rebuild with octave 8.1.0 * Thu Jan 19 2023 Fedora Release Engineering - 0.6-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.6-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Orion Poplawski - 0.6-8 - Rebuild for octave 7.1 * Thu Jan 20 2022 Fedora Release Engineering - 0.6-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Aug 11 2021 Orion Poplawski - 0.6-6 - Rebuild for octave 6.3.0 * Thu Jul 22 2021 Fedora Release Engineering - 0.6-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 0.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Nov 06 2019 Qianqian Fang - 0.6-1 - Update source URL to github - Fix build error (#1736367) * Thu Jul 25 2019 Fedora Release Engineering - 0.5.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Jun 16 2019 Orion Poplawski - 0.5.0-9 - Rebuild for octave 5.1 * Fri Feb 01 2019 Fedora Release Engineering - 0.5.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Nov 14 2018 Orion Poplawski - 0.5.0-7 - Rebuild for octave 4.4 * Fri Jul 13 2018 Fedora Release Engineering - 0.5.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Feb 08 2018 Fedora Release Engineering - 0.5.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.5.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.5.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Nov 04 2015 Igor Gnatenko - 0.5.0-1 - Initial package