Name: clipper Version: 1.1.1 Release: 1%{?dist} Summary: A lightweight, local-first clipboard manager for GNOME License: MIT URL: https://github.com/SudoJude/Clipper Source0: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.xz BuildRequires: rust BuildRequires: cargo BuildRequires: meson >= 0.59.0 BuildRequires: ninja-build BuildRequires: gtk4-devel >= 4.12 BuildRequires: libadwaita-devel >= 1.5 BuildRequires: blueprint-compiler BuildRequires: desktop-file-utils BuildRequires: appstream Requires: gtk4 >= 4.12 Requires: libadwaita >= 1.5 %description Clipper is a lightweight, local-first clipboard manager for GNOME. It watches the system clipboard and keeps a searchable history of copied text, built with Rust, GTK4, and Libadwaita for a native GNOME look and feel. %prep %autosetup -p1 %build # The release tarball bundles vendored Cargo dependencies under ./vendor # so the build works fully offline, as required by COPR/Fedora build # roots. CARGO_HOME's config.toml is honored regardless of the working # directory cargo is invoked from, which matters here because meson # runs the cargo build step (build-aux/cargo.sh) from the ninja build # directory, not the source root. export CARGO_HOME="$(pwd)/.cargo-home" mkdir -p "$CARGO_HOME" cat > "$CARGO_HOME/config.toml" < - 1.1.1 - Initial COPR packaging