File project.diff of Package opencv
--- opencv.changes.orig
+++ opencv.changes
@@ -1,4 +1,28 @@
-------------------------------------------------------------------
+Wed Feb 4 17:23:29 UTC 2026 - Jan Engelhardt <jengelh@inai.de>
+
+- Update to release 4.13.0
+ * imgproc: Added Iterative Phase Correlation
+ * imgproc: Various performance optimizations for Gaussian Blur,
+ including AVX512 and blur, bilateralFilter
+ * imgcodecs: Extended metadata support in Jpeg (ICCP and XMP),
+ PNG and WebP, cICP field in PNG, AVIF (XMP)
+ * imgcodecs: Added OpenEXR multispectral read/write support
+ * VideoIO: Added option to open camera device by index through
+ FFmpeg; support for FFmpeg 8
+ * objdetect: Improved multiple QR codes detection
+ * dnn: Added more layers support: ONNX randomNormalLike,
+ TFLite Minimum, Maximum
+ * calib3d: Added QR decomposition option to stereoCalibrate
+ * G-API: Added custom stream sources in Python
+ * photo module: Added 16U and 32F support in merge functions
+ * Improved interactive calibration tool: added option to select
+ camera backend #27546, extended calibration flags #27574,
+ Improved preview for grayscale cameras.
+- Delete opencv-qt6_9-highgui-linking-test.patch,
+ opencv-ppc64le-power9.patch, 86df531.patch (merged)
+
+-------------------------------------------------------------------
Thu Sep 25 14:49:49 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
- Add 86df531.patch: FFmpeg 8.0 support (boo#1249045).
--- opencv.spec.orig
+++ opencv.spec
@@ -1,7 +1,7 @@
#
# spec file for package opencv
#
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -34,7 +34,7 @@
%bcond_with python3
%define psuffix -%{flavor}
%if 0%{?suse_version} < 1600
-ExclusiveArch: do_not_build
+ExclusiveArch: do_not_build
%endif
%endif
@@ -50,7 +50,7 @@ ExclusiveArch: do_not_build
%endif
%define libname lib%{pname}
-%define soname 412
+%define soname 413
# disabled by default as many fail
%bcond_with tests
%bcond_without gapi
@@ -63,24 +63,17 @@ ExclusiveArch: do_not_build
%define __builder ninja
Name: %{pname}%{psuffix}
-Version: 4.12.0
+Version: 4.13.0
Release: 0
Summary: Collection of algorithms for computer vision
# GPL-2.0 AND Apache-2.0 files are in 3rdparty/ittnotify which is not build
-License: BSD-3-Clause AND GPL-2.0-only AND Apache-2.0
+License: Apache-2.0 AND BSD-3-Clause AND GPL-2.0-only
Group: Development/Libraries/C and C++
URL: https://opencv.org/
Source0: https://github.com/opencv/opencv/archive/%{version}.tar.gz#/%{pname}-%{version}.tar.gz
# Several modules from the opencv_contrib package
Source1: https://github.com/opencv/opencv_contrib/archive/%{version}.tar.gz#/opencv_contrib-%{version}.tar.gz
Source99: opencv-rpmlintrc
-# PATCH-FIX-UPSTREAM opencv-qt6_9-highgui-linking-test.patch gh#opencv/opencv#27223 badshah400@gmail.com -- Fix highgui module linking against Qt 6.9; patch sent upstream
-Patch0: opencv-qt6_9-highgui-linking-test.patch
-# PATCH-FIX-UPSTREAM opencv-ppc64le-power9.patch hillwood@opensuse.org - Fix missing vec_cvfo on POWER9 due to unavailable VSX float64 conversion
-# https://github.com/opencv/opencv/pull/27633
-Patch1: opencv-ppc64le-power9.patch
-# PATCH-FIX-UPSTREAM 86df531.patch -- FFmpeg 8.0 support.
-Patch2: https://github.com/opencv/opencv/commit/86df531.patch
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: libeigen3-devel
@@ -118,10 +111,10 @@ BuildRequires: ade-devel >= 0.1.0
BuildRequires: openblas-devel
%endif
%if %{with python3}
-BuildRequires: python-rpm-macros
-BuildRequires: %{python_module numpy-devel}
BuildRequires: %{python_module devel}
+BuildRequires: %{python_module numpy-devel}
BuildRequires: %{python_module setuptools}
+BuildRequires: python-rpm-macros
%else
BuildRequires: python3-base
BuildRequires: python3-setuptools
@@ -306,8 +299,8 @@ Requires: libopencv_gapi%{soname}
Requires: libopencv_highgui%{soname}%{psuffix} = %{version}
%endif
%if "%flavor" == ""
-Conflicts: opencv-qt6-devel = %{version}
Conflicts: opencv-nogui-devel = %{version}
+Conflicts: opencv-qt6-devel = %{version}
%endif
%if "%flavor" == "qt6"
Conflicts: opencv-devel = %{version}
@@ -317,6 +310,7 @@ Conflicts: opencv-nogui-devel = %{v
Conflicts: opencv-devel = %{version}
Conflicts: opencv-qt6-devel = %{version}
%endif
+Requires: %{name} = %{version}
Requires: libopencv_imgcodecs%{soname} = %{version}
Requires: libopencv_objdetect%{soname} = %{version}
Requires: libopencv_optflow%{soname} = %{version}
@@ -324,7 +318,6 @@ Requires: libopencv_superres%{sona
Requires: libopencv_videoio%{soname} = %{version}
Requires: libopencv_videostab%{soname} = %{version}
Requires: libopencv_ximgproc%{soname} = %{version}
-Requires: %{name} = %{version}
Requires: pkgconfig(gl)
Requires: pkgconfig(glu)
Requires: pkgconfig(ice)
@@ -664,6 +657,8 @@ grep -E 'model|stepping|flags' /proc/cpu
%files
%license LICENSE LICENSE.contrib
%license %{_licensedir}/%{name}/*
+%dir %{_licensedir}/opencv4
+%license %{_licensedir}/opencv4/dlpack-LICENSE
%{_bindir}/opencv_*%{psuffix}
%dir %{_datadir}/opencv4
%exclude %{_datadir}/opencv4/valgrind*