|
|
|
@ -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,10 +208,19 @@ 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
|
|
|
|
|
* 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
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|