diff --git a/README.en.md b/README.en.md deleted file mode 100644 index 317046dc387a34198bfe9a990ce34597e2c69c81..0000000000000000000000000000000000000000 --- a/README.en.md +++ /dev/null @@ -1,36 +0,0 @@ -# ancert - -#### 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 77c51b2d585078b542379a98bc9accc5e93ee17a..0000000000000000000000000000000000000000 --- a/README.md +++ /dev/null @@ -1,39 +0,0 @@ -# ancert - -#### 介绍 -{**以下是 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/ancert-v2.0.tar.gz b/ancert-v2.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..c3f49e3fb781a7ff1604da0d356864503d82e66e Binary files /dev/null and b/ancert-v2.0.tar.gz differ diff --git a/ancert.spec b/ancert.spec new file mode 100644 index 0000000000000000000000000000000000000000..61c9e4c2ca425d1760680596b014f6756a949a50 --- /dev/null +++ b/ancert.spec @@ -0,0 +1,71 @@ +%define anolis_release 1 +%define __lib lib +%undefine __brp_mangle_shebangs + +Name: ancert +Version: 2.0 +Release: %{anolis_release}%{?dist} +Summary: Anolis Hardware Compatibility Test Suite +License: MulanPSL2 and BSD +Group: Development/Libraries +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot +Vendor: Alibaba +URL: https://gitee.com/anolis/ancert +Source: %{name}-v%{version}.tar.gz +BuildRequires: make, gcc, gcc-c++ +Requires: make, gcc, gcc-c++ +Requires: fio, nvme-cli, glx-utils, python3, rpm-build, bc, lvm2 +Requires: alsa-lib, alsa-utils, virt-what, smartmontools, hdparm +Requires: xorg-x11-server-Xwayland, x11perf, xdpyinfo, xvinfo, xset +Requires: OpenIPMI, ipmitool, freeipmi +Requires: python3-pyyaml, clang +ExclusiveArch: x86_64 aarch64 loongarch64 + +%description +This test suite to be used to verify your system or component the compatibility with Anolis OS. + +%prep +%setup -qn %{name}-v%{version} + +%install +make DESTDIR=%{buildroot}%{_datadir}/%{name} post_install + +%files +%defattr(-,root,root) +%{_datadir}/%{name}/%{name} +%{_datadir}/%{name}/etc +%{_datadir}/%{name}/%{__lib} +%{_datadir}/%{name}/tests +%{_datadir}/%{name}/utils +%{_datadir}/%{name}/README.md +%{_datadir}/%{name}/LICENSE +%exclude %{_datadir}/%{name}/%{name}.spec + +%post +if [ "$1" = "1" ]; then + [ -f %{_bindir}/%{name} ] || [ -L %{_bindir}/%{name} ] \ + && rm -rf %{_bindir}/%{name} + ln -s %{_datadir}/%{name}/%{name} %{_bindir}/%{name} +fi + +%postun +if [ "$1" = "0" ]; then + [ -d %{_datadir}/%{name} ] && rm -rf %{_datadir}/%{name} + [ -L %{_bindir}/%{name} ] && rm -rf %{_bindir}/%{name} +fi + +%clean +[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; + +%changelog +* Mon Nov 21 2022 chaofengwu <17269747_wcf@163.com> -2.0-1 +- update ancert architecture to 2.0 + +* Tue Aug 16 2022 chaofengwu <17269747_wcf@163.com> -1.2-1 +- support IPMI , BIOS test + +* Thu Mar 3 2022 chaofengwu <17269747_wcf@163.com> -1.1-1 +- fixed several bugs + +* Wed Nov 24 2021 chaofengwu <17269747_wcf@163.com> -1.0-1 +- support log packaging and test results checksum