%global vdk_zigbin_req vdk-zigbin >= 0.4.0, vdk-zigbin < 0.5.0 %global zigdev_req zigdev >= 0.15.1, zigdev < 0.16.0 %global debug_package %{nil} Name: bareini Version: 0.0.12 Release: 1%{?dist} Summary: bareini - bare INI dialect URL: https://git.sr.ht/~netvor/zig-bareini License: LGPLv2 Source0: %{name}-%{version}.tar.gz BuildRequires: %{vdk_zigbin_req} BuildRequires: %{zigdev_req} BuildRequires: zigdev %description bareini is a dialect and a library for of INI configuration with folowing goals: . * Easy to read and write by humans. (Comments welcome!) . * Easy to generate from scripts. . * Encourages flat, section/key/value structure. . * Can embed verbatim text without loss of readability and maintainability. . * No quoting rules: everything is a prefixed string. . * No semantics in the format: everything is a list of strings; any semantics and validation should happen in the API or in the application. . bareini project provides several libraries and a CLI tool designed for use in shell scripts. Built with vdk-zigbin-0.4.1 %prep %setup -q %build make %{?_smp_mflags} PREFIX=/usr build zig build -freference-trace --verbose --summary all --verbose-cc install %install make PREFIX=/usr DESTDIR="$RPM_BUILD_ROOT" install %{_vdk_utildir}/vdk_rpm_genfiles "$RPM_BUILD_ROOT" >pkg.files %check true make %{?_smp_mflags} PREFIX=/usr build true zig build -freference-trace --verbose --summary all --verbose-cc test %files -f pkg.files %changelog # vim: syntax=spec: # specfile built with MKit 0.3.0 and vdk-zigbin-0.4.1