%global appid app.fluxer.Fluxer # Fluxer ships a private copy of the Electron/Chromium runtime under # %%{_libdir}/fluxer. Those bundled .so files must never be advertised as # system-wide Provides (they would let dnf pick fluxer as the provider of # e.g. libvulkan.so.1 for unrelated packages), nor must their internal # linkage become system Requires. %global __provides_exclude_from ^%{_libdir}/%{name}/.*$ # With the bundled Provides pruned, the only auto-Require that used to be # satisfied by fluxer itself (libffmpeg.so, an Electron-private library) must # be dropped too, otherwise the package becomes uninstallable. All other # auto-generated Requires are real system libraries and are kept. %global __requires_exclude ^libffmpeg\\.so.*$ Name: fluxer Version: 2026.829.160505 Release: 1%{?dist} Summary: Free and open source instant messaging and VoIP platform License: AGPL-3.0-or-later AND BSD URL: https://fluxer.app Source0: https://api.fluxer.app/dl/desktop/stable/linux/x64/latest/rpm Requires: at-spi2-core Requires: gtk3 Requires: libXScrnSaver Requires: libnotify Requires: libXtst Requires: libuuid Requires: nss Requires: xdg-utils %global _enable_debug_packages 0 %description Fluxer is a free and open source instant messaging and VoIP platform built for friends, groups, and communities. Self-hosting and more. %prep %setup -T -c rpm2cpio %{SOURCE0} | cpio -idmv %install mkdir -p %{buildroot}%{_libdir}/%{name} cp -a opt/Fluxer/* %{buildroot}%{_libdir}/%{name}/ mkdir -p %{buildroot}%{_bindir} cat > %{buildroot}%{_bindir}/%{name} <<'EOF' #!/bin/sh exec %{_libdir}/%{name}/%{name} "$@" EOF chmod 0755 %{buildroot}%{_bindir}/%{name} install -Dm0644 usr/share/applications/fluxer.desktop \ %{buildroot}%{_datadir}/applications/%{appid}.desktop # Fix Exec= and Icon= for our relocation sed -i 's|^Exec=.*|Exec=%{_bindir}/%{name} %U|' \ %{buildroot}%{_datadir}/applications/%{appid}.desktop sed -i 's|^Icon=.*|Icon=%{appid}|' \ %{buildroot}%{_datadir}/applications/%{appid}.desktop # Install all available icon sizes for iconpath in usr/share/icons/hicolor/*/apps/fluxer.png; do size=$(echo "$iconpath" | cut -d/ -f5) install -Dm0644 "$iconpath" \ %{buildroot}%{_datadir}/icons/hicolor/${size}/apps/%{appid}.png done desktop-file-validate %{buildroot}%{_datadir}/applications/%{appid}.desktop || true %files %license opt/Fluxer/LICENSE.electron.txt %doc opt/Fluxer/LICENSES.chromium.html %{_bindir}/%{name} %{_libdir}/%{name}/ %{_datadir}/applications/%{appid}.desktop %{_datadir}/icons/hicolor/*/apps/%{appid}.png %changelog * Sat Aug 29 2026 Ackerman-00 - 2026.829.160505-1 - Update to version 2026.829.160505