Name: studio-cli Vendor: atomic-studio-org Version: 0.1.0+d23f7de Release: 0%{?dist} Summary: Manager for Atomic Studio License: Apache-2.0 URL: https://github.com/%{vendor}/%{name} # Detailed information about the source Git repository and the source commit # for the created rpm package VCS: git+https://github.com/atomic-studio-org/studio-cli#d23f7de6c6994b30f8802a05e0fd660f1751fc84: # git_dir_pack macro places the repository content (the source files) into a tarball # and returns its filename. The tarball will be used to build the rpm. Source: studio-cli-d23f7de6.tar.gz BuildArch: noarch Supplements: podman Requires: nu %description Manages Atomic Studio installations %global debug_package %{nil} %global pname studio %prep %setup -T -b 0 -q -n studio-cli %build %install mkdir -p %{buildroot}%{_libexecdir}/studio-cli %{buildroot}/%{_bindir} sed -i 's~\.\/libexec~\/usr\/libexec/~' src/%{pname} install -D -m 0755 src/%{pname} %{buildroot}%{_bindir}/%{pname} cp -r src/libexec/* %{buildroot}%{_libexecdir}/%{name} %files %license LICENSE %{_libexecdir}/%{name}/* %attr(0755,root,root) %{_bindir}/%{pname} %changelog %autochangelog