Add mpctool package
This commit is contained in:
parent
1956b825a7
commit
eaff195f62
41
eagle.spec
Normal file
41
eagle.spec
Normal file
@ -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<queyanwen@huawei.com> - 1.0.0-1
|
||||||
|
- First Release
|
||||||
BIN
mpctool.tar.gz
Normal file
BIN
mpctool.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user