Name: tarpm Version: 0.1 Release: 1.1.202607161438git Summary: RPM metadata and payload utility Group: Development/Tools License: GPL-3.0-or-later AND LGPL-3.0-or-later AND Apache-2.0 URL: https://codeberg.org/dcantrell/tarpm Source0: tarpm-0.1-202607161438git.tar.gz BuildRequires: meson BuildRequires: ninja-build BuildRequires: gcc BuildRequires: rpm-devel BuildRequires: libarchive-devel BuildRequires: json-c-devel BuildRequires: CUnit-devel BuildRequires: python3-devel BuildRequires: pandoc BuildRequires: gettext %description tarpm is a command line utility to create or extract built RPM and SRPM files. The usual way of creating an RPM or SRPM is to use rpmbuild(8). The tarpm(1) program can take a built RPM or SRPM file and extract its contents to a subdirectory, in a manner similar to using tar(1) to unpack a tar file. The RPM metadata is written to JSON files and the payload is extracted to a subdirectory. You can also use tarpm(1) to create an RPM or SRPM using the header metadata in JSON files and the payload subdirectory. The program will recalculate the necessary checksums and digests to ensure the resulting package is usable by rpm(8). %prep %autosetup -n tarpm-0.1-202607161438git %build %meson %meson_build %install %meson_install %files %doc AUTHORS.md CODE_OF_CONDUCT.md CONTRIBUTING.md README.md TODO.org %license COPYING COPYING.LIB LICENSE-2.0.txt %{_bindir}/tarpm %{_mandir}/man1/tarpm.1* %changelog %autochangelog * Thu Jul 16 2026 - 0.1-202607161438git - Build tarpm-0.1-202607161438git snapshot