-
Notifications
You must be signed in to change notification settings - Fork 0
/
yc-cli.spec
56 lines (41 loc) · 1.33 KB
/
yc-cli.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
46
47
48
49
50
51
52
53
54
55
56
Name: yc
Version: 0.122.0
Release: 1%{?dist}
Summary: The Yandex Cloud command-line interface CLI
License: MIT
URL: https://cloud.yandex.com
Source0: https://storage.yandexcloud.net/yandexcloud-yc/release/%{version}/linux/amd64/yc
%global SHA256SUM0 5dd0652aabbb464a34a02f172eec02dbf5bbf4864c55d0b264bb4ede94d1b383
BuildRequires: curl
%description
The Yandex Cloud command-line interface CLI.
This is an unofficial package of binary tool provided by Yandex.
%prep
echo 'Prep for %{_arch}'
%ifarch x86_64
echo "%SHA256SUM0 %SOURCE0" | sha256sum -c -
cd %{_topdir}/BUILD
cp -rf %{_topdir}/SOURCES/yc .
%endif
%install
install -dp %{buildroot}%{_bindir}
install -dp %{buildroot}%{_libdir}/yc
install -dp %{buildroot}%{_libdir}/yc/bin
install -m 755 yc %{buildroot}%{_libdir}/yc/bin
%{__ln_s} -f ../%{_lib}/yc/bin/yc %{buildroot}%{_bindir}/yc
%files
%{_bindir}/yc
%{_libdir}/yc/*
%changelog
* Sun Apr 14 2024 icesvz <[email protected]> - 0.122.0
- Bump
* Wed Apr 03 2024 icesvz <[email protected]> - 0.121.0
- Bump
* Wed Nov 22 2023 icesvz <[email protected]> - 0.113.0
- Bump
* Wed Oct 11 2023 icesvz <[email protected]> - 0.110.0
- Bump
* Wed Aug 23 2023 icesvz <[email protected]> - 0.108.1
- Bump
* Tue Aug 22 2023 icesvz <[email protected]> - 0.106.0
- Initial package creation