%global debug_package %{nil} %global _hardened_build 1 Summary: A Gemini server Name: gmid Version: 2.1.1 Release: 1%{?dist} License: ISC URL: https://github.com/omar-polo/gmid Source0: https://github.com/omar-polo/gmid/releases/download/%{version}/gmid-%{version}.tar.gz Requires: libretls BuildRequires: gcc BuildRequires: libretls-devel %description gmid is a full-featured Gemini server written with security in mind. It can serve static files, has optional FastCGI and proxying support, and a rich configuration syntax. A few helper programs are shipped as part of gmid: gg is a simple command-line Gemini client. gemexp is a stripped-down config-less version of gmid to quickly serve a directory from the command line. titan is a command-line titan client. %prep %autosetup %build ./configure --prefix=%{_prefix} \ --bindir=%{_bindir} \ --mandir=%{_mandir} \ --sysconfdir=%{_sysconfdir} \ --with-libtls=system %make_build %install %make_install %files %license LICENSE %doc ChangeLog README.md contrib/gmid.service contrib/gmid.sysusers %{_bindir}/* %{_mandir}/man?/* %changelog * Wed Nov 12 2025 Greg Wildman - 2.1.1-1 - Initial spec.