%global debug_package %{nil} Name: uv Version: 0.5.1 Release: 1%{?dist} Summary: An extremely fast Python package and project manager, written in Rust. License: MIT # https://github.com/astral-sh/uv/releases/download/0.5.1/uv-x86_64-unknown-linux-musl.tar.gz URL: https://github.com/astral-sh/uv Source: %{url}/releases/download/%{version}/%{name}-x86_64-unknown-linux-musl.tar.gz Source1: https://raw.githubusercontent.com/astral-sh/uv/%{version}/README.md %description Highlights 🚀 A single tool to replace pip, pip-tools, pipx, poetry, pyenv, twine, virtualenv, and more. ⚡️ 10-100x faster than pip. 🐍 Installs and manages Python versions. 🛠️ Runs and installs Python applications. ❇️ Runs scripts, with support for inline dependency metadata. 🗂️ Provides comprehensive project management, with a universal lockfile. 🔩 Includes a pip-compatible interface for a performance boost with a familiar CLI. 🏢 Supports Cargo-style workspaces for scalable projects. 💾 Disk-space efficient, with a global cache for dependency deduplication. ⏬ Installable without Rust or Python via curl or pip. 🖥️ Supports macOS, Linux, and Windows. uv is backed by Astral, the creators of Ruff. %prep ls -la ls -la %{name} || true %autosetup -c -n %{name} ls -la cp %{SOURCE1} CONFIGURATION.md %build %install ls -la ls -la uv-x86_64-unknown-linux-musl # Ensure the source binary is in the expected location install -p -D %{name}-x86_64-unknown-linux-musl/%{name} %{buildroot}%{_bindir}/%{name} ls -la %{buildroot} ls -la %{buildroot}%{_bindir} %files %doc CONFIGURATION.md %{_bindir}/%{name}