Name: zim-tools Version: 3.8.0 Release: 1%{?dist} Summary: Tools to create, inspect and check ZIM offline content archives License: GPL-3.0-or-later URL: https://github.com/openzim/zim-tools Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: gcc-c++ BuildRequires: meson BuildRequires: pkgconfig(libzim) >= 9.4.0 BuildRequires: pkgconfig(docopt) BuildRequires: pkgconfig(icu-i18n) BuildRequires: pkgconfig(icu-uc) BuildRequires: pkgconfig(gumbo) BuildRequires: pkgconfig(libmagic) BuildRequires: pkgconfig(zlib) BuildRequires: pkgconfig(gtest) # kainjow Mustache, header-only (zimcheck JSON output) BuildRequires: mustache-static %description ZIM is the open archive format that Kiwix uses to carry Wikipedia, Stack Exchange, Project Gutenberg and other websites for offline reading, where the internet is unavailable, expensive or censored. These tools work on ZIM files: zimwriterfs build a ZIM file from a directory of HTML zimcheck verify a ZIM file's integrity and content zimdump list or extract articles zimsearch full-text search inside a ZIM file zimsplit split a ZIM file into chunks zimdiff, zimpatch make and apply differences between two versions zimrecreate rewrite a ZIM file with the current format zimbench benchmark reading a ZIM file %prep %autosetup -p1 %build # Upstream defaults to -Werror; new compiler warnings must not fail the build. %meson -Dwerror=false %meson_build %install %meson_install install -d %{buildroot}%{_mandir}/man1 install -pm 0644 debian/man/*.1 %{buildroot}%{_mandir}/man1/ %check %meson_test %{buildroot}%{_bindir}/zimcheck --version | grep -F '%{version}' %files %license LICENSE %doc README.md ChangeLog %{_bindir}/zimbench %{_bindir}/zimcheck %{_bindir}/zimdiff %{_bindir}/zimdump %{_bindir}/zimpatch %{_bindir}/zimrecreate %{_bindir}/zimsearch %{_bindir}/zimsplit %{_bindir}/zimwriterfs %{_mandir}/man1/zim*.1* %changelog * Sat Oct 31 2026 Morgan Hough - 3.8.0-1 - Initial package