import libportal-0.8.1-1.el10

cs10 imports/cs10/libportal-0.8.1-1.el10
MSVSphere Packaging Team 3 months ago
parent 39bfd4dfd4
commit 29870a4b2e
Signed by: sys_gitsync
GPG Key ID: B2B0B9F29E528FE8

2
.gitignore vendored

@ -1 +1 @@
SOURCES/libportal-0.7.1.tar.xz SOURCES/libportal-0.8.1.tar.xz

@ -1 +1 @@
fd9003fcbf8747d08c62e74ae213ba547d60d64e SOURCES/libportal-0.7.1.tar.xz 3ecf21ee87d980d36bcb6df1893caf864571b8e3 SOURCES/libportal-0.8.1.tar.xz

@ -1,8 +1,8 @@
%bcond qt5 %[%{undefined rhel} || 0%{?rhel} < 10] %bcond qt5 %[%{undefined rhel} || 0%{?rhel} < 10]
Name: libportal Name: libportal
Version: 0.7.1 Version: 0.8.1
Release: 4%{?dist} Release: 1%{?dist}
Summary: Flatpak portal library Summary: Flatpak portal library
# doc/urlmap.js is LGPL-2.1-or-later # doc/urlmap.js is LGPL-2.1-or-later
# everything else is LGPL-3.0-only # 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(gobject-introspection-1.0)
BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(gtk4) BuildRequires: pkgconfig(gtk4)
BuildRequires: pkgconfig(Qt6Core)
BuildRequires: pkgconfig(Qt6Gui)
BuildRequires: pkgconfig(Qt6Widgets)
BuildRequires: qt6-qtbase-private-devel
%if %{with qt5} %if %{with qt5}
BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Gui)
@ -48,6 +52,15 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
This package provides files for GTK 4 and %name. 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} %if %{with qt5}
%package qt5 %package qt5
Summary: Qt5 libraries for %name 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. 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} %if %{with qt5}
%package qt5-devel %package qt5-devel
Summary: Qt 5 development files and libraries for %name Summary: Qt 5 development files and libraries for %name
@ -120,6 +143,7 @@ This package provides development documentations for libportal.
%meson \ %meson \
-Dbackend-gtk3=enabled \ -Dbackend-gtk3=enabled \
-Dbackend-gtk4=enabled \ -Dbackend-gtk4=enabled \
-Dbackend-qt6=enabled \
%if %{with qt5} %if %{with qt5}
-Dbackend-qt5=enabled \ -Dbackend-qt5=enabled \
%else %else
@ -150,6 +174,9 @@ This package provides development documentations for libportal.
%{_libdir}/libportal-qt5.so.1* %{_libdir}/libportal-qt5.so.1*
%endif %endif
%files qt6
%{_libdir}/libportal-qt6.so.1*
%files devel %files devel
%{_datadir}/gir-1.0/Xdp-1.0.gir %{_datadir}/gir-1.0/Xdp-1.0.gir
%{_datadir}/vala/vapi/libportal.deps %{_datadir}/vala/vapi/libportal.deps
@ -181,10 +208,19 @@ This package provides development documentations for libportal.
%{_libdir}/pkgconfig/libportal-qt5.pc %{_libdir}/pkgconfig/libportal-qt5.pc
%endif %endif
%files qt6-devel
%{_includedir}/libportal-qt6
%{_libdir}/libportal-qt6.so
%{_libdir}/pkgconfig/libportal-qt6.pc
%files devel-doc %files devel-doc
%{_datadir}/doc/libportal-1 %{_datadir}/doc/libportal-1
%changelog %changelog
* Sun Sep 29 2024 Neal Gompa <ngompa@centosproject.org> - 0.8.1-1
- Update to 0.8.1 and build Qt 6 bindings
Resolves: RHEL-60817
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.7.1-4 * Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.7.1-4
- Bump release for June 2024 mass rebuild - Bump release for June 2024 mass rebuild

Loading…
Cancel
Save