qt6-qtwebview/qt6-qtwebview.spec

159 lines
4.8 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-2)
Name: qt6-qtwebview
Version: 6.7.0
Release: 1mamba
Summary: Qt6 web view component
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.qt.io/
Source: https://download.qt.io/official_releases/qt/%{majver}/%{version}/submodules/qtwebview-everywhere-src-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libglvnd-devel
BuildRequires: libstdc++6-devel
BuildRequires: libxkbcommon-devel
BuildRequires: qt6-qtbase-devel
BuildRequires: qt6-qtdeclarative-devel
BuildRequires: qt6-qtpositioning-devel
BuildRequires: qt6-qtwebchannel-devel
%ifnarch %{ix86}
BuildRequires: qt6-qtwebengine-devel
%endif
## AUTOBUILDREQ-END
%ifnarch %{ix86}
BuildRequires: qt6-qtwebengine-devel = %{version}
%endif
%description
Qt6 web view component.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q -n qtwebview-everywhere-src-%{version}
%build
%cmake -d build \
-G Ninja
cmake --build .
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
DESTDIR="%{buildroot}" cmake --install build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libQt6WebView.so.*
%{_libdir}/libQt6WebViewQuick.so.*
%ifnarch %{ix86}
%dir %{_libdir}/qt6/plugins/webview
%{_libdir}/qt6/plugins/webview/libqtwebview_webengine.so
%endif
%dir %{_libdir}/qt6/qml/QtWebView
%{_libdir}/qt6/qml/QtWebView/*
%{_libdir}/qt6/metatypes/qt6webview*.json
%{_libdir}/qt6/modules/WebView.json
%{_libdir}/qt6/modules/WebViewQuick.json
%doc LICENSES
%files devel
%defattr(-,root,root)
%dir %{_includedir}/qt6/QtWebView
%{_includedir}/qt6/QtWebView/*
%dir %{_includedir}/qt6/QtWebViewQuick
%{_includedir}/qt6/QtWebViewQuick/*
%{_libdir}/libQt6WebView.prl
%{_libdir}/libQt6WebView.so
%{_libdir}/qt6/mkspecs/modules/qt_lib_webview*.pri
%{_libdir}/libQt6WebViewQuick.prl
%{_libdir}/libQt6WebViewQuick.so
%{_libdir}/cmake/Qt6BuildInternals/StandaloneTests/QtWebViewTestsConfig.cmake
%{_libdir}/cmake/Qt6Qml/QmlPlugins/Qt6qtwebviewquickplugin*.cmake
%dir %{_libdir}/cmake/Qt6WebView
%{_libdir}/cmake/Qt6WebView/Qt6*.cmake
%dir %{_libdir}/cmake/Qt6WebViewQuick
%{_libdir}/cmake/Qt6WebViewQuick/Qt6WebViewQuick*.cmake
%{_libdir}/pkgconfig/Qt6WebView*.pc
%changelog
* Tue Apr 16 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 6.7.0-1mamba
- update to 6.7.0
* Sun Mar 31 2024 Automatic Build System <autodist@openmamba.org> 6.6.3-1mamba
- automatic version update by autodist
* Tue Feb 20 2024 Automatic Build System <autodist@openmamba.org> 6.6.2-1mamba
- automatic version update by autodist
* Wed Nov 29 2023 Automatic Build System <autodist@mambasoft.it> 6.6.1-1mamba
- automatic version update by autodist
* Tue Oct 17 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 6.6.0-1mamba
- update to 6.6.0
* Mon Oct 02 2023 Automatic Build System <autodist@mambasoft.it> 6.5.3-1mamba
- automatic version update by autodist
* Tue Jul 25 2023 Automatic Build System <autodist@mambasoft.it> 6.5.2-1mamba
- automatic version update by autodist
* Wed May 31 2023 Automatic Build System <autodist@mambasoft.it> 6.5.1-1mamba
- automatic version update by autodist
* Mon Apr 24 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 6.5.0-1mamba
- update to 6.5.0
* Sat Mar 18 2023 Automatic Build System <autodist@mambasoft.it> 6.4.3-1mamba
- automatic version update by autodist
* Mon Jan 09 2023 Automatic Build System <autodist@mambasoft.it> 6.4.2-1mamba
- automatic version update by autodist
* Wed Nov 23 2022 Automatic Build System <autodist@mambasoft.it> 6.4.1-1mamba
- automatic version update by autodist
* Fri Oct 07 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 6.4.0-1mamba
- update to 6.4.0
* Tue Sep 13 2022 Automatic Build System <autodist@mambasoft.it> 6.3.2-1mamba
- automatic version update by autodist
* Sun Jun 19 2022 Automatic Build System <autodist@mambasoft.it> 6.3.1-1mamba
- automatic version update by autodist
* Thu Apr 14 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 6.3.0-1mamba
- update to 6.3.0
* Tue Mar 22 2022 Automatic Build System <autodist@mambasoft.it> 6.2.4-1mamba
- automatic version update by autodist
* Sat Feb 26 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 6.2.3-1mamba
- update to 6.2.3
* Sat Nov 06 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.15.2-2mamba
- bump release
* Sat Nov 06 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.15.2-1mamba
- package created using the webbuild interface