qt5-qtwayland/qt5-qtwayland.spec

119 lines
3.8 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-2)
Name: qt5-qtwayland
Version: 5.15.7
Release: 1mamba
Summary: Qt5 wayland components
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/qtwayland-everywhere-opensource-src-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libX11-devel
BuildRequires: libXcomposite-devel
BuildRequires: libXext-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libglvnd-devel
BuildRequires: libstdc++6-devel
BuildRequires: libwayland-devel
BuildRequires: libwayland-egl-devel
BuildRequires: libxkbcommon-devel
BuildRequires: libz-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtdeclarative-devel
## AUTOBUILDREQ-END
Provides: libQt5WaylandClient
Obsoletes: libQt5WaylandClient <= 5.15.2-1mamba
Provides: libQt5WaylandCompositor
Obsoletes: libQt5WaylandCompositor <= 5.15.2-1mamba
%description
Qt5 wayland components.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q -n qtwayland-everywhere-src-%{version}
%build
%_qt5_qmake
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall INSTALL_ROOT=%{buildroot} STRIP=/bin/true
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/qt5/bin/qtwaylandscanner
%{_libdir}/libQt5WaylandClient.so.*
%{_libdir}/libQt5WaylandCompositor.so.*
%{_libdir}/qt5/plugins/platforms/libqwayland-*.so
%dir %{_libdir}/qt5/plugins/wayland-decoration-client
%{_libdir}/qt5/plugins/wayland-decoration-client/libbradient.so
%dir %{_libdir}/qt5/plugins/wayland-graphics-integration-client
%{_libdir}/qt5/plugins/wayland-graphics-integration-client/lib*.so
%dir %{_libdir}/qt5/plugins/wayland-graphics-integration-server
%{_libdir}/qt5/plugins/wayland-graphics-integration-server/libqt-wayland-compositor-*.so
%dir %{_libdir}/qt5/plugins/wayland-shell-integration
%{_libdir}/qt5/plugins/wayland-shell-integration/lib*.so
%dir %{_libdir}/qt5/qml/QtWayland/Client
%{_libdir}/qt5/qml/QtWayland/Client/*
%dir %{_libdir}/qt5/qml/QtWayland/Compositor
%{_libdir}/qt5/qml/QtWayland/Compositor/*
%doc LICENSE.*
%files devel
%defattr(-,root,root)
%dir %{_includedir}/qt5/QtWaylandClient
%{_includedir}/qt5/QtWaylandClient/*
%dir %{_includedir}/qt5/QtWaylandCompositor
%{_includedir}/qt5/QtWaylandCompositor/*
%{_libdir}/libQt5WaylandClient.prl
%{_libdir}/libQt5WaylandClient.so
%{_libdir}/libQt5WaylandCompositor.prl
%{_libdir}/libQt5WaylandCompositor.so
%{_libdir}/qt5/mkspecs/modules/qt_lib_waylandclient*.pri
%{_libdir}/qt5/mkspecs/modules/qt_lib_waylandcompositor*.pri
%{_libdir}/cmake/Qt5Gui/Qt5Gui_QWayland*.cmake
%dir %{_libdir}/cmake/Qt5WaylandClient
%{_libdir}/cmake/Qt5WaylandClient/Qt5WaylandClient*.cmake
%dir %{_libdir}/cmake/Qt5WaylandCompositor
%{_libdir}/cmake/Qt5WaylandCompositor/Qt5WaylandCompositor*.cmake
%{_libdir}/pkgconfig/Qt5WaylandClient.pc
%{_libdir}/pkgconfig/Qt5WaylandCompositor.pc
%doc README
%changelog
* Mon Nov 07 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 5.15.7-1mamba
- update to 5.15.7
* 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