%global vdk_zigbin_req vdk-zigbin >= 0.3.0, vdk-zigbin < 0.4.0 %global zigdev_req zigdev >= 0.15.1, zigdev < 0.16.0 %global debug_package %{nil} Name: bareini Version: 0.0.11 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 BuildRequires: basesystem BuildRequires: basesystem Requires: basesystem %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.3.2+t20260130010811.bsh.g250daed %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 touch pkg.files find "$RPM_BUILD_ROOT" -type d -mindepth 1 \ | sed "s:$RPM_BUILD_ROOT/:%dir /:" \ | sort >> pkg.files find "$RPM_BUILD_ROOT" -type f \ | sed "s:$RPM_BUILD_ROOT/:/:" \ | sort >> 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.2.6 and vdk-zigbin-0.3.2+t20260130010811.bsh.g250daed