Name: setup-tool-cli Version: 1.4.2 Release: 1 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 setup-tool-cli.c cp setup-tool-cli %{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 %changelog %autochangelog