%global forgeurl https://github.com/KarolTrzeszczkowski/Mecenas-recurring-payment-EC-plugin %global archiveurl https://github.com/KarolTrzeszczkowski/Mecenas-recurring-payment-EC-plugin/archive/%{version}.tar.gz Name: electron-cash-mecenas Version: 1.2.4 Release: 1%{?dist} Summary: Mecenas Electron Cash Plugin License: MIT %forgemeta URL: %{forgeurl} Source0: %{forgesource} BuildArch: noarch BuildRequires: python3-devel Requires: electron-cash %description Mecenas is a recurring payment smart contract plugin for Electron Cash. Mecenas was created as a solution for bitcoin patronate exit scam risk. The plugin create and manage a contract that shifts the responsibility for making the transaction from the sender to the receiver with time and value restriction. %prep %forgesetup %build # no build %install install -Dd %{buildroot}%{python3_sitelib}/electroncash_plugins/ cp -a mecenas %{buildroot}%{python3_sitelib}/electroncash_plugins/ %check # no checks %files %{python3_sitelib}/electroncash_plugins/mecenas %changelog * Tue Apr 28 2020 Jonny Heggheim - Inital package