Package octave-msh: Specfile
# BEGIN SourceDeps(oneline): BuildRequires: makeinfo # END SourceDeps(oneline) %def_with _octave_arch %define octave_pkg_name msh Name: octave-%octave_pkg_name Version: 1.0.10 Release: alt3 Summary: MeSHing software package for octave Group: Sciences/Mathematics License: GPLv2+ URL: http://octave.sf.net Source0: https://downloads.sourceforge.net/project/octave/Octave%%20Forge%%20Packages/Individual%%20Package%%20Releases/%{octave_pkg_name}-%{version}.tar.gz BuildRequires: octave-devel %if_with _octave_arch BuildRequires: gcc-c++ gcc-g77 libfftw3-devel libhdf5-devel liblapack-devel libncurses-devel libreadline-devel %else BuildArch: noarch %endif Provides: octave(msh) = %version # SystemRequirements: gmsh (>= 1.6.5 (optional)), awk (optional), dolfin (>= 1.3 optional) #BuildRequires: gmsh >= 1.6.5 awk dolfin >= 1.3 # Depends: octave (>= 3.0), splines Requires: octave >= 3.0 octave(splines) %description 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. %prep %setup -q -n %{octave_pkg_name} %build octave -q -H --no-window-system --no-site-file --eval "pkg build -verbose -nodeps . %SOURCE0" %install mkdir -p %buildroot%_datadir/octave/packages mkdir -p %buildroot%_libdir/octave/packages %if_with _octave_arch octave -H --no-window-system --no-site-file --eval "pkg prefix %buildroot%_datadir/octave/packages %buildroot%_libdir/octave/packages; pkg install -nodeps -verbose -local %octave_pkg_name-%version-$(octave -H --no-window-system --no-site-file --eval "printf([__octave_config_info__(\"canonical_host_type\"), \"-\", __octave_config_info__(\"api_version\")])").tar.gz" %else octave -q -H --no-window-system --no-site-file --eval "pkg prefix %buildroot%_datadir/octave/packages %buildroot%_libdir/octave/packages; pkg install -nodeps -verbose -local %octave_pkg_name-%version-any-none.tar.gz" %endif %files %doc NEWS DESCRIPTION COPYING %_datadir/octave/packages/%octave_pkg_name-%version %if_with _octave_arch %_libdir/octave/packages/%octave_pkg_name-%version %endif %changelog * Sun Jun 23 2019 Igor Vlasenko <viy@altlinux.ru> 1.0.10-alt3 - rebuild with octave 5 * Tue May 29 2018 Igor Vlasenko <viy@altlinux.ru> 1.0.10-alt2 - build for octave 4.4 * Thu Apr 14 2016 Igor Vlasenko <viy@altlinux.ru> 1.0.10-alt1 - regenerated from template by package builder * Tue Jul 07 2015 Paul Wolneykien <manowar@altlinux.org> 1.0.2-alt3 - Rebuild with the next version of Octave: 4.0.0 * Tue Jan 14 2014 Paul Wolneykien <manowar@altlinux.ru> 1.0.2-alt2 - Rebuild with the next version of Octave: 3.8.0 * Thu Nov 17 2011 Igor Vlasenko <viy@altlinux.ru> 1.0.2-alt1 - initial import by octave-package-builder |