-
Notifications
You must be signed in to change notification settings - Fork 0
/
mycrypto.spec
46 lines (37 loc) · 1.33 KB
/
mycrypto.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Name: mycrypto
Version: 3.12.0
Release: 2%{?dist}
Summary: Packaged version of MyCrypto
License: MIT
URL: https://github.com/MyCryptoHQ/mycrypto.com
Source0: https://github.com/MyCryptoHQ/mycrypto.com/releases/download/v%{version}/mycrypto-v%{version}.zip
Source1: https://github.com/arsenicks/MyLiveCrypto/blob/master/MyCrypto.desktop
Source2: https://github.com/MyCryptoHQ/mycrypto.com/blob/master/LICENSE
BuildArch: noarch
BuildRequires: desktop-file-utils
%description
MyCrypto is a free, open-source, client-side interface.
MyCrypto allow you to interact directly with the blockchain while remaining
in full control of your keys & your funds.
You and only you are responsible for your security.
%prep
%setup -q -n mycrypto-v%{version}
%build
%install
install -d -m0755 %{buildroot}/usr/share/mycrypto
cp -av * %{buildroot}/usr/share/mycrypto
cp -av %{SOURCE2} %{buildroot}/usr/share/mycrypto/
desktop-file-install \
--dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
%{SOURCE1}
%files
%license %{_datadir}/mycrypto/LICENSE
%{_datadir}/mycrypto/
%{_datadir}/applications/MyCrypto.desktop
%doc
%changelog
* Thu Mar 22 2018 Rene Jr Purcell <[email protected]> - 3.12.0-2
- Added changelog
- Added license file
* Wed Mar 21 2018 Rene Jr Purcell <[email protected]> - 3.12.0-1
- Initial spec file