From 362220f5c4407e5ad4b6c204cd4cebb457e0cf80 Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Thu, 15 Oct 2020 10:02:53 -0700 Subject: [PATCH] RHEL 9.0.0 Alpha bootstrap The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/stratis-cli#c36766a1e272232d28369f12957436a54de53943 --- .gitignore | 14 +++++ README.md | 3 ++ sources | 1 + stratis-cli.spec | 130 +++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 148 insertions(+) create mode 100644 README.md create mode 100644 sources create mode 100644 stratis-cli.spec diff --git a/.gitignore b/.gitignore index e69de29..921ee4d 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,14 @@ +/stratis-cli-0.0.5.tar.gz +/stratis-cli-0.5.0.tar.gz +/stratis-cli-0.5.2.tar.gz +/stratis-cli-0.5.3.tar.gz +/stratis-cli-0.5.5.tar.gz +/stratis-cli-0.9.0.tar.gz +/stratis-cli-1.0.0.tar.gz +/stratis-cli-1.0.1.tar.gz +/stratis-cli-1.0.2.tar.gz +/stratis-cli-1.0.4.tar.gz +/stratis-cli-2.0.0.tar.gz +/stratis-cli-2.0.1.tar.gz +/stratis-cli-2.1.0.tar.gz +/stratis-cli-2.1.1.tar.gz diff --git a/README.md b/README.md new file mode 100644 index 0000000..0ee00b8 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# stratis-cli + +The stratis-cli package \ No newline at end of file diff --git a/sources b/sources new file mode 100644 index 0000000..cc33ddf --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (stratis-cli-2.1.1.tar.gz) = 10fb5aa0177aefba9aaa46b29619480c161552b8d6bc5d2df5c16e00f62d9a27d78b7d589134c161b51d6137069e7abff316d01316df288eeb59e5a28767b31a diff --git a/stratis-cli.spec b/stratis-cli.spec new file mode 100644 index 0000000..98f0697 --- /dev/null +++ b/stratis-cli.spec @@ -0,0 +1,130 @@ +Name: stratis-cli +Version: 2.1.1 +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: /usr/bin/a2x +# It runs without, but totally useless +Requires: (stratisd >= 2.1.0 with stratisd < 3.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 +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 +* Wed Jul 29 2020 Fedora Release Engineering - 2.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jul 14 2020 mulhern - 2.1.1-1 +- Update to 2.1.1 + +* Thu Jul 9 2020 mulhern - 2.1.0-1 +- Update to 2.1.0 + +* Tue May 26 2020 Miro Hrončok - 2.0.1-2 +- Rebuilt for Python 3.9 + +* Wed Feb 19 2020 Igor Raits - 2.0.1-1 +- Update to 2.0.1 + +* Fri Jan 31 2020 Fedora Release Engineering - 2.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Nov 07 2019 Igor Gnatenko - 2.0.0-1 +- Update to 2.0.0 + +* Sat Sep 07 2019 Igor Gnatenko - 1.0.4-1 +- Update to 1.0.4 + +* Sat Nov 03 2018 Igor Gnatenko - 1.0.0-3 +- Make package archful + +* Thu Sep 27 2018 Igor Gnatenko - 1.0.0-2 +- Bump stratisd req + +* Thu Sep 27 2018 Andy Grover - 1.0.0-1 +- Update to 1.0.0 + +* Fri Aug 31 2018 Andy Grover - 0.9.0-1 +- Update to 0.9.0 + +* Fri Aug 3 2018 Andy Grover - 0.5.5-3 +- Remove zsh completions subpackage +- Own completion directories + +* Thu Aug 2 2018 Andy Grover - 0.5.5-1 +- Update to 0.5.5 +- Add zsh completions subpackage + +* Sat Jul 14 2018 Fedora Release Engineering - 0.5.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jun 19 2018 Miro Hrončok - 0.5.3-2 +- Rebuilt for Python 3.7 + +* Mon Jun 4 2018 Andy Grover - 0.5.3-1 +- Update to 0.5.3 + +* Tue May 1 2018 Andy Grover - 0.5.2-1 +- Update to 0.5.2 + +* Wed Apr 04 2018 Igor Gnatenko - 0.5.0-3 +- Fix dependency on stratisd + +* Tue Apr 03 2018 Igor Gnatenko - 0.5.0-2 +- Relax stratisd dependency + +* Thu Mar 08 2018 Igor Gnatenko - 0.5.0-1 +- Update to 0.5.0 + +* Fri Feb 09 2018 Fedora Release Engineering - 0.0.5-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Fri Jan 19 2018 Igor Gnatenko - 0.0.5-3 +- Enable usage of dependency generator + +* Mon Jan 08 2018 Igor Gnatenko - 0.0.5-2 +- Include manpage + +* Mon Jan 08 2018 Igor Gnatenko - 0.0.5-1 +- Initial package