qt6-qtwayland/qt6-qtwayland.spec

189 lines
6.6 KiB
RPMSpec
Raw Permalink Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: qt6-qtwayland
Version: 6.7.2
Release: 2mamba
Summary: Qt6 wayland components
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.qt.io/
Source: https+git://code.qt.io/qt/qtwayland.git/%{version}/qtwayland-%{version}.tar.bz2
#Source: https://download.qt.io/official_releases/qt/%{majver}/%{version}/submodules/qtwayland-everywhere-src-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libdrm-devel
BuildRequires: libgcc
BuildRequires: libglvnd-devel
BuildRequires: libstdc++6-devel
BuildRequires: libwayland-devel
BuildRequires: libwayland-egl-devel
BuildRequires: libxkbcommon-devel
BuildRequires: qt6-qtbase-devel
BuildRequires: qt6-qtdeclarative-devel
## AUTOBUILDREQ-END
BuildRequires: qt6-qtdeclarative-devel = %{version}
%description
Qt6 wayland components.
%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 qtwayland-%{version}
git cherry-pick -n 92bcb8f6b7a852c7a5d662fc34de561692a7a454
git cherry-pick -n c2f61bc47baacf2e6a44c6c3c4e4cbf0abfa4095
git cherry-pick -n 406995207eae8d644b6e5262aa716a48c7e471a8
git cherry-pick -n 632127d7f1d86cba4dd17361f24f9fd70a0ae44c
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libQt6WaylandClient.so.*
%{_libdir}/libQt6WaylandCompositor.so.*
%{_libdir}/libQt6WaylandEglClientHwIntegration.so.*
%{_libdir}/libQt6WaylandEglCompositorHwIntegration.so.*
%{_libdir}/libQt6WlShellIntegration.so.*
%{_libdir}/qt6/plugins/platforms/libqwayland-*.so
%dir %{_libdir}/qt6/plugins/wayland-decoration-client
%{_libdir}/qt6/plugins/wayland-decoration-client/libbradient.so
%dir %{_libdir}/qt6/plugins/wayland-graphics-integration-client
%{_libdir}/qt6/plugins/wayland-graphics-integration-client/lib*.so
%dir %{_libdir}/qt6/plugins/wayland-graphics-integration-server
%{_libdir}/qt6/plugins/wayland-graphics-integration-server/libqt-wayland-compositor-*.so
%dir %{_libdir}/qt6/plugins/wayland-shell-integration
%{_libdir}/qt6/plugins/wayland-shell-integration/lib*.so
%dir %{_libdir}/qt6/qml/QtWayland
%{_libdir}/qt6/qml/QtWayland/*
%{_libdir}/qt6/libexec/qtwaylandscanner
%doc LICENSES
%files devel
%defattr(-,root,root)
%dir %{_includedir}/qt6/QtWayland*
%{_includedir}/qt6/QtWayland*/*
%dir %{_includedir}/qt6/QtWlShellIntegration
%{_includedir}/qt6/QtWlShellIntegration/*
%{_libdir}/libQt6WaylandClient.prl
%{_libdir}/libQt6WaylandClient.so
%{_libdir}/libQt6WaylandCompositor.prl
%{_libdir}/libQt6WaylandCompositor.so
%{_libdir}/libQt6WaylandEglClientHwIntegration.prl
%{_libdir}/libQt6WaylandEglClientHwIntegration.so
%{_libdir}/libQt6WaylandEglCompositorHwIntegration.prl
%{_libdir}/libQt6WaylandEglCompositorHwIntegration.so
%{_libdir}/libQt6WlShellIntegration.prl
%{_libdir}/libQt6WlShellIntegration.so
%{_libdir}/qt6/metatypes/qt6*.json
%{_libdir}/qt6/modules/*.json
%{_libdir}/qt6/mkspecs/modules/qt_lib_*.pri
%{_libdir}/cmake/Qt6/FindWaylandkms.cmake
#%{_libdir}/cmake/Qt6/FindXComposite.cmake
%{_libdir}/cmake/Qt6BuildInternals/StandaloneTests/QtWaylandTestsConfig.cmake
%{_libdir}/cmake/Qt6Gui/Qt6QWayland*.cmake
%{_libdir}/cmake/Qt6Qml/QmlPlugins/Qt6*.cmake
%dir %{_libdir}/cmake/Qt6Wayland*
%{_libdir}/cmake/Qt6Wayland*/Qt6*.cmake
%dir %{_libdir}/cmake/Qt6WlShellIntegrationPrivate
%{_libdir}/cmake/Qt6WlShellIntegrationPrivate/Qt6WlShellIntegration*.cmake
%{_libdir}/pkgconfig/Qt6Wayland*.pc
#%doc README
%changelog
* Sat Aug 10 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 6.7.2-2mamba
- apply upstream patches to fix https://codereview.qt-project.org/c/qt/qtwayland/+/574983
* Fri Jun 21 2024 Automatic Build System <autodist@openmamba.org> 6.7.2-1mamba
- automatic version update by autodist
* Sun Jun 02 2024 Automatic Build System <autodist@openmamba.org> 6.7.1-1mamba
- automatic version update by autodist
* Tue Apr 16 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 6.7.0-1mamba
- update to 6.7.0
* Sat Mar 30 2024 Automatic Build System <autodist@openmamba.org> 6.6.3-1mamba
- automatic version update by autodist
* Fri Feb 16 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
* Sat Sep 30 2023 Automatic Build System <autodist@mambasoft.it> 6.5.3-1mamba
- automatic version update by autodist
* Sat Jul 22 2023 Automatic Build System <autodist@mambasoft.it> 6.5.2-1mamba
- automatic version update by autodist
* Mon May 29 2023 Automatic Build System <autodist@mambasoft.it> 6.5.1-1mamba
- automatic version update by autodist
* Fri Apr 21 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
* Sun Jan 08 2023 Automatic Build System <autodist@mambasoft.it> 6.4.2-1mamba
- automatic version update by autodist
* Tue Nov 22 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
* Mon Mar 21 2022 Automatic Build System <autodist@mambasoft.it> 6.2.4-1mamba
- automatic version update by autodist
* Sun Jan 30 2022 Automatic Build System <autodist@mambasoft.it> 6.2.3-1mamba
- automatic version update by autodist
* Fri Dec 31 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 6.2.2-1mamba
- update to 6.2.2
* 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