Name: omanta Version: 0.1.15 Release: 1%{?dist} Summary: Native file manager for Omarchy (Qt Quick + GIO) License: MIT URL: https://github.com/28allday/omanta Source0: %{name}-%{version}.tar.gz ExclusiveArch: x86_64 BuildRequires: cmake >= 3.28 BuildRequires: gcc-c++ BuildRequires: ninja-build BuildRequires: pkgconf-pkg-config BuildRequires: glib2-devel BuildRequires: libarchive-devel BuildRequires: tinysparql-devel BuildRequires: qt6-qtbase-devel BuildRequires: qt6-qtdeclarative-devel BuildRequires: qt6-qtsvg-devel # GIO is how the app reaches remote locations and the icon theme carries the # shipped omanta.svg, so those two are hard requirements. Requires: gvfs Requires: hicolor-icon-theme # rpm di Fedora 44 otomatis membuat subpaket debuginfo sekaligus debugsource. # Untuk aplikasi pihak ketiga yang dibangun dari tarball tidak ada file sumber # yang bisa dikumpulkan ke debugsource, sehingga rpm berhenti dengan # "Empty files file .../debugsourcefiles.list". Matikan keduanya. %global debug_package %{nil} # Optional per-protocol backends, thumbnailers and the full-text search index. # omanta degrades gracefully without them, so they stay recommended. Recommends: gvfs-smb Recommends: gvfs-mtp Recommends: gvfs-gphoto2 Recommends: ffmpegthumbnailer Recommends: localsearch %description A native file manager built with Qt Quick and GIO. Supports archive browsing and extraction, image and video thumbnails, batch renaming, clipboard history and a full-text search client for the localsearch index, plus a set of context-menu actions exposed as TOML files under %{_datadir}/omanta/actions. %prep %autosetup -n %{name}-%{version} %build # Pakai binary cmake langsung, bukan makro cmake/cmake_build, supaya spec # tidak bergantung pada macros.cmake dari paket cmake. make_build juga tidak # dipakai: make_build memanggil make tanpa -C, sedangkan generator Ninja # hanya menghasilkan build.ninja dan tidak menulis Makefile sama sekali. # Flag -j sengaja tidak dipakai agar tidak bergantung pada makro job yang # bisa kosong, dan direktori build ditulis eksplisit supaya tidak ikut # berubah saat makro cmake berubah upstream. cmake -S . -B build -G Ninja \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DOMANTA_BUILD_TESTS=OFF cmake --build build %install DESTDIR=%{buildroot} cmake --install build %files %license %{_datadir}/licenses/omanta/LICENSE %{_bindir}/omanta %{_bindir}/omanta-launch %{_bindir}/omanta-launch-cwd %{_bindir}/omanta-switch %{_bindir}/omanta-dropbox-link %{_datadir}/applications/omanta.desktop %{_datadir}/icons/hicolor/scalable/apps/omanta.svg %{_datadir}/omanta/actions/*.toml %changelog * Sun Sep 27 2026 mindset - 0.1.15-1 - Initial COPR build from upstream release tag