diff options
author | CoprDistGit <infra@openeuler.org> | 2025-04-02 09:55:28 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2025-04-02 09:55:28 +0000 |
commit | aa48e9f7c0cfd1cf47b47e8dcc0b08de3edcb1a3 (patch) | |
tree | d1ecaac13e821ab89660460e65898690dd7894ec | |
parent | f0d3fddc4d27b711f89d334787d9cd8d672f2d6b (diff) |
automatic import of pxeuleropeneuler25.03openeuler24.09openeuler24.03_LTS_SP1openeuler24.03_LTSopeneuler22.03_LTS_SP4openeuler22.03_LTS_SP3openeuler22.03_LTS_SP2openeuler22.03_LTSopeneuler20.03_LTS_SP4openeuler20.03_LTS_SP1openeuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | pxeuler.spec | 39 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 41 insertions, 0 deletions
@@ -0,0 +1 @@ +/pxeuler-1.0.0.tar.gz diff --git a/pxeuler.spec b/pxeuler.spec new file mode 100644 index 0000000..1efabac --- /dev/null +++ b/pxeuler.spec @@ -0,0 +1,39 @@ +Name: pxeuler +Version: 1.0.0 +Release: 1 +Summary: 用于pxe自动化系统安装 + +License: GPLv3+ +URL: https://gitee.com/quanag_100/pxeuler +Source0: %{name}-%{version}.tar.gz + +BuildRequires: python3-devel +Requires: python3 + +%description +PXEuler自动化部署工具,用于快速配置网络启动环境。 + +%prep +%autosetup -p1 -n %{name}-%{version} + +%build +%define debug_package %{nil} + +%install +mkdir -p %{buildroot}/usr + +cp -rdpf %{_builddir}/%{name}-%{version}/usr/local %{buildroot}/usr + +%post +set -u + +rm -rf /usr/sbin/pxeuler +ln -s /usr/local/%{name}/pxeuler.py /usr/sbin/pxeuler + +%files +/usr/local/%{name}/* + + +%changelog +* Fri Mar 21 2025 Your Name <your.email@example.com> - 1.0.0-1 +- 初始版本:实现基础功能与软链接创建 @@ -0,0 +1 @@ +f757054f169e31fa478751a98b7405ab pxeuler-1.0.0.tar.gz |