forked from rpms/stratis-cli
import stratis-cli-1.0.4-2.el8
This commit is contained in:
commit
39b769d822
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
SOURCES/stratis-cli-1.0.4.tar.gz
|
1
.stratis-cli.metadata
Normal file
1
.stratis-cli.metadata
Normal file
@ -0,0 +1 @@
|
||||
73162caf4f6cf0b5072c7dc8bdb0d2f46b01cb04 SOURCES/stratis-cli-1.0.4.tar.gz
|
106
SPECS/stratis-cli.spec
Normal file
106
SPECS/stratis-cli.spec
Normal file
@ -0,0 +1,106 @@
|
||||
Name: stratis-cli
|
||||
Version: 1.0.4
|
||||
Release: 2%{?dist}
|
||||
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
|
||||
BuildRequires: %{_bindir}/a2x
|
||||
|
||||
Requires: platform-python
|
||||
Requires: python3-dateutil
|
||||
Requires: python3-dbus-client-gen
|
||||
Requires: python3-dbus-python-client-gen
|
||||
Requires: python3-justbytes
|
||||
|
||||
# It runs without, but totally useless
|
||||
Requires: (stratisd >= 1.0 with stratisd < 1.1)
|
||||
|
||||
|
||||
# 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
|
||||
a2x -f manpage docs/stratis.txt
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
%{__install} -Dpm0644 -t %{buildroot}%{_datadir}/bash-completion/completions \
|
||||
shell-completion/bash/stratis
|
||||
%{__install} -Dpm0644 -t %{buildroot}%{_datadir}/zsh/site-functions \
|
||||
shell-completion/zsh/_stratis
|
||||
%{__install} -Dpm0644 -t %{buildroot}%{_mandir}/man8 docs/stratis.8
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%{_bindir}/stratis
|
||||
%{_mandir}/man8/stratis.8*
|
||||
%dir %{_datadir}/bash-completion
|
||||
%dir %{_datadir}/bash-completion/completions
|
||||
%{_datadir}/bash-completion/completions/stratis
|
||||
%dir %{_datadir}/zsh
|
||||
%dir %{_datadir}/zsh/site-functions
|
||||
%{_datadir}/zsh/site-functions/_stratis
|
||||
%{python3_sitelib}/stratis_cli/
|
||||
%{python3_sitelib}/stratis_cli-*.egg-info/
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Jun 3 2019 Dennis Keefe <dkeefe@redhat.com> - 1.0.4-2
|
||||
- Update to 1.0.4
|
||||
|
||||
* Tue Dec 11 2018 Andy Grover <agrover@redhat.com> - 1.0.2-1
|
||||
- Update to 1.0.2
|
||||
|
||||
* Wed Nov 7 2018 Andy Grover <agrover@redhat.com> - 1.0.1-1
|
||||
- Update to 1.0.1
|
||||
|
||||
* Wed Oct 3 2018 Andy Grover <agrover@redhat.com> - 1.0.0-2
|
||||
- Bump stratisd req
|
||||
|
||||
* Tue Oct 2 2018 Andy Grover <agrover@redhat.com> - 1.0.0-1
|
||||
- Update to 1.0.0
|
||||
|
||||
* Fri Aug 3 2018 Andy Grover <agrover@redhat.com> - 0.5.5-2
|
||||
- Remove zsh completion package and own completion dirs as needed
|
||||
|
||||
* Thu Aug 2 2018 Andy Grover <agrover@redhat.com> - 0.5.5-1
|
||||
- Update to 0.5.5
|
||||
- Add zsh completion subpackage
|
||||
|
||||
* Wed Apr 04 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.0-3
|
||||
- Fix dependency on stratisd
|
||||
|
||||
* Tue Apr 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.0-2
|
||||
- Relax stratisd dependency
|
||||
|
||||
* Thu Mar 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.0-1
|
||||
- Update to 0.5.0
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Fri Jan 19 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.0.5-3
|
||||
- Enable usage of dependency generator
|
||||
|
||||
* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.0.5-2
|
||||
- Include manpage
|
||||
|
||||
* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.0.5-1
|
||||
- Initial package
|
Loading…
Reference in New Issue
Block a user