This repository has been archived by the owner on Jan 10, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
stratis.spec
58 lines (46 loc) · 1.7 KB
/
stratis.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
57
58
%global oname stratis-cli
Name: stratis
License: ASL 2.0
Group: System Environment/Libraries
Summary: A command-line tool for interacting with the Stratis daemon
Version: 0.0.5
Release: 1%{?dist}
URL: https://github.com/stratis-storage/%{oname}/
Source: https://github.com/stratis-storage/%{oname}/archive/GIT-TAG/%{oname}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel python3-setuptools asciidoc
Requires: python3-dbus-client-gen python3-dbus-client-gen-dbus-python stratisd python3-justbytes
%description
stratis provides a command-line interface (CLI) for
interacting with the Stratis daemon, stratisd. stratis
interacts with stratisd via D-Bus.
%prep
%autosetup -n %{oname}-%{version}
%build
%{__python3} setup.py build
cd docs
make
%install
%{__python3} setup.py install --skip-build --root %{buildroot}
install -D -m 644 docs/%{name}.8 %{buildroot}%{_mandir}/man8/%{name}.8
install -D -m 644 etc/bash_completion.d/stratis %{buildroot}%{_sysconfdir}/bash_completion.d/stratis
%files
%{python3_sitelib}/*
%{_bindir}/stratis
%{_mandir}/man8/%{name}.8*
%{_sysconfdir}/bash_completion.d/*
%doc README.rst
%license LICENSE
%changelog
* Mon Dec 18 2017 Andy Grover <[email protected]> - 0.0.5-1
- New upstream release
* Fri Oct 27 2017 Andy Grover <[email protected]> - 0.0.4-2
- Add stratisd as a Requires
* Fri Oct 27 2017 Andy Grover <[email protected]> - 0.0.4-1
- New upstream release
* Thu Sep 28 2017 Andy Grover <[email protected]> - 0.0.3-1
- New upstream release
* Mon Apr 3 2017 Andy Grover <[email protected]> - 0.0.2-1
- New upstream release
* Tue Mar 14 2017 Andy Grover <[email protected]> - 0.0.1-2
- Initial packaging