%global octpkg image Name: octave-%{octpkg} Version: 2.12.0 Release: 1%{?dist} Summary: Image processing for Octave License: GPLv2+ URL: http://octave.sourceforge.net/image/ Source0: http://downloads.sourceforge.net/octave/%{octpkg}-%{version}.tar.gz BuildRequires: octave-devel >= 6:4.0.0 %if 0%{?rhel} == 6 # For EL6 BuildRequires: devtoolset-3-gcc-c++ %endif Requires: octave(api) = %{octave_api} Requires(post): octave Requires(postun): octave %description The Octave-forge Image package provides functions for processing images. The package also provides functions for feature extraction, image statistics, spatial and geometric transformations, morphological operations, linear filtering, and much more. %prep %setup -qcT %build %if 0%{?rhel} == 6 cat << EOF | scl enable devtoolset-3 - %endif CXXFLAGS="%{optflags}" %octave_pkg_build -T %if 0%{?rhel} == 6 EOF %endif %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} %doc %{octpkgdir}/doc-cache %{octpkgdir}/*.m %{octpkgdir}/packinfo %{octpkgdir}/private/ %{octpkgdir}/@imref2d/ %{octpkgdir}/@imref3d/ %{octpkgdir}/@strel/ %{_metainfodir}/octave-%{octpkg}.metainfo.xml %changelog * Sat Jan 23 2021 Orion Poplawski - 2.12.0-1 - Update to 2.12.0 * Tue Jul 28 2020 Fedora Release Engineering - 2.10.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 2.10.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Nov 07 2019 Orion Poplawski - 2.10.0-2 - Rebuild with octave 64bit indexes * Thu Sep 26 2019 Orion Poplawski - 2.10.0-1 - Update to 2.10.0 * Thu Jul 25 2019 Fedora Release Engineering - 2.8.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Jun 16 2019 Orion Poplawski - 2.8.1-3 - Rebuild for octave 5.1 * Fri Feb 01 2019 Fedora Release Engineering - 2.8.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sun Nov 25 2018 Orion Poplawski - 2.8.1-1 - Update to 2.8.1 * Wed Nov 14 2018 Orion Poplawski - 2.8.0-1 - Update to 2.8.0 - Rebuild for octave 4.4 * Fri Jul 13 2018 Fedora Release Engineering - 2.6.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Mar 07 2018 Adam Williamson - 2.6.2-3 - Rebuild to fix GCC 8 mis-compilation See https://da.gd/YJVwk ("GCC 8 ABI change on x86_64") * Thu Feb 08 2018 Fedora Release Engineering - 2.6.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Nov 20 2017 Orion Poplawski - 2.6.2-1 - Update to 2.6.2 * Tue Aug 15 2017 Orion Poplawski - 2.6.1-6 - Rebuild to ship metainfo.xml so this package will appear in Software * Thu Aug 03 2017 Fedora Release Engineering - 2.6.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 2.6.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 2.6.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Dec 07 2016 Orion Poplawski - 2.6.1-2 - Rebuild for octave 4.2 * Tue Oct 25 2016 Orion Poplawski - 2.6.1-1 - Update to 2.6.1 * Wed Oct 5 2016 Orion Poplawski - 2.6.0-1 - Update to 2.6.0 * Thu Feb 4 2016 Orion Poplawski - 2.4.1-1 - Update to 2.4.1 * Thu Feb 04 2016 Fedora Release Engineering - 2.4.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Fri Jul 31 2015 Orion Poplawski - 2.4.0-3 - Set compile flags * Fri Jul 31 2015 Orion Poplawski - 2.4.0-2 - Run tests * Mon Jul 6 2015 Orion Poplawski - 2.4.0-1 - Update to 2.4.0 - Add patch to workaround gcc issue * Wed Jun 17 2015 Fedora Release Engineering - 2.2.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat May 02 2015 Kalev Lember - 2.2.2-2 - Rebuilt for GCC 5 C++11 ABI change * Mon Oct 6 2014 Orion Poplawski - 2.2.2-1 - Update to 2.2.2 * Sun Aug 17 2014 Fedora Release Engineering - 2.2.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 2.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Tue Mar 11 2014 Orion Poplawski - 2.2.1-1 - Update to 2.2.1 * Wed Jan 8 2014 Orion Poplawski - 2.2.0-1 - Update to 2.2.0 * Sun Dec 29 2013 Orion Poplawski - 2.0.0-4 - Rebuild for octave 3.8.0 * Sat Aug 03 2013 Fedora Release Engineering - 2.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 2.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Nov 8 2012 Orion Poplawski 2.0.0-1 - Update to 2.0.0 - Add requires octave-signal >= 1.2.0 * Fri Jul 20 2012 Fedora Release Engineering - 1.0.15-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Mon Jan 16 2012 Orion Poplawski 1.0.15-3 - Rebuild for octave 3.6.0 * Fri Jan 13 2012 Fedora Release Engineering - 1.0.15-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Thu Sep 22 2011 Orion Poplawski 1.0.15-1 - Update to 1.0.15 * Mon Aug 8 2011 Orion Poplawski 1.0.14-2 - Rebuild for octave 3.4.2 * Tue Apr 12 2011 Orion Poplawski 1.0.14-1 - Update to 1.0.14 * Fri Apr 8 2011 Orion Poplawski 1.0.13-2 - Fix permissions on source file * Tue Apr 05 2011 Orion Poplawski 1.0.13-1 - initial package for Fedora