Name: setup-tool-cli-beta Version: 1.4.0 Release: rc3 Summary: A simple setup tool suite BuildArch: x86_64 License: MPL-2.0 Source0: %{name}-%{version}.tar.gz BuildRequires: gcc BuildRequires: make #Requires: bash Requires: fastfetch %description A simple setup program for RPM-based distros. %prep %setup -q %install rm -rf %{buildroot} mkdir -p %{buildroot}/%{_datadir}/doc/%{name}/ mkdir -p %{buildroot}/%{_bindir} mkdir -p %{buildroot}/%{_datadir}/licenses/%{name} gcc -o setup-tool-cli-beta setup-tool-cli-beta.c cp setup-tool-cli-beta %{buildroot}/%{_bindir} cp LICENSE %{buildroot}/%{_datadir}/licenses/%{name} cp README.md %{buildroot}/%{_datadir}/doc/%{name} %files %license %{_datadir}/licenses/%{name}/LICENSE %doc %{_datadir}/doc/%{name}/README.md %{_bindir}/setup-tool-cli-beta %changelog %autochangelog