Name: driftleaf Version: 0.2.1 Release: 1%{?dist} Summary: A local-first, encrypted-by-default notes app License: AGPL-3.0-or-later URL: https://github.com/AetherAssembly/Driftleaf ExclusiveArch: x86_64 aarch64 BuildRequires: cpio BuildRequires: rpm Requires: hicolor-icon-theme Source0: driftleaf-%{version}-x86_64.rpm Source1: driftleaf-%{version}-aarch64.rpm %description Driftleaf is a private desktop notes application. Notes remain on the local computer in an encrypted vault, with Markdown support and fast local search. %prep %setup -c -T mkdir extracted cd extracted %ifarch x86_64 rpm2cpio %{SOURCE0} | cpio -idm --quiet %else rpm2cpio %{SOURCE1} | cpio -idm --quiet %endif %install rm -rf %{buildroot} mkdir -p %{buildroot}/opt/Driftleaf mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}%{_datadir}/applications mkdir -p %{buildroot}%{_datadir}/icons/hicolor/1024x1024/apps cp -a extracted/opt/Driftleaf/. %{buildroot}/opt/Driftleaf/ cp -a extracted/usr/share/applications/driftleaf.desktop \ %{buildroot}%{_datadir}/applications/ cp -a extracted/usr/share/icons/hicolor/1024x1024/apps/driftleaf.png \ %{buildroot}%{_datadir}/icons/hicolor/1024x1024/apps/ ln -s /opt/Driftleaf/driftleaf %{buildroot}%{_bindir}/driftleaf %files %license extracted/opt/Driftleaf/LICENSE.electron.txt %doc extracted/opt/Driftleaf/LICENSES.chromium.html /opt/Driftleaf/ %{_bindir}/driftleaf %{_datadir}/applications/driftleaf.desktop %{_datadir}/icons/hicolor/1024x1024/apps/driftleaf.png %changelog * Fri Aug 28 2026 AetherAssembly - 0.2.1-1 - Native SQLite packaging: Electron Builder now unpacks the `better-sqlite3` native module for stable and beta builds on Linux, macOS, and Windows. - Search database loading: the main-process search index now loads `better-sqlite3` through Node's `createRequire`, while Vite externalizes all `better-sqlite3` subpaths for reliable Electron native-module resolution. - Release channels: stable Linux, macOS, and Windows configurations now explicitly publish on the stable channel. - Package metadata: Debian and RPM configurations now include the Driftleaf synopsis and description, and macOS DMG builds include the project EULA. - Beta packaging: beta Linux, macOS, and Windows configurations now unpack the native SQLite module and include the relevant package metadata.