## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global commit 43b00419dd3f33eb644e1d83c2e802fc200b2de7 %global date 20241221 %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: kiwix-tools Version: 3.7.0^%{date}git%{shortcommit} Release: %autorelease License: GPL-3.0-or-later Summary: Common code base for all Kiwix ports URL: https://github.com/kiwix/%{name} Source0: %{url}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz BuildRequires: docopt-cpp-devel BuildRequires: libkiwix-devel BuildRequires: libmicrohttpd-devel BuildRequires: pugixml-devel BuildRequires: zlib-devel BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: meson BuildRequires: ninja-build %description The Kiwix tools is a collection of Kiwix related command line tools. %prep %autosetup -n %{name}-%{commit} -p1 %build %meson -Dwerror=false %meson_build %install %meson_install %files %doc AUTHORS Changelog README.md %license COPYING %{_bindir}/kiwix* %{_mandir}/man1/kiwix*.1* %{_mandir}/*/man1/kiwix*.1* %changelog ## START: Generated by rpmautospec * Fri Jan 31 2025 Vitaly - 3.7.0^20241221git43b0041-1 - Updated to version 3.7.0 (snapshot). * Fri Jan 17 2025 Fedora Release Engineering - 3.5.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild ## END: Generated by rpmautospec