2023-06-22 20:57:45 +00:00
|
|
|
%bcond qt5 %[%{undefined rhel} || 0%{?rhel} < 10]
|
|
|
|
|
2019-12-17 14:33:11 +00:00
|
|
|
Name: libportal
|
2024-09-29 09:15:16 +00:00
|
|
|
Version: 0.8.1
|
2024-12-11 12:44:18 +00:00
|
|
|
Release: 3%{?dist}
|
2019-12-17 14:33:11 +00:00
|
|
|
Summary: Flatpak portal library
|
2023-10-08 11:10:15 +00:00
|
|
|
# doc/urlmap.js is LGPL-2.1-or-later
|
|
|
|
# everything else is LGPL-3.0-only
|
|
|
|
License: LGPL-3.0-only AND LGPL-2.1-or-later
|
2019-12-17 14:33:11 +00:00
|
|
|
Url: https://github.com/flatpak/libportal
|
2021-04-06 12:38:25 +00:00
|
|
|
Source: https://github.com/flatpak/libportal/releases/download/%{version}/%{name}-%{version}.tar.xz
|
2019-12-17 14:33:11 +00:00
|
|
|
|
2021-04-06 12:38:25 +00:00
|
|
|
BuildRequires: gcc
|
2022-01-07 15:34:21 +00:00
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: gi-docgen
|
2019-12-17 14:33:11 +00:00
|
|
|
BuildRequires: meson
|
2022-01-07 15:34:21 +00:00
|
|
|
BuildRequires: vala
|
2019-12-17 14:33:11 +00:00
|
|
|
BuildRequires: pkgconfig(gio-2.0)
|
|
|
|
BuildRequires: pkgconfig(gio-unix-2.0)
|
2022-01-07 15:34:21 +00:00
|
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
|
|
|
BuildRequires: pkgconfig(gtk+-3.0)
|
|
|
|
BuildRequires: pkgconfig(gtk4)
|
2024-09-29 09:15:16 +00:00
|
|
|
BuildRequires: pkgconfig(Qt6Core)
|
|
|
|
BuildRequires: pkgconfig(Qt6Gui)
|
|
|
|
BuildRequires: pkgconfig(Qt6Widgets)
|
|
|
|
BuildRequires: qt6-qtbase-private-devel
|
2023-06-22 20:57:45 +00:00
|
|
|
%if %{with qt5}
|
2022-01-07 15:34:21 +00:00
|
|
|
BuildRequires: pkgconfig(Qt5Core)
|
|
|
|
BuildRequires: pkgconfig(Qt5Gui)
|
|
|
|
BuildRequires: pkgconfig(Qt5Widgets)
|
|
|
|
BuildRequires: pkgconfig(Qt5X11Extras)
|
2023-06-22 20:57:45 +00:00
|
|
|
%endif
|
2019-12-17 14:33:11 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
libportal provides GIO-style asynchronous APIs for most Flatpak portals.
|
|
|
|
|
2022-01-07 15:34:21 +00:00
|
|
|
%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.
|
|
|
|
|
2024-09-29 09:15:16 +00:00
|
|
|
%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.
|
|
|
|
|
2023-06-22 20:57:45 +00:00
|
|
|
%if %{with qt5}
|
2022-01-07 15:34:21 +00:00
|
|
|
%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.
|
2023-06-22 20:57:45 +00:00
|
|
|
%endif
|
2022-01-07 15:34:21 +00:00
|
|
|
|
2019-12-17 14:33:11 +00:00
|
|
|
%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.
|
|
|
|
|
2022-01-07 15:34:21 +00:00
|
|
|
%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.
|
|
|
|
|
2024-09-29 09:15:16 +00:00
|
|
|
%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.
|
|
|
|
|
2023-06-22 20:57:45 +00:00
|
|
|
%if %{with qt5}
|
2022-01-07 15:34:21 +00:00
|
|
|
%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.
|
2023-06-22 20:57:45 +00:00
|
|
|
%endif
|
2022-01-07 15:34:21 +00:00
|
|
|
|
2019-12-17 14:33:11 +00:00
|
|
|
%package devel-doc
|
|
|
|
Summary: Development documentation for libportal
|
2022-12-15 19:31:57 +00:00
|
|
|
# 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
|
2019-12-17 14:33:11 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description devel-doc
|
|
|
|
libportal provides GIO-style asynchronous APIs for most Flatpak portals.
|
|
|
|
|
|
|
|
This package provides development documentations for libportal.
|
|
|
|
|
|
|
|
%prep
|
2023-09-21 20:23:09 +00:00
|
|
|
%autosetup -p1
|
2019-12-17 14:33:11 +00:00
|
|
|
|
|
|
|
%build
|
2023-09-21 20:23:09 +00:00
|
|
|
%meson \
|
|
|
|
-Dbackend-gtk3=enabled \
|
|
|
|
-Dbackend-gtk4=enabled \
|
2024-09-29 09:15:16 +00:00
|
|
|
-Dbackend-qt6=enabled \
|
2023-09-21 20:23:09 +00:00
|
|
|
%if %{with qt5}
|
|
|
|
-Dbackend-qt5=enabled \
|
|
|
|
%else
|
|
|
|
-Dbackend-qt5=disabled \
|
|
|
|
%endif
|
|
|
|
%{nil}
|
2019-12-17 14:33:11 +00:00
|
|
|
%meson_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%meson_install
|
|
|
|
|
|
|
|
%files
|
2021-04-06 12:38:25 +00:00
|
|
|
%license COPYING
|
|
|
|
%doc README.md NEWS
|
2022-01-07 15:34:21 +00:00
|
|
|
%{_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*
|
|
|
|
|
2023-06-22 20:57:45 +00:00
|
|
|
%if %{with qt5}
|
2022-01-07 15:34:21 +00:00
|
|
|
%files qt5
|
|
|
|
%{_libdir}/libportal-qt5.so.1*
|
2023-06-22 20:57:45 +00:00
|
|
|
%endif
|
2019-12-17 14:33:11 +00:00
|
|
|
|
2024-09-29 09:15:16 +00:00
|
|
|
%files qt6
|
|
|
|
%{_libdir}/libportal-qt6.so.1*
|
|
|
|
|
2019-12-17 14:33:11 +00:00
|
|
|
%files devel
|
2022-01-07 15:34:21 +00:00
|
|
|
%{_datadir}/gir-1.0/Xdp-1.0.gir
|
|
|
|
%{_datadir}/vala/vapi/libportal.deps
|
|
|
|
%{_datadir}/vala/vapi/libportal.vapi
|
2019-12-17 14:33:11 +00:00
|
|
|
%{_includedir}/libportal
|
|
|
|
%{_libdir}/libportal.so
|
|
|
|
%{_libdir}/pkgconfig/libportal.pc
|
|
|
|
|
2022-01-07 15:34:21 +00:00
|
|
|
%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
|
|
|
|
|
2023-06-22 20:57:45 +00:00
|
|
|
%if %{with qt5}
|
2022-01-07 15:34:21 +00:00
|
|
|
%files qt5-devel
|
|
|
|
%{_includedir}/libportal-qt5
|
|
|
|
%{_libdir}/libportal-qt5.so
|
|
|
|
%{_libdir}/pkgconfig/libportal-qt5.pc
|
2023-06-22 20:57:45 +00:00
|
|
|
%endif
|
2022-01-07 15:34:21 +00:00
|
|
|
|
2024-09-29 09:15:16 +00:00
|
|
|
%files qt6-devel
|
|
|
|
%{_includedir}/libportal-qt6
|
|
|
|
%{_libdir}/libportal-qt6.so
|
|
|
|
%{_libdir}/pkgconfig/libportal-qt6.pc
|
|
|
|
|
2019-12-17 14:33:11 +00:00
|
|
|
%files devel-doc
|
2022-01-07 15:34:21 +00:00
|
|
|
%{_datadir}/doc/libportal-1
|
2019-12-17 14:33:11 +00:00
|
|
|
|
|
|
|
%changelog
|
2024-12-11 12:44:18 +00:00
|
|
|
* Wed Dec 11 2024 Jan Grulich <jgrulich@redhat.com> - 0.8.1-3
|
|
|
|
- Rebuild (qt6)
|
|
|
|
Resolves: RHEL-53982
|
|
|
|
|
2024-10-29 15:43:33 +00:00
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 0.8.1-2
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
2024-09-29 09:15:16 +00:00
|
|
|
* 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
|
|
|
|
|
2024-06-24 15:57:39 +00:00
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.7.1-4
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
2024-01-25 03:15:16 +00:00
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2024-01-21 05:02:46 +00:00
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2023-09-21 20:23:09 +00:00
|
|
|
* Thu Sep 21 2023 Kalev Lember <klember@redhat.com> - 0.7.1-1
|
|
|
|
- Update to 0.7.1
|
|
|
|
|
2023-07-20 11:48:10 +00:00
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.6-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-06-22 20:57:45 +00:00
|
|
|
* Thu Jun 22 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 0.6-7
|
|
|
|
- Disable qt5 in RHEL 10 builds
|
|
|
|
|
2023-01-19 17:11:24 +00:00
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.6-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2023-01-18 09:26:52 +00:00
|
|
|
* Wed Jan 18 2023 Bastien Nocera <bnocera@redhat.com> - 0.6-5
|
|
|
|
- Backport post-0.6 bug fixes
|
|
|
|
|
2022-12-15 19:31:57 +00:00
|
|
|
* Thu Dec 15 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.6-4
|
|
|
|
- Ensure correct fonts are installed for HTML docs
|
|
|
|
|
2022-07-21 18:42:42 +00:00
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.6-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-06-09 09:18:19 +00:00
|
|
|
* Thu Jun 09 2022 Bastien Nocera <bnocera@redhat.com> - 0.6-2
|
|
|
|
+ libportal-0.6-2
|
|
|
|
- Disable Qt tests, see https://github.com/flatpak/libportal/issues/86
|
|
|
|
|
2022-06-09 08:13:32 +00:00
|
|
|
* Thu Jun 09 2022 Bastien Nocera <bnocera@redhat.com> - 0.6-1
|
|
|
|
+ libportal-0.6-1
|
|
|
|
- Update to 0.6
|
|
|
|
|
2022-01-20 17:00:04 +00:00
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2022-01-07 15:34:21 +00:00
|
|
|
* Fri Jan 07 2022 David King <amigadave@amigadave.com> - 0.5-1
|
|
|
|
- Update to 0.5
|
|
|
|
|
2021-07-22 12:07:59 +00:00
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-04-06 12:38:25 +00:00
|
|
|
* Tue Apr 06 2021 David King <amigadave@amigadave.com> - 0.4-1
|
|
|
|
- Update to 0.4
|
|
|
|
|
2021-01-26 17:47:09 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-07-28 05:22:08 +00:00
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-01-29 10:05:41 +00:00
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2020-01-13 09:21:50 +00:00
|
|
|
* Mon Jan 13 2020 Bastien Nocera <bnocera@redhat.com> - 0.3-3
|
|
|
|
+ libportal-0.3-3
|
|
|
|
- Add forgotten dist tag to Release (#1790258)
|
|
|
|
|
2020-01-06 17:04:17 +00:00
|
|
|
* Mon Jan 06 2020 Bastien Nocera <bnocera@redhat.com> - 0.3-2
|
|
|
|
+ libportal-0.3-2
|
|
|
|
- Add COPYING file to package
|
|
|
|
|
2020-01-06 17:01:56 +00:00
|
|
|
* Mon Jan 06 2020 Bastien Nocera <bnocera@redhat.com> - 0.3-1
|
|
|
|
+ libportal-0.3-1
|
|
|
|
- Update to 0.3
|
|
|
|
|
2019-12-17 14:33:11 +00:00
|
|
|
* Wed Dec 11 2019 Bastien Nocera <bnocera@redhat.com> - 0.1-0.1.20191211git7355b1e
|
|
|
|
+ libportal-0.1-0.20191211git7355b1e
|