%define debug_package %{nil} Name: tezos-codec Version: 20.3 Release: 1 Epoch: 1 Summary: A client to decode and encode JSON License: MIT BuildArch: x86_64 aarch64 Source0: tezos-codec-20.3.tar.gz Source1: https://gitlab.com/tezos/tezos/tree/v20.3/ BuildRequires: make cmake m4 perl pkg-config wget unzip rsync gcc cargo opam git autoconf coreutils libev-devel gmp-devel hidapi-devel libffi-devel zlib-devel libpq-devel protobuf-compiler protobuf-devel sqlite-devel systemd systemd-rpm-macros Requires: libev-devel gmp-devel hidapi-devel libffi-devel zlib-devel libpq-devel protobuf-compiler protobuf-devel sqlite-devel, %description A client to decode and encode JSON Maintainer: Serokell %prep %setup -q %build %install make octez-codec mkdir -p %{buildroot}/%{_bindir} install -m 0755 octez-codec %{buildroot}/%{_bindir} ln -s %{_bindir}/octez-codec %{buildroot}/%{_bindir}/tezos-codec mkdir -p %{buildroot}/%{_unitdir} %files %license LICENSE %{_bindir}/octez-codec %{_bindir}/tezos-codec %post %preun %postun