diff --git a/README.en.md b/README.en.md deleted file mode 100644 index f8502117613d73c983644170df1990539e08adf6..0000000000000000000000000000000000000000 --- a/README.en.md +++ /dev/null @@ -1,36 +0,0 @@ -# bazel - -#### Description -Tool for the automation of building and testing of software - -#### 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 1acdf645536ff3d4466aa3f6b86267d543d890cf..0000000000000000000000000000000000000000 --- a/README.md +++ /dev/null @@ -1,37 +0,0 @@ -# bazel - -#### 介绍 -Tool for the automation of building and testing of software - -#### 软件架构 -软件架构说明 - - -#### 安装教程 - -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. 码云官方博客 [blog.gitee.com](https://blog.gitee.com) -3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目 -4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目 -5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) -6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) diff --git a/bazel-3.5.0-dist.zip b/bazel-3.5.0-dist.zip new file mode 100644 index 0000000000000000000000000000000000000000..260baf6d5c5d271d060bf3eff18c3c16987dd801 Binary files /dev/null and b/bazel-3.5.0-dist.zip differ diff --git a/bazel.spec b/bazel.spec new file mode 100644 index 0000000000000000000000000000000000000000..a36dc7375ba57167135a0c40070ddf429fce9044 --- /dev/null +++ b/bazel.spec @@ -0,0 +1,42 @@ +Name: bazel +Version: 3.5.0 +Release: 1 +Summary: a fast, scalable, multi-language and extensible build system +License: Apache License 2.0 +URL: https://www.bazel.build/ +Source0: https://github.com/bazelbuild/bazel/releases/download/%{version}/bazel-%{version}-dist.zip + +BuildRequires: java-11-openjdk-devel python3 zip unzip python3-unversioned-command + +Requires: libstdc++ libgcc java-11-openjdk-devel python3 zip unzip python3-unversioned-command + +%description +{Fast, Correct} - Choose two + +Build and test software of any size, quickly and reliably. + +Speed up your builds and tests: Bazel rebuilds only what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds. + +One tool, multiple languages: Build and test Java, C++, Android, iOS, Go, and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux. + +Scalable: Bazel helps you scale your organization, codebase, and continuous integration solution. It handles codebases of any size, in multiple repositories or a huge monorepo. + +Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community. + +%prep +unzip %{SOURCE0} + +%build +env EXTRA_BAZEL_ARGS="--host_javabase=@local_jdk//:jdk" bash ./compile.sh +chmod a+x output/bazel + +%install +mkdir -p %{buildroot}%{_bindir} +install -m755 output/bazel %{buildroot}%{_bindir} + +%files +%attr(0755,root,root) %{_bindir}/bazel + +%changelog +* Sun Sep 28 2020 Zhipeng Xie - 3.5.0-1 +- Package init diff --git a/bazel.yaml b/bazel.yaml new file mode 100644 index 0000000000000000000000000000000000000000..92e2256198030a82530c21be2ce05a4d4f39961f --- /dev/null +++ b/bazel.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: bazelbuild/bazel +tag_prefix: +seperator: .