%global debug_package %{nil} %global _missing_build_ids_terminate_build 0 %global tarball_version 1.0.0-beta.12 Name: aube Version: 1.0.0~beta.12 Release: 1%{?dist} Summary: A fast Node.js package manager License: MIT URL: https://aube.en.dev Source0: https://github.com/endevco/aube/archive/v%{tarball_version}/%{name}-%{tarball_version}.tar.gz Source1: %{name}-vendor-%{tarball_version}.tar.gz BuildRequires: rust >= 1.93 BuildRequires: cargo BuildRequires: gcc BuildRequires: git BuildRequires: openssl-devel BuildRequires: pkgconf-pkg-config %description Aube is a fast Node.js package manager written in Rust. It mirrors pnpm's CLI surface and isolated symlink layout so users can swap it in, with its own aube-owned on-disk state (global store under $XDG_DATA_HOME/aube/store/, per-project virtual store in node_modules/.aube/). Aube reads and writes pnpm-lock.yaml, package-lock.json, npm-shrinkwrap.json, yarn.lock, and bun.lock in addition to its native aube-lock.yaml. %prep %autosetup -n %{name}-%{tarball_version} %setup -q -T -D -n %{name}-%{tarball_version} -a 1 %build mkdir -p .cargo cat > .cargo/config.toml << 'CARGO_EOF' [source.crates-io] replace-with = "vendored-sources" [source.vendored-sources] directory = "vendor" CARGO_EOF cargo build --profile release --frozen --bin aube --bin aubr --bin aubx %install mkdir -p %{buildroot}%{_bindir} cp target/release/aube %{buildroot}%{_bindir}/aube # aubr/aubx are multicall shims that dispatch on argv[0]; ship them # as symlinks to keep the package small. ln -s aube %{buildroot}%{_bindir}/aubr ln -s aube %{buildroot}%{_bindir}/aubx # Disable self-update for package-manager installs. mkdir -p %{buildroot}%{_libdir}/aube cat > %{buildroot}%{_libdir}/aube/aube-self-update-instructions.toml <<'TOML' message = "To update aube from COPR, run:\n\n sudo dnf upgrade aube\n" TOML %files %license LICENSE %doc README.md %{_bindir}/aube %{_bindir}/aubr %{_bindir}/aubx %{_libdir}/aube/aube-self-update-instructions.toml %changelog * Wed Apr 22 2026 aube Release Bot - %{version}-1 - New upstream release %{version}