|
|
b64cc79 |
Name: electron-cash
|
|
|
a10662e |
Version: 4.0.14
|
|
|
b043983 |
Release: 2%{?dist}
|
|
|
b64cc79 |
Summary: A lightweight Bitcoin Cash client
|
|
|
b64cc79 |
|
|
|
b64cc79 |
License: MIT
|
|
|
b64cc79 |
URL: https://electroncash.org/
|
|
|
162ba59 |
Source0: https://github.com/Electron-Cash/Electron-Cash/releases/download/%{version}/Electron-Cash-%{version}.tar.gz
|
|
|
4e8e03e |
Source1: https://github.com/Electron-Cash/keys-n-hashes/raw/master/sigs-and-sums/%{version}/win-linux/Electron-Cash-%{version}.tar.gz.asc
|
|
|
4e8e03e |
#Sun 15 Dec 2019, exported the upstream gpg key using the command:
|
|
|
4e8e03e |
#gpg2 --armor --export --export-options export-minimal D56C110F4555F371AEEFCB254FD06489EFF1DDE1 D465135F97D0047E18E99DC321810A542031C02C > gpgkey-electron-cash.gpg
|
|
|
b64cc79 |
Source2: gpgkey-electron-cash.gpg
|
|
|
389a37a |
|
|
|
b043983 |
Patch1: https://patch-diff.githubusercontent.com/raw/Electron-Cash/Electron-Cash/pull/1864.patch
|
|
|
b043983 |
|
|
|
b64cc79 |
BuildArch: noarch
|
|
|
b64cc79 |
|
|
|
b64cc79 |
BuildRequires: python3-devel
|
|
|
bffa1e5 |
BuildRequires: python3-setuptools
|
|
|
b64cc79 |
BuildRequires: python3-qt5-devel
|
|
|
b64cc79 |
BuildRequires: desktop-file-utils
|
|
|
b64cc79 |
BuildRequires: gettext
|
|
|
b64cc79 |
|
|
|
b64cc79 |
BuildRequires: libappstream-glib
|
|
|
b64cc79 |
BuildRequires: gnupg2
|
|
|
b64cc79 |
|
|
|
c2a85e9 |
Requires: qt5-qtbase
|
|
|
c2a85e9 |
Requires: qt5-qtsvg
|
|
|
c2a85e9 |
Requires: qt5-qtmultimedia
|
|
|
e70d037 |
Requires: python3-qt5
|
|
|
c2a85e9 |
|
|
|
7ffd2b3 |
Requires: python3-pycryptodomex
|
|
|
b5320fc |
Requires: libsecp256k1 >= 0.20.9
|
|
|
f0f38de |
Requires: zbar
|
|
|
a10662e |
Requires: tor
|
|
|
c9a5908 |
|
|
|
c9a5908 |
Provides: bundled(google-noto-emoji-color-fonts)
|
|
|
fac194e |
|
|
|
95b26b6 |
Suggests: python3-trezor >= 0.11.2
|
|
|
fd2fbc3 |
|
|
|
95b26b6 |
Conflicts: python3-trezor < 0.11.2
|
|
|
b64cc79 |
|
|
|
b64cc79 |
%description
|
|
|
b64cc79 |
Electron Cash is an easy to use Bitcoin Cash client. It protects you from losing
|
|
|
b64cc79 |
coins in a backup mistake or computer failure, because your wallet can
|
|
|
b64cc79 |
be recovered from a secret phrase that you can write on paper or learn
|
|
|
b64cc79 |
by heart. There is no waiting time when you start the client, because
|
|
|
b64cc79 |
it does not download the Bitcoin block chain.
|
|
|
b64cc79 |
|
|
|
b64cc79 |
%prep
|
|
|
4e8e03e |
%gpgverify -k 2 -s 1 -d 0
|
|
|
c9a5908 |
%setup -q -n Electron-Cash-%{version}
|
|
|
b043983 |
%patch1 -p1
|
|
|
b64cc79 |
|
|
|
9e2b359 |
#pre-built bundled library
|
|
|
6037eb8 |
rm -v ./lib/*.so*
|
|
|
6037eb8 |
|
|
|
a10662e |
#pre-built tor binary
|
|
|
a10662e |
rm -v ./lib/tor/bin/tor
|
|
|
a10662e |
|
|
|
6037eb8 |
#budled libraries
|
|
|
6037eb8 |
rm -rfv ./packages/
|
|
|
9e2b359 |
|
|
|
d896c24 |
#qdarkstyle is an optional dependency that is not yet packed for Fedora
|
|
|
d896c24 |
sed -i '/^qdarkstyle*/d' ./contrib/requirements/requirements.txt
|
|
|
d896c24 |
|
|
|
b64cc79 |
%build
|
|
|
b64cc79 |
pyrcc5 icons.qrc -o gui/qt/icons_rc.py
|
|
|
b64cc79 |
%{py3_build}
|
|
|
b64cc79 |
|
|
|
b64cc79 |
%install
|
|
|
b64cc79 |
%{py3_install}
|
|
|
b64cc79 |
|
|
|
b64cc79 |
# Remove shebang lines from .py files that aren't executable, and
|
|
|
b64cc79 |
# remove executability from .py files that don't have a shebang line:
|
|
|
b64cc79 |
# Source: dmalcolm.fedorapeople.org/python3.spec
|
|
|
b64cc79 |
find %{buildroot} -name \*.py \
|
|
|
b64cc79 |
\( \( \! -perm /u+x,g+x,o+x -exec sed -e '/^#!/Q 0' -e 'Q 1' {} \; \
|
|
|
b64cc79 |
-print -exec sed -i '1d' {} \; \) -o \( \
|
|
|
b64cc79 |
-perm /u+x,g+x,o+x ! -exec grep -m 1 -q '^#!' {} \; \
|
|
|
b64cc79 |
-exec chmod a-x {} \; \) \)
|
|
|
b64cc79 |
|
|
|
b64cc79 |
desktop-file-install \
|
|
|
b64cc79 |
--dir=%{buildroot}%{_datadir}/applications \
|
|
|
b64cc79 |
%{buildroot}%{_datadir}/applications/%{name}.desktop
|
|
|
b64cc79 |
|
|
|
b64cc79 |
%check
|
|
|
389a37a |
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/org.electroncash.ElectronCash.appdata.xml
|
|
|
b64cc79 |
|
|
|
b64cc79 |
%files
|
|
|
b64cc79 |
%doc AUTHORS
|
|
|
b64cc79 |
%doc README.rst
|
|
|
b64cc79 |
%doc RELEASE-NOTES
|
|
|
b64cc79 |
%license LICENCE
|
|
|
b64cc79 |
%{_bindir}/%{name}
|
|
|
389a37a |
%{_datadir}/icons/hicolor/128x128/apps/%{name}.png
|
|
|
b64cc79 |
%{_datadir}/pixmaps/%{name}.png
|
|
|
b64cc79 |
%{_datadir}/applications/%{name}.desktop
|
|
|
389a37a |
%{_datadir}/metainfo/org.electroncash.ElectronCash.appdata.xml
|
|
|
b64cc79 |
%{python3_sitelib}/electroncash*
|
|
|
b64cc79 |
%{python3_sitelib}/Electron_Cash-%{version}-py%{python3_version}.egg-info
|
|
|
b64cc79 |
|
|
|
b64cc79 |
%changelog
|
|
|
b043983 |
* Wed Apr 29 2020 Jonny Heggheim <hegjon@gmail.com> - 4.0.14-2
|
|
|
b043983 |
- Remove protobuf <3.9 constraint
|
|
|
b043983 |
|
|
|
a10662e |
* Wed Mar 25 2020 Jonny Heggheim <hegjon@gmail.com> - 4.0.14-1
|
|
|
a10662e |
- Updated to version 4.0.14
|
|
|
a10662e |
|
|
|
c598444 |
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.12-3
|
|
|
c598444 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
c598444 |
|
|
|
b5320fc |
* Fri Jan 03 2020 Jonny Heggheim <hegjon@gmail.com> - 4.0.12-2
|
|
|
b5320fc |
- Require a newer version of libsecp256k1
|
|
|
b5320fc |
|
|
|
4e8e03e |
* Sat Dec 14 2019 Jonny Heggheim <hegjon@gmail.com> - 4.0.12-1
|
|
|
4e8e03e |
- Updated to version 4.0.12
|
|
|
4e8e03e |
|
|
|
162ba59 |
* Tue Nov 19 2019 Jonny Heggheim <hegjon@gmail.com> - 4.0.11-1
|
|
|
162ba59 |
- Updated to version 4.0.11
|
|
|
162ba59 |
|
|
|
9b6c4dd |
* Mon Sep 09 2019 Jonny Heggheim <hegjon@gmail.com> - 4.0.10-1
|
|
|
9b6c4dd |
- Updated to version 4.0.10
|
|
|
9b6c4dd |
|
|
|
11b6ec9 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 4.0.9-3
|
|
|
11b6ec9 |
- Rebuilt for Python 3.8
|
|
|
11b6ec9 |
|
|
|
204a4c0 |
* Mon Aug 12 2019 Jonny Heggheim <hegjon@gmail.com> - 4.0.9-2
|
|
|
204a4c0 |
- Remove locked version for python-dateutil
|
|
|
204a4c0 |
|
|
|
c9a5908 |
* Mon Aug 12 2019 Jonny Heggheim <hegjon@gmail.com>
|
|
|
c9a5908 |
- Updated to version 4.0.9
|
|
|
c9a5908 |
|
|
|
2c9eded |
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.8-2
|
|
|
2c9eded |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
2c9eded |
|
|
|
fac194e |
* Mon Jul 22 2019 Jonny Heggheim <hegjon@gmail.com> - 4.0.8-1
|
|
|
fac194e |
- Updated to version 4.0.8
|
|
|
fac194e |
|
|
|
e70d037 |
* Tue Jun 25 2019 Jonny Heggheim <hegjon@gmail.com> - 4.0.7-3
|
|
|
e70d037 |
- Added missing dependency on python3-qt5
|
|
|
e70d037 |
|
|
|
c2a85e9 |
* Mon Jun 24 2019 Jonny Heggheim <hegjon@gmail.com> - 4.0.7-2
|
|
|
c2a85e9 |
- Added missing dependencies
|
|
|
c2a85e9 |
|
|
|
b9d4dbf |
* Fri Jun 21 2019 Jonny Heggheim <hegjon@gmail.com> - 4.0.7-1
|
|
|
b9d4dbf |
- Updated to version 4.0.7
|
|
|
b9d4dbf |
|
|
|
1a6c1c9 |
* Thu Jun 06 2019 Jonny Heggheim <hegjon@gmail.com> - 4.0.6-1
|
|
|
1a6c1c9 |
- Updated to version 4.0.6
|
|
|
1a6c1c9 |
|
|
|
81e7f6c |
* Mon May 27 2019 Jonny Heggheim <hegjon@gmail.com> - 4.0.5-1
|
|
|
81e7f6c |
- Updated to version 4.0.5
|
|
|
81e7f6c |
|
|
|
bbceef6 |
* Mon May 27 2019 Jonny Heggheim <hegjon@gmail.com> - 4.0.4-1
|
|
|
bbceef6 |
- Updated to version 4.0.4
|
|
|
bbceef6 |
|
|
|
b348900 |
* Wed May 22 2019 Jonny Heggheim <hegjon@gmail.com> - 4.0.3-1
|
|
|
b348900 |
- Updated to version 4.0.3
|
|
|
b348900 |
|
|
|
96c9396 |
* Sat Apr 20 2019 Jonny Heggheim <hegjon@gmail.com> - 4.0.2-1
|
|
|
96c9396 |
- Updated to version 4.0.2
|
|
|
96c9396 |
|
|
|
b92daf3 |
* Thu Apr 04 2019 Jonny Heggheim <hegjon@gmail.com> - 4.0.1-1
|
|
|
b92daf3 |
- Updated to version 4.0.1
|
|
|
b92daf3 |
|
|
|
95b26b6 |
* Tue Apr 02 2019 Jonny Heggheim <hegjon@gmail.com> - 4.0.0-2
|
|
|
95b26b6 |
- Added dependency on libsecp256k1 because of CashShuffle
|
|
|
95b26b6 |
|
|
|
9e2b359 |
* Sat Mar 30 2019 Jonny Heggheim <hegjon@gmail.com> - 4.0.0-1
|
|
|
9e2b359 |
- Updated to version 4.0.0
|
|
|
9e2b359 |
|
|
|
d896c24 |
* Mon Feb 25 2019 Jonny Heggheim <hegjon@gmail.com> - 3.3.6-2
|
|
|
d896c24 |
- Disabled optional requires qdarkstyle that is not packed for Fedora
|
|
|
d896c24 |
|
|
|
a300956 |
* Sun Feb 24 2019 Jonny Heggheim <hegjon@gmail.com> - 3.3.6-1
|
|
|
a300956 |
- Updated to version 3.3.6
|
|
|
a300956 |
|
|
|
f211874 |
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.5-4
|
|
|
f211874 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
f211874 |
|
|
|
7ffd2b3 |
* Fri Jan 25 2019 Jonny Heggheim <hegjon@gmail.com> - 3.3.5-3
|
|
|
7ffd2b3 |
- Add python3-pycryptodomex as requires
|
|
|
7ffd2b3 |
|
|
|
4f4890d |
* Fri Jan 25 2019 Jonny Heggheim <hegjon@gmail.com> - 3.3.5-2
|
|
|
4f4890d |
- Bumped the version requires for python3-trezor
|
|
|
4f4890d |
|
|
|
7c2f59d |
* Fri Jan 25 2019 Jonny Heggheim <hegjon@gmail.com> - 3.3.5-1
|
|
|
7c2f59d |
- Updated to version 3.3.5
|
|
|
7c2f59d |
|
|
|
bffa1e5 |
* Sat Dec 29 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.3.4-2
|
|
|
bffa1e5 |
- Enable python dependency generator
|
|
|
bffa1e5 |
|
|
|
7c42fef |
* Sat Dec 29 2018 Jonny Heggheim <hegjon@gmail.com> - 3.3.4-1
|
|
|
7c42fef |
- Updated to version 3.3.4
|
|
|
7c42fef |
|
|
|
798386b |
* Wed Nov 14 2018 Jonny Heggheim <hegjon@gmail.com> - 3.3.2-1
|
|
|
798386b |
- Updated to version 3.3.2
|
|
|
798386b |
|
|
|
cde82ed |
* Sat Jul 21 2018 Jonny Heggheim <hegjon@gmail.com> - 3.3.1-1
|
|
|
cde82ed |
- Updated to version 3.3.1
|
|
|
cde82ed |
|
|
|
ae37bb5 |
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.3-2
|
|
|
ae37bb5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
ae37bb5 |
|
|
|
1de0cdb |
* Sat Jun 30 2018 Jonny Heggheim <hegjon@gmail.com> - 3.3-1
|
|
|
1de0cdb |
- Updated to version 3.3
|
|
|
1de0cdb |
|
|
|
effb98b |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 3.2-2
|
|
|
effb98b |
- Rebuilt for Python 3.7
|
|
|
effb98b |
|
|
|
03d8b14 |
* Wed Apr 25 2018 Jonny Heggheim <hegjon@gmail.com> - 3.2-1
|
|
|
03d8b14 |
- Updated to version 3.2
|
|
|
03d8b14 |
|
|
|
cabc467 |
* Tue Mar 20 2018 Jonny Heggheim <hegjon@gmail.com> - 3.1.6-2
|
|
|
cabc467 |
- Added conflicts on older trezor since it does not work with newer version of
|
|
|
cabc467 |
electron-cash
|
|
|
cabc467 |
|
|
|
5254b5c |
* Sat Mar 17 2018 Jonny Heggheim <hegjon@gmail.com> - 3.1.6-1
|
|
|
5254b5c |
- Updated to version 3.1.6
|
|
|
5254b5c |
|
|
|
3d78ae6 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.2-2
|
|
|
3d78ae6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
3d78ae6 |
|
|
|
98ae2ea |
* Tue Jan 09 2018 Jonny Heggheim <hegjon@gmail.com> - 3.1.2-1
|
|
|
98ae2ea |
- Updated to version 3.1.2
|
|
|
98ae2ea |
|
|
|
7a6f51e |
* Sun Jan 07 2018 Jonny Heggheim <hegjon@gmail.com> - 3.1.1-1
|
|
|
7a6f51e |
- Updated to version 3.1.1
|
|
|
7a6f51e |
|
|
|
65f22a0 |
* Fri Jan 05 2018 Jonny Heggheim <hegjon@gmail.com> - 3.1-1
|
|
|
65f22a0 |
- Updated to version 3.1
|
|
|
65f22a0 |
|
|
|
b64cc79 |
* Fri Dec 15 2017 Jonny Heggheim <hegjon@gmail.com> - 3.0-1
|
|
|
b64cc79 |
- Inital version
|