%define debug_package %{nil} Name: mavryk-codec Version: 20.2rc3 Release: 1 Epoch: 1 Summary: A client to decode and encode JSON License: MIT BuildArch: x86_64 aarch64 Source0: mavryk-codec-20.2rc3.tar.gz Source1: https://gitlab.com/mavryk-network/mavryk-protocol/tree/v20.2-rc3/ 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: Mavryk Dynamics Cowbot %prep %setup -q %build %install make mavkit-codec mkdir -p %{buildroot}/%{_bindir} install -m 0755 mavkit-codec %{buildroot}/%{_bindir} ln -s %{_bindir}/mavkit-codec %{buildroot}/%{_bindir}/mavryk-codec mkdir -p %{buildroot}/%{_unitdir} %files %license LICENSE %{_bindir}/mavkit-codec %{_bindir}/mavryk-codec %post %preun %postun