diff --git a/README.en.md b/README.en.md deleted file mode 100644 index 32094e47a4708d66b956a9e7209302e35012fcbf..0000000000000000000000000000000000000000 --- a/README.en.md +++ /dev/null @@ -1,36 +0,0 @@ -# python-distlib - -#### Description -{**When you're done, you can delete the content in this README and update the file with details for others getting started with your repository**} - -#### Software Architecture -Software architecture description - -#### Installation - -1. xxxx -2. xxxx -3. xxxx - -#### Instructions - -1. xxxx -2. xxxx -3. xxxx - -#### Contribution - -1. Fork the repository -2. Create Feat_xxx branch -3. Commit your code -4. Create Pull Request - - -#### Gitee Feature - -1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md -2. Gitee blog [blog.gitee.com](https://blog.gitee.com) -3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore) -4. The most valuable open source project [GVP](https://gitee.com/gvp) -5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help) -6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) diff --git a/README.md b/README.md deleted file mode 100644 index b661714117a21f2505324739656a1965d4f8cfe9..0000000000000000000000000000000000000000 --- a/README.md +++ /dev/null @@ -1,39 +0,0 @@ -# python-distlib - -#### 介绍 -{**以下是 Gitee 平台说明,您可以替换此简介** -Gitee 是 OSCHINA 推出的基于 Git 的代码托管平台(同时支持 SVN)。专为开发者提供稳定、高效、安全的云端软件开发协作平台 -无论是个人、团队、或是企业,都能够用 Gitee 实现代码托管、项目管理、协作开发。企业项目请看 [https://gitee.com/enterprises](https://gitee.com/enterprises)} - -#### 软件架构 -软件架构说明 - - -#### 安装教程 - -1. xxxx -2. xxxx -3. xxxx - -#### 使用说明 - -1. xxxx -2. xxxx -3. xxxx - -#### 参与贡献 - -1. Fork 本仓库 -2. 新建 Feat_xxx 分支 -3. 提交代码 -4. 新建 Pull Request - - -#### 特技 - -1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md -2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) -3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 -4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 -5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) -6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) diff --git a/distlib-0.3.6.tar.gz b/distlib-0.3.6.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..bcb44bd20f15729b1e148c1dcbaf972b876abd61 Binary files /dev/null and b/distlib-0.3.6.tar.gz differ diff --git a/python-distlib.spec b/python-distlib.spec new file mode 100644 index 0000000000000000000000000000000000000000..ff96d75ae4d38669ff8de4995e62854d4b45dacc --- /dev/null +++ b/python-distlib.spec @@ -0,0 +1,61 @@ +%define anolis_release 1 +%define debug_package %{nil} + +%global pypi_name distlib +%global pypi_version 0.3.6 + +Name: python-distlib +Version: %{pypi_version} +Release: %{anolis_release}%{?dist} +Summary: Distribution utilities +License: Python license +URL: https://github.com/pypa/distlib +Source0: https://files.pythonhosted.org/packages/58/07/815476ae605bcc5f95c87a62b95e74a1bce0878bc7a3119bc2bf4178f175/distlib-0.3.6.tar.gz + +BuildRequires: gcc cmake +BuildRequires: python3-devel python3-setuptools +BuildRequires: pyproject-rpm-macros +BuildRequires: python-srpm-macros +BuildRequires: python3-wheel +BuildRequires: python3-packaging + +%description + + +%package -n python3-%{pypi_name} +Summary: %{summary} + +%description -n python3-%{pypi_name} +%{description} +%package -n python3-%{pypi_name}-doc +Summary: %{summary} +BuildArch: noarch +Requires: python3-%{pypi_name} = %{version}-%{release} + +%description -n python3-%{pypi_name}-doc +%{description} + +%prep +%autosetup -n %{pypi_name}-%{version} -p1 + +%generate_buildrequires +%pyproject_buildrequires + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files %{pypi_name} + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%license tests/testsrc/LICENSE tests/testdist-0.1/LICENSE tests/test_testdist-0.1/LICENSE LICENSE.txt + + +%files -n python3-%{pypi_name}-doc +%doc PC/ReadMe.txt tests/testsrc/README.txt tests/testdist-0.1/README.txt tests/test_testdist-0.1/README.txt README.rst tests/testdist-0.1/doc/index.html + + +%changelog +* Tue Jul 05 2022 happy_orange - 0.3.6-1 +- init package from upstream \ No newline at end of file