## START: Set by rpmautospec ## (rpmautospec version 0.6.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: electron-cash Version: 4.4.0 Release: %autorelease Summary: Lightweight Bitcoin Cash client License: MIT URL: https://electroncash.org/ Source: https://github.com/Electron-Cash/Electron-Cash/archive/refs/tags/%{version}.tar.gz Patch0: zxing.patch #Patch0: importlib.patch Patch1: downgrade-protobuf.patch #Patch2: pyqt.patch Patch3: share-dir.patch BuildArch: noarch BuildRequires: python3-devel BuildRequires: desktop-file-utils #BuildRequires: python3-pyaes #BuildRequires: python3-ecdsa #BuildRequires: python3-requests #BuildRequires: python3-qrcode #BuildRequires: python3-protobuf #BuildRequires: python3-jsonrpclib #BuildRequires: python3-pysocks #BuildRequires: python3-qdarkstyle #BuildRequires: python3-dateutil #BuildRequires: python3-stem #BuildRequires: python3-certifi #BuildRequires: python3-pathvalidate #BuildRequires: python3-dns #Recommends: python3-btchip %description Lightweight Bitcoin Cash client %prep %autosetup -p1 -n Electron-Cash-%{version} #rm -rf Electron_Cash.egg-info #rm -rf packages %generate_buildrequires %pyproject_buildrequires -x gui %build %pyproject_wheel %install %pyproject_install %pyproject_save_files electroncash electroncash_gui electroncash_plugins %check desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop %files -f %{pyproject_files} %{_bindir}/%{name} %{_datadir}/icons/hicolor/*/apps/%{name}.* %{_datadir}/pixmaps/%{name}.png %{_datadir}/applications/%{name}.desktop %{_metainfodir}/org.electroncash.ElectronCash.appdata.xml %changelog ## START: Generated by rpmautospec * Sun Mar 17 2024 John Doe - 4.4.0-1 - Uncommitted changes ## END: Generated by rpmautospec