## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 5; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global octpkg symbolic # Disable automatic compilation of Python files in extra directories %global _python_bytecompile_extra 0 Name: octave-%{octpkg} Version: 3.2.1 Release: %autorelease Summary: Symbolic computations for Octave License: GPL-3.0-or-later AND FSFAP URL: https://gnu-octave.github.io/packages/%{octpkg} Source0: https://downloads.sourceforge.net/octave/%{octpkg}-%{version}.tar.gz # Fix tests with sympy 1.13.3 Patch: https://github.com/gnu-octave/symbolic/pull/1311.patch BuildArch: noarch BuildRequires: octave-devel BuildRequires: octave-doctest >= 0.8.0 BuildRequires: python3 BuildRequires: python3-packaging BuildRequires: python%{python3_pkgversion}-sympy >= 1.5.1 Requires: octave(api) = %{octave_api} Requires(post): octave Requires(postun): octave Requires: python%{python3_pkgversion}-sympy >= 1.5.1 %description Adds symbolic calculation features to GNU Octave. These include common Computer Algebra System tools such as algebraic operations, calculus, equation solving, Fourier and Laplace transforms, variable precision arithmetic and other features. %prep %autosetup -p1 -n %{octpkg}-%{version} %build %octave_pkg_build %install %octave_pkg_install %check # "octave_pkg_check" macro uses "runtests" which doesn't test classes pushd %{buildroot}/%{octpkgdir} %octave_cmd r=octsympy_tests; if r, type fntests.log; end; exit(r) rm -f fntests.log %octave_cmd pkg load doctest; syms x; r=doctest("."); exit(~r) popd %post %octave_cmd pkg rebuild %preun %octave_pkg_preun %postun %octave_cmd pkg rebuild %files %dir %{octpkgdir} %doc %{octpkgdir}/doc-cache %{octpkgdir}/*.m %{octpkgdir}/*.tst %{octpkgdir}/@logical %{octpkgdir}/private %{octpkgdir}/@sym %{octpkgdir}/@symfun %{octpkgdir}/@double %dir %{octpkgdir}/packinfo %license %{octpkgdir}/packinfo/COPYING %doc %{octpkgdir}/packinfo/NEWS %{octpkgdir}/packinfo/DESCRIPTION %{octpkgdir}/packinfo/INDEX %{octpkgdir}/packinfo/*.m %{_metainfodir}/io.github.gnu_octave.%{octpkg}.metainfo.xml %changelog ## START: Generated by rpmautospec * Fri Nov 15 2024 Orion Poplawski - 3.2.1-5 - Add upstream patch to fix tests with sympy 1.13.3 * Thu Nov 14 2024 Orion Poplawski - 3.2.1-4 - Rebuild for octave 9.2 * Tue Jul 30 2024 Thomas Sailer - 3.2.1-3 - fix %%files section * Thu Jul 18 2024 Fedora Release Engineering - 3.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Mon May 20 2024 Colin B. Macdonald - 3.2.1-1 - Update to v3.2.1, properly this time * Mon May 20 2024 Colin B. Macdonald - 3.1.1-8 - Update to v3.2.1 * Thu Jan 25 2024 Fedora Release Engineering - 3.1.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 3.1.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Dec 07 2023 Colin B. Macdonald - 3.1.1-5 - migrated to SPDX license * Mon Jul 24 2023 Colin B. Macdonald - 3.1.1-4 - Depend on python3-packaging, should be FTBFS * Thu Jul 20 2023 Fedora Release Engineering - 3.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat Apr 08 2023 Orion Poplawski - 3.1.1-2 - Rebuild with octave 8.1.0 * Sun Mar 19 2023 Orion Poplawski - 3.1.1-1 - Update to 3.1.1 * Thu Jan 19 2023 Fedora Release Engineering - 3.0.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Jan 04 2023 Colin B. Macdonald - 3.0.1-3 - Bump doctest dep, remove workaround * Thu Aug 11 2022 Colin B. Macdonald - 3.0.1-1 - new version * Fri Jul 22 2022 Fedora Release Engineering - 3.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jul 12 2022 Colin B. Macdonald - 3.0.0-2 - Workaround encoding troubles when running doctests * Wed Jul 06 2022 Colin B. Macdonald - 3.0.0-1 - Update to 3.0.0 (bugz#2104613) * Wed Jun 01 2022 Orion Poplawski - 2.9.0-9 - Rebuild for octave 7.1 * Thu Jan 20 2022 Fedora Release Engineering - 2.9.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Aug 11 2021 Orion Poplawski - 2.9.0-7 - Rebuild for octave 6.3.0 * Thu Jul 22 2021 Fedora Release Engineering - 2.9.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 2.9.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Oct 30 2020 José Matos - 2.9.0-4 - Add patch to work with sympy 1.6 - Tests are disabled for now (all the failures have already been reported) * Sat Aug 01 2020 Fedora Release Engineering - 2.9.0-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 2.9.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sun Mar 08 2020 Colin B. Macdonald - 2.9.0-1 - Update to 2.9.0 (bugz#1797854) * Wed Jan 29 2020 Fedora Release Engineering - 2.8.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Tue Nov 19 2019 Colin B. Macdonald - 2.8.0-4 - Upstream patch for doctest failurs on Python 3.8 (bugz#1772304) * Thu Jul 25 2019 Fedora Release Engineering - 2.8.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Mon Jun 17 2019 Colin B. Macdonald - 2.8.0-2 - Fix test log file name and minimum deps * Sun Jun 16 2019 Orion Poplawski - 2.8.0-1 - Update to 2.8.0 * Sun Apr 28 2019 Orion Poplawski - 2.7.1-5 - Increate tolerance on failing test (bugz#1703856) * Fri Feb 01 2019 Fedora Release Engineering - 2.7.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sun Nov 18 2018 Orion Poplawski - 2.7.1-3 - Add patch to avoid test failure on some arches * Wed Nov 14 2018 Orion Poplawski - 2.7.1-2 - Rebuild for octave 4.4 * Wed Oct 03 2018 Colin B. Macdonald - 2.7.1-1 - Version bump. * Fri Jul 27 2018 Colin B. Macdonald - 2.7.0-1 - Version bump (#1609268) * Fri Jul 13 2018 Fedora Release Engineering - 2.6.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Mon Apr 02 2018 Colin B. Macdonald - 2.6.0-7 - Call "python3" instead of "python", depend on python3 (https://fedoraproject.org/wiki/Changes/Move_usr_bin_python_into_separate_package) - Don't bytecompile our small .py helper (https://fedoraproject.org/wiki/Packaging:Python_Appendix#Manual_byte_compilation) * Mon Mar 19 2018 Iryna Shcherbina - 2.6.0-6 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Thu Feb 08 2018 Fedora Release Engineering - 2.6.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Aug 14 2017 Colin B. Macdonald - 2.6.0-4 - Drop BR for libappstream-glib, now provided by octave-devel * Sun Aug 13 2017 Colin B. Macdonald - 2.6.0-3 - Let new macros deal with metainfo.xml * Thu Aug 10 2017 Colin B. Macdonald - 2.6.0-2 - Own packinfo dir for clean uninstall * Fri Jul 28 2017 Colin B. Macdonald - 2.6.0-1 - Version bump. * Thu Jul 27 2017 Fedora Release Engineering - 2.5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 03 2017 Colin B. Macdonald - 2.5.0-1 - Version bump. * Sun Dec 11 2016 Colin B. Macdonald - 2.4.0-3 - Minor upstream patch for failing doctest - Patch for tests to pass on i686 arch * Sun Dec 11 2016 cbm - 2.4.0-2 - Remove src subdir, remove bat file in prep - Do not use -T for now * Wed May 25 2016 Colin B. Macdonald - 2.4.0-1 - Update to 2.4.0 - More testing * Mon Apr 11 2016 Colin B. Macdonald - 2.3.0-2 - Update to 2.3.0 (#1325897) - Fix broken checks * Thu Feb 04 2016 Fedora Release Engineering - 2.2.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Sun Jan 03 2016 Colin B. Macdonald - 2.2.4-3 - Use current id in metainfo: www.octave.org-octave.desktop * Sun Dec 27 2015 Colin B. Macdonald - 2.2.4-2 - Run tests * Sun Dec 27 2015 Colin B. Macdonald - 2.2.4-1 - Update to 2.2.4, add metainfo.xml * Sat Nov 28 2015 Colin B. Macdonald - 2.2.3-1 - Update to 2.2.3 * Tue Jul 07 2015 Orion Poplawski - 2.2.2-1 - Update to 2.2.2 - Add BR sympy * Wed Jun 17 2015 Fedora Release Engineering - 2.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Feb 18 2015 Thomas Sailer - 2.0.0-1 - update to 1.1.0 * Sun Aug 17 2014 Fedora Release Engineering - 1.1.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sun Jul 06 2014 Thomas Sailer - 1.1.0-8 - rebuild for ginac * Sat Jun 07 2014 Fedora Release Engineering - 1.1.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Dec 29 2013 Orion Poplawski - 1.1.0-6 - Rebuild for octave 3.8.0 * Sat Aug 03 2013 Fedora Release Engineering - 1.1.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 1.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 1.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 13 2012 Fedora Release Engineering - 1.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Oct 24 2011 Thomas Sailer - 1.1.0-1 - update to 1.1.0 * Sat Aug 06 2011 Jussi Lehtola - 1.0.9-3 - Bump spec due to change of octave api version. * Wed Jun 15 2011 Thomas Sailer - 1.0.9-2 - Review input * Fri Jun 03 2011 Thomas Sailer - 1.0.9-1 - initial package for Fedora ## END: Generated by rpmautospec