Name: libportal Version: 0.6 Release: 5%{?dist} Summary: Flatpak portal library License: LGPLv3 Url: https://github.com/flatpak/libportal Source: https://github.com/flatpak/libportal/releases/download/%{version}/%{name}-%{version}.tar.xz BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: gi-docgen BuildRequires: meson BuildRequires: vala BuildRequires: git BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(gobject-introspection-1.0) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(gtk4) BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5X11Extras) # Backport from post-0.6 fixes Patch0: 0.6-backports.patch %description libportal provides GIO-style asynchronous APIs for most Flatpak portals. %package gtk3 Summary: GTK+ 3 libraries for %name Requires: %{name}%{?_isa} = %{version}-%{release} %description gtk3 %name provides GIO-style asynchronous APIs for most Flatpak portals. This package provides files for GTK+ 3 and %name. %package gtk4 Summary: GTK 4 libraries for %name Requires: %{name}%{?_isa} = %{version}-%{release} %description gtk4 %name provides GIO-style asynchronous APIs for most Flatpak portals. This package provides files for GTK 4 and %name. %package qt5 Summary: Qt5 libraries for %name Requires: %{name}%{?_isa} = %{version}-%{release} %description qt5 %name provides GIO-style asynchronous APIs for most Flatpak portals. This package provides files for Qt 5 and %name. %package devel Summary: Development files and libraries for %name Requires: %{name}%{?_isa} = %{version}-%{release} %description devel %name provides GIO-style asynchronous APIs for most Flatpak portals. This package provides files for development with %name. %package gtk3-devel Summary: GTK+ 3 development files and libraries for %name Requires: %{name}-devel%{?_isa} = %{version}-%{release} Requires: %{name}-gtk3%{?_isa} = %{version}-%{release} %description gtk3-devel %name provides GIO-style asynchronous APIs for most Flatpak portals. This package provides files for development with GTK+ 3 and %name. %package gtk4-devel Summary: GTK 4 development files and libraries for %name Requires: %{name}-devel%{?_isa} = %{version}-%{release} Requires: %{name}-gtk4%{?_isa} = %{version}-%{release} %description gtk4-devel %name provides GIO-style asynchronous APIs for most Flatpak portals. This package provides files for development with GTK 4 and %name. %package qt5-devel Summary: Qt 5 development files and libraries for %name Requires: %{name}-devel%{?_isa} = %{version}-%{release} Requires: %{name}-qt5%{?_isa} = %{version}-%{release} %description qt5-devel %name provides GIO-style asynchronous APIs for most Flatpak portals. This package provides files for development with Qt 5 and %name. %package devel-doc Summary: Development documentation for libportal # Because web fonts from upstream are not bundled in the gi-docgen package, # packages containing documentation generated with gi-docgen should depend on # this metapackage to ensure the proper system fonts are present. Recommends: gi-docgen-fonts BuildArch: noarch %description devel-doc libportal provides GIO-style asynchronous APIs for most Flatpak portals. This package provides development documentations for libportal. %prep %autosetup -p1 -S git_am %build %meson %meson_build %install %meson_install %files %license COPYING %doc README.md NEWS %{_libdir}/girepository-1.0/Xdp-1.0.typelib %{_libdir}/libportal.so.1* %files gtk3 %{_libdir}/girepository-1.0/XdpGtk3-1.0.typelib %{_libdir}/libportal-gtk3.so.1* %files gtk4 %{_libdir}/girepository-1.0/XdpGtk4-1.0.typelib %{_libdir}/libportal-gtk4.so.1* %files qt5 %{_libdir}/libportal-qt5.so.1* %files devel %{_datadir}/gir-1.0/Xdp-1.0.gir %{_datadir}/vala/vapi/libportal.deps %{_datadir}/vala/vapi/libportal.vapi %{_includedir}/libportal %{_libdir}/libportal.so %{_libdir}/pkgconfig/libportal.pc %files gtk3-devel %{_datadir}/gir-1.0/XdpGtk3-1.0.gir %{_datadir}/vala/vapi/libportal-gtk3.deps %{_datadir}/vala/vapi/libportal-gtk3.vapi %{_includedir}/libportal-gtk3 %{_libdir}/libportal-gtk3.so %{_libdir}/pkgconfig/libportal-gtk3.pc %files gtk4-devel %{_datadir}/gir-1.0/XdpGtk4-1.0.gir %{_datadir}/vala/vapi/libportal-gtk4.deps %{_datadir}/vala/vapi/libportal-gtk4.vapi %{_includedir}/libportal-gtk4 %{_libdir}/libportal-gtk4.so %{_libdir}/pkgconfig/libportal-gtk4.pc %files qt5-devel %{_includedir}/libportal-qt5 %{_libdir}/libportal-qt5.so %{_libdir}/pkgconfig/libportal-qt5.pc %files devel-doc %{_datadir}/doc/libportal-1 %changelog * Wed Jan 18 2023 Bastien Nocera - 0.6-5 - Backport post-0.6 bug fixes * Thu Dec 15 2022 Benjamin A. Beasley - 0.6-4 - Ensure correct fonts are installed for HTML docs * Thu Jul 21 2022 Fedora Release Engineering - 0.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jun 09 2022 Bastien Nocera - 0.6-2 + libportal-0.6-2 - Disable Qt tests, see https://github.com/flatpak/libportal/issues/86 * Thu Jun 09 2022 Bastien Nocera - 0.6-1 + libportal-0.6-1 - Update to 0.6 * Thu Jan 20 2022 Fedora Release Engineering - 0.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jan 07 2022 David King - 0.5-1 - Update to 0.5 * Thu Jul 22 2021 Fedora Release Engineering - 0.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Apr 06 2021 David King - 0.4-1 - Update to 0.4 * Tue Jan 26 2021 Fedora Release Engineering - 0.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 0.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Jan 13 2020 Bastien Nocera - 0.3-3 + libportal-0.3-3 - Add forgotten dist tag to Release (#1790258) * Mon Jan 06 2020 Bastien Nocera - 0.3-2 + libportal-0.3-2 - Add COPYING file to package * Mon Jan 06 2020 Bastien Nocera - 0.3-1 + libportal-0.3-1 - Update to 0.3 * Wed Dec 11 2019 Bastien Nocera - 0.1-0.1.20191211git7355b1e + libportal-0.1-0.20191211git7355b1e