diff --git a/tldr-1.2.1.tar.gz b/tldr-1.2.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..bbc753e0d3bb06bedf9b88b76d0addf74e48a209 Binary files /dev/null and b/tldr-1.2.1.tar.gz differ diff --git a/tldr.spec b/tldr.spec new file mode 100644 index 0000000000000000000000000000000000000000..a973b64f3f2ac073aba45fbb5d9c82f49e71aa4e --- /dev/null +++ b/tldr.spec @@ -0,0 +1,55 @@ +Name: tldr +Version: 1.2.1 +Release: 1 +Summary: Simplified and community-driven man pages + +License: MIT +URL: https://github.com/tldr-pages/tldr-python-client +Source0: https://github.com/tldr-pages/tldr-python-client/archive/%{version}/%{name}-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: python3-colorama +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-setuptools_scm +BuildRequires: python3-six +BuildRequires: python3-termcolor +# dependencies for %%check +BuildRequires: python3-argcomplete +BuildRequires: python3-pytest +BuildRequires: python3-pytest-runner + +Requires: python3-colorama +Requires: python3-setuptools +Requires: python3-six +Requires: python3-termcolor + +%description +A Python command line client for tldr - Simplified and community-driven +man pages http://tldr-pages.github.io/. + +%prep +%autosetup -n %{name}-python-client-%{version} +# Remove bundled egg-info +rm -rf %{name}.egg-info + +%build +%py3_build + +%install +%py3_install + +%check +pytest -k "not test_error_message" + +%files +%license LICENSE.md +%doc CHANGELOG.md README.md +%{_bindir}/%{name} +%{python3_sitelib}/%{name}.py +%{python3_sitelib}/__pycache__/*.pyc +%{python3_sitelib}/%{name}-%{version}-py%{python3_version}.egg-info + +%changelog +* Thu Jun 24 2021 wulei - 1.2.1-1 +- Initial package. \ No newline at end of file diff --git a/tldr.yaml b/tldr.yaml new file mode 100644 index 0000000000000000000000000000000000000000..df1c7ad05e0a7e2eda3343ca0e4a7e605cb9e7d4 --- /dev/null +++ b/tldr.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: tldr-pages/tldr-python-client +tag_prefix: +separator: .