Name: notionsafe Version: 0.1.0 Release: 1%{?dist} Summary: A cross-platform desktop app to backup Notion workspaces locally. License: MIT URL: https://github.com/KanishkMishra143/NotionSafe Source0: %{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip BuildRequires: python3-gobject BuildRequires: git-core # Runtime dependencies from requirements-linux.txt, mapped to Fedora package names BuildRequires: python3-notion-client BuildRequires: python3-notion2md BuildRequires: python3-requests BuildRequires: python3-GitPython BuildRequires: python3-python-dotenv BuildRequires: python3-keyring BuildRequires: python3-PyYAML BuildRequires: python3-SQLAlchemy BuildRequires: python3-dateutil BuildRequires: python3-tqdm BuildRequires: python3-psutil BuildRequires: python3-rich BuildRequires: python3-schedule Requires: python3-gobject # Runtime dependencies from requirements-linux.txt, mapped to Fedora package names Requires: python3-notion-client Requires: python3-notion2md Requires: python3-requests Requires: python3-GitPython Requires: python3-python-dotenv Requires: python3-keyring Requires: python3-PyYAML Requires: python3-SQLAlchemy Requires: python3-dateutil Requires: python3-tqdm Requires: python3-psutil Requires: python3-rich Requires: python3-schedule Requires: git-core %description NotionSafe is a Python-based application for creating secure, local backups of a Notion workspace. It features a command-line interface (CLI) and a graphical user interface (GUI) built with PyGObject/GTK4 for Linux. %prep %autosetup -n %{name}-%{version} %build %py3_build %install %py3_install # Install desktop file and icon install -D -p -m 0644 %{_builddir}/%{name}-%{version}/assets/logo.png %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/%{name}.png install -D -p -m 0644 %{_builddir}/%{name}-%{version}/notionsafe.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop %files %doc README.md GEMINI.md %{_bindir}/%{name} %{python3_sitelib}/%{name}/* %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/scalable/apps/%{name}.png %changelog * Fri Nov 21 2025 Kanishk Mishra - 0.1.0-1 - Initial COPR release