2018-03-08 21:45:13 +00:00
|
|
|
%{?python_enable_dependency_generator}
|
2018-01-19 16:07:37 +00:00
|
|
|
|
2018-01-08 14:25:55 +00:00
|
|
|
Name: stratis-cli
|
2018-06-04 16:56:48 +00:00
|
|
|
Version: 0.5.3
|
2018-07-14 06:48:35 +00:00
|
|
|
Release: 3%{?dist}
|
2018-01-08 14:25:55 +00:00
|
|
|
Summary: Command-line tool for interacting with the Stratis daemon
|
|
|
|
|
|
|
|
License: ASL 2.0
|
|
|
|
URL: https://github.com/stratis-storage/stratis-cli
|
|
|
|
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-setuptools
|
2018-01-08 16:12:52 +00:00
|
|
|
BuildRequires: %{_bindir}/a2x
|
2018-01-08 14:25:55 +00:00
|
|
|
# It runs without, but totally useless
|
2018-04-04 07:41:09 +00:00
|
|
|
Requires: (stratisd >= 0.5 with stratisd < 0.6)
|
2018-01-08 14:25:55 +00:00
|
|
|
|
|
|
|
# stratisd only available on certain arches
|
|
|
|
ExclusiveArch: %{rust_arches} noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
stratis provides a command-line interface (CLI) for
|
|
|
|
interacting with the Stratis daemon, stratisd. stratis
|
|
|
|
interacts with stratisd via D-Bus.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup
|
|
|
|
|
|
|
|
%build
|
|
|
|
%py3_build
|
2018-01-08 16:12:52 +00:00
|
|
|
a2x -f manpage docs/stratis.txt
|
2018-01-08 14:25:55 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%py3_install
|
|
|
|
%{__install} -Dpm0644 -t %{buildroot}%{_datadir}/bash-completion/completions \
|
|
|
|
etc/bash_completion.d/stratis
|
2018-01-08 16:12:52 +00:00
|
|
|
%{__install} -Dpm0644 -t %{buildroot}%{_mandir}/man8 docs/stratis.8
|
2018-01-08 14:25:55 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%license LICENSE
|
|
|
|
%doc README.rst
|
|
|
|
%{_bindir}/stratis
|
2018-01-08 16:12:52 +00:00
|
|
|
%{_mandir}/man8/stratis.8*
|
2018-01-08 14:25:55 +00:00
|
|
|
%{_datadir}/bash-completion/completions/stratis
|
|
|
|
%{python3_sitelib}/stratis_cli/
|
|
|
|
%{python3_sitelib}/stratis_cli-*.egg-info/
|
|
|
|
|
|
|
|
%changelog
|
2018-07-14 06:48:35 +00:00
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.3-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-06-19 09:27:56 +00:00
|
|
|
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.5.3-2
|
|
|
|
- Rebuilt for Python 3.7
|
|
|
|
|
2018-06-04 16:56:48 +00:00
|
|
|
* Mon Jun 4 2018 Andy Grover <agrover@redhat.com> - 0.5.3-1
|
|
|
|
- Update to 0.5.3
|
|
|
|
|
2018-05-01 22:37:58 +00:00
|
|
|
* Tue May 1 2018 Andy Grover <agrover@redhat.com> - 0.5.2-1
|
|
|
|
- Update to 0.5.2
|
|
|
|
|
2018-04-04 07:41:09 +00:00
|
|
|
* Wed Apr 04 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.0-3
|
|
|
|
- Fix dependency on stratisd
|
|
|
|
|
2018-04-03 11:26:19 +00:00
|
|
|
* Tue Apr 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.0-2
|
|
|
|
- Relax stratisd dependency
|
|
|
|
|
2018-03-08 21:45:13 +00:00
|
|
|
* Thu Mar 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.0-1
|
|
|
|
- Update to 0.5.0
|
|
|
|
|
2018-02-09 17:47:53 +00:00
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-01-19 16:07:37 +00:00
|
|
|
* Fri Jan 19 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.0.5-3
|
|
|
|
- Enable usage of dependency generator
|
|
|
|
|
2018-01-08 16:12:52 +00:00
|
|
|
* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.0.5-2
|
|
|
|
- Include manpage
|
|
|
|
|
2018-01-08 14:25:55 +00:00
|
|
|
* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.0.5-1
|
|
|
|
- Initial package
|