The package rpms/qt6-qtwebview.git has added or updated architecture specific content in
its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/qt6-qtwebview.git/commit/?id=49eb....
Change:
+ExclusiveArch: aarch64 x86_64
Thanks.
Full change:
============
commit 49ebe8defb15c4e3e870b5481406095308f2890f
Author: Jan Grulich <jgrulich(a)redhat.com>
Date: Wed Feb 1 09:00:32 2023 +0100
Initial import
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..b8493d8
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/qtwebview-everywhere-src-6.4.2.tar.xz
diff --git a/README.md b/README.md
deleted file mode 100644
index cc7be3b..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# qt6-qtwebview
-
-The qt6-qtwebview package
diff --git a/qt6-qtwebview.spec b/qt6-qtwebview.spec
new file mode 100644
index 0000000..a222700
--- /dev/null
+++ b/qt6-qtwebview.spec
@@ -0,0 +1,102 @@
+%global qt_module qtwebview
+
+%global examples 1
+
+Summary: Qt6 - WebView component
+Name: qt6-%{qt_module}
+Version: 6.4.2
+Release: 1%{?dist}
+
+License: LGPL-3.0-only OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+Url:
http://www.qt.io
+%global majmin %(echo %{version} | cut -d. -f1-2)
+Source0:
https://download.qt.io/official_releases/qt/%{majmin}/%{version}/submodul...
+
+# FIXME use/update qt6_qtwebengine_arches
+# 32-bit arches not supported (
https://bugreports.qt.io/browse/QTBUG-102143)
+ExclusiveArch: aarch64 x86_64
+
+BuildRequires: gcc-c++
+BuildRequires: cmake
+BuildRequires: ninja-build
+BuildRequires: qt6-qtbase-devel >= %{version}
+BuildRequires: qt6-qtbase-private-devel
+%{?_qt6:Requires: %{_qt6}%{?_isa} = %{_qt6_version}}
+BuildRequires: qt6-qtdeclarative-devel >= %{version}
+BuildRequires: qt6-qtwebengine-devel
+BuildRequires: pkgconfig(xkbcommon) >= 0.4.1
+
+%description
+Qt WebView provides a way to display web content in a QML application
+without necessarily including a full web browser stack by using native
+APIs where it makes sense.
+
+%package devel
+Summary: Development files for %{name}
+Requires: %{name}%{?_isa} = %{version}-%{release}
+Requires: qt6-qtbase-devel%{?_isa}
+Requires: qt6-qtdeclarative-devel%{?_isa}
+%description devel
+%{summary}.
+
+%if 0%{?examples}
+%package examples
+Summary: Programming examples for %{name}
+Requires: %{name}%{?_isa} = %{version}-%{release}
+%description examples
+%{summary}.
+%endif
+
+%prep
+%autosetup -n %{qt_module}-everywhere-src-%{version}%{?unstable:-%{prerelease}} -p1
+
+
+%build
+%cmake_qt6 -DQT_BUILD_EXAMPLES:BOOL=%{?examples:ON}%{!?examples:OFF}
+
+%cmake_build
+
+
+%install
+%cmake_install
+
+
+%files
+%license LICENSES/GPL* LICENSES/LGPL*
+%{_qt6_libdir}/libQt6WebView.so.6{,.*}
+%{_qt6_libdir}/libQt6WebViewQuick.so.6{,.*}
+%{_qt6_qmldir}/QtWebView/
+%dir %{_qt6_plugindir}/webview/
+%{_qt6_plugindir}/webview/libqtwebview_webengine.so
+
+%files devel
+%dir %{_qt6_headerdir}/QtWebView
+%{_qt6_headerdir}/QtWebView/*
+%dir %{_qt6_headerdir}/QtWebViewQuick
+%{_qt6_headerdir}/QtWebViewQuick/*
+%{_qt6_libdir}/cmake/Qt6BuildInternals/StandaloneTests/QtWebViewTestsConfig.cmake
+%{_qt6_libdir}/cmake/Qt6Qml/QmlPlugins/*.cmake
+%dir %{_qt6_libdir}/cmake/Qt6WebView
+%{_qt6_libdir}/cmake/Qt6WebView/*.cmake
+%dir %{_qt6_libdir}/cmake/Qt6WebViewQuick
+%{_qt6_libdir}/cmake/Qt6WebViewQuick/*.cmake
+%{_qt6_libdir}/libQt6WebView.so
+%{_qt6_libdir}/libQt6WebView.prl
+%{_qt6_libdir}/libQt6WebViewQuick.so
+%{_qt6_libdir}/libQt6WebViewQuick.prl
+%{_qt6_libdir}/metatypes/*.json
+%{_qt6_libdir}/pkgconfig/Qt6WebView.pc
+%{_qt6_libdir}/pkgconfig/Qt6WebViewQuick.pc
+%{_qt6_archdatadir}/mkspecs/modules/*.pri
+%{_qt6_datadir}/modules/*.json
+
+%if 0%{?examples}
+%files examples
+%dir %{_qt6_examplesdir}/webview/minibrowser
+%{_qt6_examplesdir}/webview/minibrowser/minibrowser
+%endif
+
+
+%changelog
+* Wed Jan 25 2023 Jan Grulich <jgrulich(a)redhat.com> - 6.4.2-1
+- 6.4.2
diff --git a/sources b/sources
new file mode 100644
index 0000000..e6351c0
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (qtwebview-everywhere-src-6.4.2.tar.xz) =
0e6240eb7b2d22865ff57c1a9d2d16878c795d2db38223e0469ee7d8a655f65d9fa35e1cb8b9a55144bfcbd201e2cc0de5c1dd4d624d1652da783fe57b99ccb3