%global octpkg interval Name: octave-%{octpkg} Version: 2.1.0 Release: 3%{?dist} Summary: Interval arithmetic for Octave # The source code is GPLv3+ except src/crlibm/ which is LGPLv2+ License: GPLv3+ and LGPLv2+ URL: https://octave.sourceforge.io/%{octpkg}/ Source0: https://downloads.sourceforge.net/octave/%{octpkg}-%{version}.tar.gz # submitted upstream https://savannah.gnu.org/bugs/?51758 Patch0: properly_detect_no_sse.patch BuildRequires: octave-devel >= 3.1.0 BuildRequires: mpfr-devel Requires: octave(api) = %{octave_api} Requires: mpfr >= 3.1.0 Requires(post): octave Requires(postun): octave %description The Octave-forge Interval package for real-valued interval arithmetic allows one to evaluate functions over subsets of their domain. All results are verified, because interval computations automatically keep track of any errors. These concepts can be used to handle uncertainties, estimate arithmetic errors and produce reliable results. Also it can be applied to computer-assisted proofs, constraint programming, and verified computing. The implementation is based on interval boundaries represented by binary64 numbers and is conforming to IEEE Std 1788-2015, IEEE standard for interval arithmetic. %prep %setup -q -n %{octpkg}-%{version} %patch0 -p1 %build %octave_pkg_build %install %octave_pkg_install %check %octave_pkg_check %post %octave_cmd pkg rebuild %preun %octave_pkg_preun %postun %octave_cmd pkg rebuild %files %{octpkglibdir} %dir %{octpkgdir} %{octpkgdir}/doc-cache %{octpkgdir}/*.m %{octpkgdir}/@infsup %{octpkgdir}/@infsupdec %{octpkgdir}/test %doc %{octpkgdir}/doc %dir %{octpkgdir}/packinfo %license %{octpkgdir}/packinfo/COPYING %{octpkgdir}/packinfo/NEWS %{octpkgdir}/packinfo/CITATION %{octpkgdir}/packinfo/DESCRIPTION %{octpkgdir}/packinfo/INDEX %{octpkgdir}/packinfo/*.m %{_datadir}/appdata/octave-%{octpkg}.metainfo.xml %changelog * Thu Aug 17 2017 Colin B. Macdonald - 2.1.0-3 - included library has different license - remove Group tag - thanks to Robert-André Mauchin for the review * Tue Aug 15 2017 Colin B. Macdonald - 2.1.0-2 - patch for SSE detection * Mon Aug 14 2017 Colin B. Macdonald - 2.1.0-1 - initial package for Fedora * Thu Dec 03 2015 Colin B. Macdonald - 1.3.0-1 - initial package