stratis-cli/stratis-cli.spec

207 lines
6.4 KiB
RPMSpec
Raw Normal View History

Name: stratis-cli
2022-07-30 16:37:48 +00:00
Version: 3.2.0
Release: 1%{?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
2022-03-30 13:48:57 +00:00
BuildRequires: %{_bindir}/a2x
# It runs without, but totally useless
2022-07-30 16:37:48 +00:00
Requires: (stratisd >= 3.2.0 with stratisd < 4.0.0)
# 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
2021-12-21 21:38:00 +00:00
# Do not install tab-completion files for RHEL
%if !0%{?rhel}
2022-03-30 13:48:57 +00:00
%{__install} -Dpm0644 -t %{buildroot}%{_datadir}/bash-completion/completions \
shell-completion/bash/stratis
2022-03-30 13:48:57 +00:00
%{__install} -Dpm0644 -t %{buildroot}%{_datadir}/zsh/site-functions \
shell-completion/zsh/_stratis
2022-03-30 13:48:57 +00:00
%{__install} -Dpm0644 -t %{buildroot}%{_datadir}/fish/vendor_completions.d \
2021-12-21 21:38:00 +00:00
shell-completion/fish/stratis.fish
%endif
2022-03-30 13:48:57 +00:00
%{__install} -Dpm0644 -t %{buildroot}%{_mandir}/man8 docs/stratis.8
%files
%license LICENSE
%doc README.rst
%{_bindir}/stratis
%{_mandir}/man8/stratis.8*
2021-12-21 21:38:00 +00:00
%if !0%{?rhel}
%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
2021-12-21 21:38:00 +00:00
%dir %{_datadir}/fish
%dir %{_datadir}/fish/vendor_completions.d
%{_datadir}/fish/vendor_completions.d/stratis.fish
%endif
%{python3_sitelib}/stratis_cli/
%{python3_sitelib}/stratis_cli-*.egg-info/
%changelog
2022-07-30 16:37:48 +00:00
* Sat Jul 30 2022 mulhern <amulhern@redhat.com> - 3.2.0-1
- Update to 3.2.0
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
2022-06-13 14:54:42 +00:00
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 3.1.0-3
- Rebuilt for Python 3.11
* Tue Jun 07 2022 Bryan Gurney <bgurney@redhat.com> - 3.1.0-2
- Add rpminspect.yaml file
2022-05-25 20:51:45 +00:00
* Wed May 25 2022 mulhern <amulhern@redhat.com> - 3.1.0-1
- Update to 3.1.0
* Wed Mar 30 2022 mulhern <amulhern@redhat.com> - 3.0.1-5
2022-03-30 13:48:57 +00:00
- Tidies for unification of spec file
2022-02-27 18:55:40 +00:00
* Sun Feb 27 2022 mulhern <amulhern@redhat.com> - 3.0.1-4
- Remove all gating files
* Sun Feb 27 2022 mulhern <amulhern@redhat.com> - 3.0.1-3
- Bump revision in order to include dependencies in gating tests
2022-02-27 17:46:16 +00:00
* Sun Feb 27 2022 mulhern <amulhern@redhat.com> - 3.0.1-2
- Add gating tests
2022-02-14 02:31:05 +00:00
* Sun Feb 13 2022 mulhern <amulhern@redhat.com> - 3.0.1-1
- Update to 3.0.1
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
2021-12-21 21:38:00 +00:00
* Tue Dec 21 2021 mulhern <amulhern@redhat.com> - 3.0.0-1
- Update to 3.0.0
2021-08-06 01:47:27 +00:00
* Thu Aug 5 2021 mulhern <amulhern@redhat.com> - 2.4.4-1
- Update to 2.4.4
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
2021-07-16 22:47:24 +00:00
* Fri Jul 16 2021 mulhern <amulhern@redhat.com> - 2.4.3-1
- Update to 2.4.3
2021-06-15 19:56:51 +00:00
* Tue Jun 15 2021 mulhern <amulhern@redhat.com> - 2.4.2-1
- Update to 2.4.2
2021-06-04 19:15:39 +00:00
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.4.1-2
- Rebuilt for Python 3.10
2021-05-20 00:59:48 +00:00
* Wed May 19 2021 mulhern <amulhern@redhat.com> - 2.4.1-1
- Update to 2.4.1
2021-04-28 01:29:26 +00:00
* Tue Apr 27 2021 mulhern <amulhern@redhat.com> - 2.4.0-1
- Update to 2.4.0
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
2021-01-13 00:46:11 +00:00
* Tue Jan 12 2021 mulhern <amulhern@redhat.com> - 2.3.0-1
- Update to 2.3.0
2020-11-10 15:18:17 +00:00
* Tue Nov 10 2020 mulhern <amulhern@redhat.com> - 2.2.1-1
- Update to 2.2.1
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2020-07-14 16:27:53 +00:00
* Tue Jul 14 2020 mulhern <amulhern@redhat.com> - 2.1.1-1
- Update to 2.1.1
2020-07-09 14:05:51 +00:00
* Thu Jul 9 2020 mulhern <amulhern@redhat.com> - 2.1.0-1
- Update to 2.1.0
2020-05-26 01:51:01 +00:00
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2.0.1-2
- Rebuilt for Python 3.9
* Wed Feb 19 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 2.0.1-1
- Update to 2.0.1
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Nov 07 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.0.0-1
- Update to 2.0.0
* Sat Sep 07 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.4-1
- Update to 1.0.4
* Sat Nov 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.0-3
- Make package archful
* Thu Sep 27 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.0-2
- Bump stratisd req
* Thu Sep 27 2018 Andy Grover <agrover@redhat.com> - 1.0.0-1
- Update to 1.0.0
* Fri Aug 31 2018 Andy Grover <agrover@redhat.com> - 0.9.0-1
- Update to 0.9.0
* Fri Aug 3 2018 Andy Grover <agrover@redhat.com> - 0.5.5-3
- Remove zsh completions subpackage
- Own completion directories
* Thu Aug 2 2018 Andy Grover <agrover@redhat.com> - 0.5.5-1
- Update to 0.5.5
- Add zsh completions subpackage
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.5.3-2
- Rebuilt for Python 3.7
* Mon Jun 4 2018 Andy Grover <agrover@redhat.com> - 0.5.3-1
- Update to 0.5.3
* Tue May 1 2018 Andy Grover <agrover@redhat.com> - 0.5.2-1
- Update to 0.5.2
* 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