diff --git a/README.en.md b/README.en.md deleted file mode 100644 index 358454fa95d516cdddfe8787fdc0b3216e88e7b8..0000000000000000000000000000000000000000 --- a/README.en.md +++ /dev/null @@ -1,36 +0,0 @@ -# rust-choose - -#### 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 66967ca9812240467a7ccf6899f7b70a0dc75169..0000000000000000000000000000000000000000 --- a/README.md +++ /dev/null @@ -1,39 +0,0 @@ -# rust-choose - -#### 介绍 -{**以下是 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/rust-choose.spec b/rust-choose.spec new file mode 100644 index 0000000000000000000000000000000000000000..04d77b0f6d7528eb70352b710b95f1bc216eb6d2 --- /dev/null +++ b/rust-choose.spec @@ -0,0 +1,56 @@ +%bcond_without check + +%global crate choose + +Summary: Human-friendly and fast alternative to cut and (sometimes) awk +Name: rust-choose +Version: 1.3.4 +Release: 1%{?dist} + +License: GPL-3.0-or-later +URL: https://crates.io/crates/choose +Source: %{crates_source} +Source1: %{name}-%{version}-vendor.tar.bz2 + +ExclusiveArch: %{rust_arches} + +BuildRequires: rust-packaging >= 23 + +%global _description %{expand: +A human-friendly and fast alternative to cut and (sometimes) awk.} + +%description %{_description} + +%package -n %{crate} +Summary: %{summary} +License: MIT AND MPL-2.0 AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (CC0-1.0 OR MIT-0 OR Apache-2.0) + +%description -n %{crate} %{_description} + +%prep +%autosetup -n %{crate}-%{version} -p1 -a1 +%cargo_prep -v ./vendor + +%build +%cargo_build +%{cargo_license_summary} +%{cargo_license} > LICENSE.dependencies + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%files -n %{crate} +%license LICENSE +%license LICENSE.dependencies +%doc contributing.md +%doc readme.md +%{_bindir}/choose + +%changelog +* Mon Jul 29 2024 xiaoyunzhao - 1.3.4-1 +- Initial build diff --git a/sources b/sources new file mode 100644 index 0000000000000000000000000000000000000000..f11412e725b9379c12393a48cfff5608d39ac8ad --- /dev/null +++ b/sources @@ -0,0 +1,2 @@ +SHA512 (rust-choose-1.3.4-vendor.tar.bz2) = 8c87e4706d50f23c9d30e9c69678ed903f1144ae045a9e6a2f400e8f99539a27d878e46e2eed6ebf2f09fe7d73fdff889e0cdd477a0af30db4ef3f234e67b06d +SHA512 (choose-1.3.4.crate) = acb6157a71f321fee82c561d57c263adee723f97219d9fd7940b17e819fa1802dfbf4d2b055da0bf9d5bc337629b134c21483e10c1d96d7f4a4447cce02e937f