From 812b0deee9b6ea186edc60afac5ec9394a8075d6 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Thu, 31 Oct 2024 21:44:38 +0300 Subject: [PATCH] import libportal-0.8.1-1.el10 --- .gitignore | 2 +- .libportal.metadata | 2 +- SPECS/libportal.spec | 42 +++++++++++++++++++++++++++++++++++++++--- 3 files changed, 41 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 5ec9ea9..89c64a8 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/libportal-0.7.1.tar.xz +SOURCES/libportal-0.8.1.tar.xz diff --git a/.libportal.metadata b/.libportal.metadata index de807a6..86f7fa2 100644 --- a/.libportal.metadata +++ b/.libportal.metadata @@ -1 +1 @@ -fd9003fcbf8747d08c62e74ae213ba547d60d64e SOURCES/libportal-0.7.1.tar.xz +3ecf21ee87d980d36bcb6df1893caf864571b8e3 SOURCES/libportal-0.8.1.tar.xz diff --git a/SPECS/libportal.spec b/SPECS/libportal.spec index 46c1ca6..9da33c5 100644 --- a/SPECS/libportal.spec +++ b/SPECS/libportal.spec @@ -1,8 +1,8 @@ %bcond qt5 %[%{undefined rhel} || 0%{?rhel} < 10] Name: libportal -Version: 0.7.1 -Release: 4%{?dist} +Version: 0.8.1 +Release: 1%{?dist} Summary: Flatpak portal library # doc/urlmap.js is LGPL-2.1-or-later # everything else is LGPL-3.0-only @@ -20,6 +20,10 @@ BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(gobject-introspection-1.0) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(gtk4) +BuildRequires: pkgconfig(Qt6Core) +BuildRequires: pkgconfig(Qt6Gui) +BuildRequires: pkgconfig(Qt6Widgets) +BuildRequires: qt6-qtbase-private-devel %if %{with qt5} BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Gui) @@ -48,6 +52,15 @@ Requires: %{name}%{?_isa} = %{version}-%{release} This package provides files for GTK 4 and %name. +%package qt6 +Summary: Qt6 libraries for %name +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description qt6 +%name provides GIO-style asynchronous APIs for most Flatpak portals. + +This package provides files for Qt 6 and %name. + %if %{with qt5} %package qt5 Summary: Qt5 libraries for %name @@ -88,6 +101,16 @@ Requires: %{name}-gtk4%{?_isa} = %{version}-%{release} This package provides files for development with GTK 4 and %name. +%package qt6-devel +Summary: Qt 6 development files and libraries for %name +Requires: %{name}-devel%{?_isa} = %{version}-%{release} +Requires: %{name}-qt6%{?_isa} = %{version}-%{release} + +%description qt6-devel +%name provides GIO-style asynchronous APIs for most Flatpak portals. + +This package provides files for development with Qt 6 and %name. + %if %{with qt5} %package qt5-devel Summary: Qt 5 development files and libraries for %name @@ -120,6 +143,7 @@ This package provides development documentations for libportal. %meson \ -Dbackend-gtk3=enabled \ -Dbackend-gtk4=enabled \ + -Dbackend-qt6=enabled \ %if %{with qt5} -Dbackend-qt5=enabled \ %else @@ -150,6 +174,9 @@ This package provides development documentations for libportal. %{_libdir}/libportal-qt5.so.1* %endif +%files qt6 +%{_libdir}/libportal-qt6.so.1* + %files devel %{_datadir}/gir-1.0/Xdp-1.0.gir %{_datadir}/vala/vapi/libportal.deps @@ -181,13 +208,22 @@ This package provides development documentations for libportal. %{_libdir}/pkgconfig/libportal-qt5.pc %endif +%files qt6-devel +%{_includedir}/libportal-qt6 +%{_libdir}/libportal-qt6.so +%{_libdir}/pkgconfig/libportal-qt6.pc + %files devel-doc %{_datadir}/doc/libportal-1 %changelog -* Fri Oct 25 2024 MSVSphere Packaging Team - 0.7.1-4 +* Fri Oct 25 2024 MSVSphere Packaging Team - 0.8.1-1 - Rebuilt for MSVSphere 10 +* Sun Sep 29 2024 Neal Gompa - 0.8.1-1 +- Update to 0.8.1 and build Qt 6 bindings + Resolves: RHEL-60817 + * Mon Jun 24 2024 Troy Dawson - 0.7.1-4 - Bump release for June 2024 mass rebuild