diff --git a/eagle.spec b/eagle.spec new file mode 100644 index 0000000..ea3dc15 --- /dev/null +++ b/eagle.spec @@ -0,0 +1,41 @@ +Name: python-mpctool +Version: 1.0.0 +Release: 1 +Summary: mpctool +License: Mulan PSL v2 +URL: https://gitee.com/openeuler/eagle +Source0: mpctool.tar.gz + +Requires: python3-numpy python3-pandas python3-psutil + +%description + +%define debug_package %{nil} + +%package -n python3-mpctool +Summary: Python3 package for python-mpctool +BuildRequires: python3-devel python3-setuptools +BuildRequires: python3-numpy python3-pandas python3-psutil + +%description -n python3-mpctool + + +%prep +%autosetup -n mpctool -p1 + +%build +%py3_build + +%install +%py3_install + + +%files -n python3-mpctool +%defattr(-,root,root) +%{_bindir}/mpctool +/usr/lib/systemd/system/mpctool.service +%{python3_sitelib}/* + +%changelog +* Sun Mar 12 2023 queyanwen - 1.0.0-1 +- First Release diff --git a/mpctool.tar.gz b/mpctool.tar.gz new file mode 100644 index 0000000..c90472d Binary files /dev/null and b/mpctool.tar.gz differ