diff --git a/README.en.md b/README.en.md index 65a8ac8e5706047b4991046298db2c1f1b69a2be..5e9de21a6f3d8d0ae5765d6f1e3332e57eb3cdc3 100644 --- a/README.en.md +++ b/README.en.md @@ -1,3 +1,36 @@ # openstack-ironic-python-agent-builder -OpenStack services are exclusively released in the openEuler LTS version. Please refer to other Multi-Version branches for the Spec source code. \ No newline at end of file +#### Description +Tools and scripts to build a deployment, cleaning or inspection ramdisk based on Ironic Python Agent. + +#### 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 index fb7e8688f745d992d08937551c582dbf738e3a0a..7dcc91bd9f3041e6d803ca9fa9d0a32565b102e0 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,37 @@ # openstack-ironic-python-agent-builder -openstack服务只在openEuler LTS版本发布,Spec源码请参考其他Multi-Version分支。 \ No newline at end of file +#### 介绍 +Tools and scripts to build a deployment, cleaning or inspection ramdisk based on Ironic Python Agent. + +#### 软件架构 +软件架构说明 + + +#### 安装教程 + +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/ironic-python-agent-builder-2.7.0.tar.gz b/ironic-python-agent-builder-2.7.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..c7cd82569e040934ac4f45a811fbd6baf01394df Binary files /dev/null and b/ironic-python-agent-builder-2.7.0.tar.gz differ diff --git a/python-ironic-python-agent-builder.spec b/python-ironic-python-agent-builder.spec new file mode 100644 index 0000000000000000000000000000000000000000..cf1168e3323ba7f5e9606085c3b5a50ecfd9229b --- /dev/null +++ b/python-ironic-python-agent-builder.spec @@ -0,0 +1,76 @@ +%global _empty_manifest_terminate_build 0 +Name: python-ironic-python-agent-builder +Version: 2.7.0 +Release: 2 +Summary: Tools and scripts to build Ironic Python Agent +License: ASL 2.0 +URL: https://docs.openstack.org/ironic-python-agent-builder/latest/ +Source0: https://tarballs.openstack.org/ironic-python-agent-builder/ironic-python-agent-builder-%{version}.tar.gz +BuildArch: noarch + +Requires: diskimage-builder + +%description +This package contains a script to build an ironic-python-agent builder, as well +as a diskimage-builder element for it. + + +%package -n python3-ironic-python-agent-builder +Summary: Tools and scripts to build Ironic Python Agent +Provides: python-ironic-python-agent-builder + +BuildRequires: diskimage-builder +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pbr + +%description -n python3-ironic-python-agent-builder + +%prep +%autosetup -n ironic-python-agent-builder-%{version} + +%build +%py3_build + +%install +%py3_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst +fi +popd +mv %{buildroot}/filelist.lst . + +%files -n python3-ironic-python-agent-builder -f filelist.lst +%dir %{python3_sitelib}/* +%{_datadir}/* + + +%changelog +* Sun Oct 30 2022 Han Guangyu - 2.7.0-2 +- Move file packaging of `%{_datadir}/*` to python3-ironic-python-agent-builder from help +- Remove help subpackage because it was empty + +* Fri Aug 20 2021 liksh 2.7.0-1 +- Update to 2.7.0 + +* Mon Jul 19 2021 liksh 2.5.0-1 +- Update to 2.5.0 + +* Tue Feb 09 2021 Python_Bot +- Package Spec generated +