Name: flatpak Version: 1.18.2 Release: 1%{?dist} Summary: Application deployment framework for desktop apps License: LGPL-2.1-or-later URL: https://flatpak.org/ Source0: https://github.com/flatpak/flatpak/releases/download/%{version}/%{name}-%{version}.tar.xz BuildRequires: meson BuildRequires: ninja-build BuildRequires: gcc BuildRequires: pkgconfig BuildRequires: bison BuildRequires: python3-pyparsing BuildRequires: systemd BuildRequires: systemd-rpm-macros BuildRequires: bubblewrap BuildRequires: xdg-dbus-proxy BuildRequires: fuse3 BuildRequires: fuse3-devel BuildRequires: libcap-devel BuildRequires: libarchive-devel BuildRequires: pkgconfig(libcurl) BuildRequires: libxml2-devel BuildRequires: libzstd-devel BuildRequires: dconf-devel BuildRequires: pkgconfig(libsystemd) BuildRequires: polkit-devel BuildRequires: libXau-devel BuildRequires: ostree-devel BuildRequires: json-glib-devel BuildRequires: appstream-devel BuildRequires: gdk-pixbuf2-devel BuildRequires: libseccomp-devel BuildRequires: gobject-introspection-devel BuildRequires: wayland-devel BuildRequires: wayland-protocols-devel BuildRequires: gpgme-devel Requires: appstream%{?_isa} Requires: bubblewrap Requires: librsvg2%{?_isa} Requires: ostree-libs%{?_isa} Requires: %{name}-session-helper%{?_isa} = %{version}-%{release} %description Flatpak is a system for building, distributing and running sandboxed desktop applications on Linux, used by Plasma Discover as one of its two package backends (alongside PackageKit/dnf5). Uses this distro's real bubblewrap/xdg-dbus-proxy directly (both confirmed available, avoiding the subproject build those meson options fall back to when unset, which would need network access unavailable in the COPR mock build sandbox) and real ostree/appstream (both already present on this distro as genuine prerequisites). Dropped libmalcontent (parental controls, genuinely absent), man pages/docbook docs/gtk-doc (matches this repo's general doc-skipping convention), the selinux module subpackage (no SELinux policy build tooling set up in this repo), and installed tests. %package devel Summary: Development files for %{name} Requires: %{name}-libs%{?_isa} = %{version}-%{release} %description devel %{summary}. %package libs Summary: Libraries for %{name} %description libs %{summary}. %package session-helper Summary: Session helper for %{name} Requires: %{name}-libs%{?_isa} = %{version}-%{release} %description session-helper %{summary}. %prep %autosetup -p1 %build %meson \ -D system_bubblewrap=/usr/bin/bwrap \ -D system_dbus_proxy=/usr/bin/xdg-dbus-proxy \ -D tmpfilesdir=%{_tmpfilesdir} \ -D malcontent=disabled \ -D wayland_security_context=enabled \ -D man=disabled \ -D docbook_docs=disabled \ -D gtkdoc=disabled \ -D selinux_module=disabled \ -D installed_tests=false \ -D tests=false %meson_build %install %meson_install install -d %{buildroot}%{_datadir}/%{name}/preinstall.d install -d %{buildroot}%{_datadir}/%{name}/remotes.d install -d %{buildroot}%{_localstatedir}/lib/flatpak install -d %{buildroot}%{_sysconfdir}/%{name}/installations.d install -d %{buildroot}%{_sysconfdir}/%{name}/preinstall.d install -d %{buildroot}%{_sysconfdir}/flatpak/remotes.d %find_lang %{name} %files -f %{name}.lang %license COPYING %doc README.md NEWS %{_bindir}/flatpak %{_bindir}/flatpak-bisect %{_bindir}/flatpak-coredumpctl %{_datadir}/bash-completion/ %{_datadir}/dbus-1/interfaces/org.freedesktop.portal.Flatpak.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.Flatpak.Authenticator.xml %{_datadir}/dbus-1/services/org.flatpak.Authenticator.Oci.service %{_datadir}/dbus-1/services/org.freedesktop.portal.Flatpak.service %{_datadir}/dbus-1/system.d/org.freedesktop.Flatpak.SystemHelper.conf %{_datadir}/dbus-1/system-services/org.freedesktop.Flatpak.SystemHelper.service %{_datadir}/fish/ %{_datadir}/%{name} %{_datadir}/polkit-1/actions/org.freedesktop.Flatpak.policy %{_datadir}/polkit-1/rules.d/org.freedesktop.Flatpak.rules %{_datadir}/zsh/site-functions/ %{_libexecdir}/flatpak-oci-authenticator %{_libexecdir}/flatpak-portal %{_libexecdir}/flatpak-system-helper %{_libexecdir}/flatpak-validate-icon %{_libexecdir}/revokefs-fuse %dir %{_localstatedir}/lib/flatpak %dir %{_sysconfdir}/flatpak %{_sysconfdir}/%{name}/installations.d %{_sysconfdir}/%{name}/preinstall.d %{_sysconfdir}/flatpak/remotes.d %{_sysconfdir}/profile.d/flatpak.csh %{_sysconfdir}/profile.d/flatpak.sh %{_sysusersdir}/%{name}.conf %{_unitdir}/flatpak-system-helper.service %{_userunitdir}/flatpak-oci-authenticator.service %{_userunitdir}/flatpak-portal.service %{_prefix}/lib/systemd/system-environment-generators/60-flatpak-system-only %{_prefix}/lib/systemd/user-environment-generators/60-flatpak %{_tmpfilesdir}/%{name}.conf %files devel %{_datadir}/gir-1.0/Flatpak-1.0.gir %{_includedir}/%{name}/ %{_libdir}/libflatpak.so %{_libdir}/pkgconfig/%{name}.pc %files libs %license COPYING %{_libdir}/girepository-1.0/Flatpak-1.0.typelib %{_libdir}/libflatpak.so.* %files session-helper %license COPYING %{_datadir}/dbus-1/interfaces/org.freedesktop.Flatpak.xml %{_datadir}/dbus-1/services/org.freedesktop.Flatpak.service %{_libexecdir}/flatpak-session-helper %{_userunitdir}/flatpak-session-helper.service %changelog * Sun Aug 30 2026 Smech - 1.18.2-1 - Real upstream source (official GitHub release tarball, which bundles the libglnx and variant-schema-compiler subprojects as real source -- the bubblewrap and xdg-dbus-proxy subprojects are wrap-only references that would need network access to fetch, so pointed -Dsystem_bubblewrap/-Dsystem_dbus_proxy at this distro's own real bubblewrap/xdg-dbus-proxy packages instead, both confirmed available). Full dependency scan done against meson.build AND every relevant subdirectory meson.build up front (learned from PackageKit needing 7 rounds this session for exactly the transitive-dependency reason). %%files transcribed from Fedora's real reference spec then adjusted for dropped features (man/docbook/gtk-doc/selinux-module/malcontent/ installed-tests, none built in this repo).