-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathaiven-client.spec
46 lines (33 loc) · 1.06 KB
/
aiven-client.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
Name: aiven-client
Version: %{major_version}
Release: %{minor_version}%{?dist}
Url: https://aiven.io/
Summary: Aiven Client
License: ASL 2.0
Source0: rpm-src-aiven-client.tar
BuildArch: noarch
Requires: python3-requests
BuildRequires: python3-devel, python3-flake8, python3-mypy, python3-pylint, python3-pytest
%description
Aiven is a next-generation managed cloud services. Its focus is in ease of
adoption, high fault resilience, customer's peace of mind and advanced
features at competitive price points.
aiven-client (`avn`) is the official command-line client for Aiven.
%prep
%setup -q -n aiven-client
%install
%{__mkdir_p} %{buildroot}%{_bindir}
%{__mkdir_p} %{buildroot}%{python3_sitelib}
cp -a aiven %{buildroot}%{python3_sitelib}/
cp scripts/avn %{buildroot}%{_bindir}/avn
chmod 755 %{buildroot}%{_bindir}/avn
%check
make test
%files
%defattr(-,root,root,-)
%doc LICENSE README.rst
%{python3_sitelib}/aiven
%{_bindir}/avn
%changelog
* Wed Dec 23 2015 Aiven Support <[email protected]>
- Initial