Name: ocaml-tiny-httpd Version: 0.17.0 Release: 1%{?dist} Summary: Minimal HTTP server with a small request router License: MIT URL: https://github.com/c-cube/tiny_httpd Source0: %{url}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: ocaml-dune BuildRequires: ocaml-result-devel BuildRequires: ocaml-hmap-devel BuildRequires: ocaml-seq-devel BuildRequires: ocaml-iostream-devel %description Minimal HTTP server using good old threads, with stream abstractions, simple routing, URL encoding/decoding, static asset serving, and optional compression with camlzip. It also supports server-sent events (w3c). %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and signature files for developing applications that use %{name}. %prep %autosetup -p1 -n tiny_httpd-%{version} %build %dune_build %install %dune_install %files -f .ofiles %doc README.md %files devel -f .ofiles-devel %changelog * Tue Jul 16 2024 Marian Koncek - 0.7.32-1 - Initial build