Name: maestral Version: 1.9.6 Release: 1%{?dist} Summary: Open-source Dropbox client for macOS and Linux License: MIT URL: https://github.com/samschott/maestral Source0: %{url}/archive/v%{version}/maestral-%{version}.tar.gz Source1: https://files.pythonhosted.org/packages/source/m/maestral-qt/maestral_qt-1.9.8.tar.gz BuildRequires: python3-pip BuildRequires: python3-setuptools BuildRequires: python3-wheel BuildRequires: python3-rpm-macros # Fedora-provided runtime deps Requires: python3-click >= 8.2.0 Requires: python3-fasteners >= 0.15 Requires: python3-keyring >= 22 Requires: python3-packaging Requires: python3-pathspec >= 0.5.8 Requires: python3-requests >= 2.16.2 Requires: python3-rich Requires: python3-setuptools Requires: python3-typing-extensions Requires: python3-watchdog >= 2.0.1 Requires: python3-ply Requires: python3-dropbox >= 12.0.2 Requires: python3-bidict Requires: python3-dbus-fast Requires: python3-keyrings-alt Requires: python3-serpent Requires: python3-xattr %global debug_package %{nil} %description Maestral is an open-source Dropbox client for Linux. It provides a lightweight daemon that runs in the background and syncs your Dropbox folder. %package qt Summary: Qt GUI for Maestral Requires: %{name} = %{version}-%{release} Requires: python3-pyqt6 Requires: python3-markdown2 %description qt Qt GUI interface for the Maestral Dropbox daemon, providing a system tray icon, account info, and sync status window. %prep %autosetup -n maestral-%{version} %build # built in %%install via pip %install # Bundle non-Fedora deps (installed --no-deps to avoid pulling in Fedora packages) pip3 install \ --root %{buildroot} \ --prefix %{_prefix} \ --no-deps \ --no-warn-script-location \ "desktop-notifier==6.2.0" \ "Pyro5" \ "survey" # Install maestral itself from source pip3 install \ --root %{buildroot} \ --prefix %{_prefix} \ --no-deps \ --no-warn-script-location \ . # Install maestral-qt from the bundled source pip3 install \ --root %{buildroot} \ --prefix %{_prefix} \ --no-deps \ --no-warn-script-location \ %{_sourcedir}/maestral_qt-1.9.8.tar.gz # Remove binaries we don't want to ship rm -f %{buildroot}%{_bindir}/keyring rm -f %{buildroot}%{_bindir}/pyro5-* %files %license LICENSE.txt %doc README.md CHANGELOG.md %{_bindir}/maestral %{python3_sitelib}/maestral/ %{python3_sitelib}/maestral-%{version}.dist-info/ # Bundled non-Fedora deps %{python3_sitelib}/desktop_notifier/ %{python3_sitelib}/desktop_notifier-*.dist-info/ %{python3_sitelib}/Pyro5/ %{python3_sitelib}/pyro5-*.dist-info/ %{python3_sitelib}/survey/ %{python3_sitelib}/survey-*.dist-info/ %{_datadir}/icons/hicolor/512x512/apps/maestral.png %files qt %{_bindir}/maestral_qt %{python3_sitelib}/maestral_qt/ %{python3_sitelib}/maestral_qt-*.dist-info/ %{_datadir}/applications/maestral.desktop %{_datadir}/icons/maestral.png %changelog * Sat May 30 2026 drelbszoomer - 1.9.6-1 - Initial package (maestral 1.9.6, maestral-qt 1.9.8) - Bundles non-Fedora deps: Pyro5, desktop-notifier, survey