%global debug_package %{nil} %global _enable_debug_package 0 %global _strip_cmd %{__strip} Name: proxmox-backup-client-static Version: 4.0.16 Release: 1%{?dist} Summary: Proxmox Backup Client - Static Binary License: AGPL-3.0-or-later URL: https://proxmox.com/en/proxmox-backup/ Source0: %{name}-%{version}.tar.gz BuildArch: x86_64 BuildRequires: coreutils Provides: proxmox-backup-client = %{version} %description Proxmox Backup Client is a client utility for creating backups on Proxmox Backup Server. This package contains a statically linked binary that can run on any Linux distribution. %prep # Estrai il tarball direttamente senza cercare una cartella cd /builddir/build/BUILD tar -xzf %{SOURCE0} %build # Niente da compilare, รจ un binario statico precompilato %install mkdir -p %{buildroot} # Copia direttamente il contenuto estratto cp -r /builddir/build/BUILD/usr %{buildroot}/ %files /usr/bin/proxmox-backup-client /usr/bin/pxar /usr/share/bash-completion/completions/proxmox-backup-client /usr/share/bash-completion/completions/pxar /usr/share/doc/proxmox-backup-client-static/changelog.Debian.gz /usr/share/doc/proxmox-backup-client-static/copyright /usr/share/lintian/overrides/proxmox-backup-client-static /usr/share/man/man1/proxmox-backup-client.1.gz /usr/share/man/man1/pxar.1.gz /usr/share/zsh/vendor-completions/_proxmox-backup-client /usr/share/zsh/vendor-completions/_pxar %changelog * Sun Dec 07 2025 Your Name - 4.0.16-1 - Initial RPM release of Proxmox Backup Client static binary - Converted from Debian package