%global debug_package %{nil} %global _hardened_build 1 Summary: A terminal gopher client Name: cgo Version: 0.6.1 Release: 1%{?dist} License: Other URL: https://github.com/kieselsteini/cgo Source0: https://github.com/kieselsteini/cgo/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: gcc %description cgo is a UNIX/Linux terminal based gopher client. It has no other dependencies than libc and some syscalls. It should run on every VT100 compatible terminal. To show media like images, music or webpages it relies on external programs you can specify. %prep %autosetup %build %make_build PREFIX=%{_prefix} %install %make_install PREFIX=%{_prefix} echo "bookmark3 gopher://mirrors.apple2.org.za:70/" >> cgorc install -D cgorc %{buildroot}/%{_sysconfdir}/cgorc %files %license LICENSE %doc README.md %config(noreplace) %{_sysconfdir}/cgorc %{_bindir}/%{name} %{_mandir}/man?/%{name}* %changelog * Tue Nov 03 2020 Greg Wildman - 0.6.1-1 - Initial spec.