Name: studio-cli Vendor: atomic-studio-org Version: 0.1.0+8e65b09 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/#8e65b091604cffa1b5cf1c133f61b38004c6f4bf: # 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-8e65b091.tar.gz BuildArch: noarch Supplements: podman %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