Add initial source and spec file, delete README related files. Signed-off-by: Keqian Zhu <zhukeqian1@huawei.com>
52 lines
979 B
RPMSpec
52 lines
979 B
RPMSpec
Name: skylark
|
|
Version: 1.0.0
|
|
Release: 1
|
|
Summary: Skylark is a next-generation QoS-aware scheduler.
|
|
|
|
License: Mulan PSL v2
|
|
URL: https://gitee.com/openeuler/skylark
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
BuildRequires: python3-devel make gcc coreutils
|
|
Requires: python3 python3-APScheduler python3-libvirt
|
|
|
|
%description
|
|
Skylark is a next-generation QoS-aware scheduler which provides coordinated resource scheduling for co-located applications with different QoS requirements.
|
|
|
|
%ifnarch x86_64
|
|
%global debug_package %{nil}
|
|
%endif
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
|
|
%build
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
|
|
%files
|
|
%doc README.md README.en.md
|
|
%config /etc/sysconfig/*
|
|
/usr/sbin/*
|
|
/usr/lib/lib*
|
|
/usr/lib/systemd/system/*
|
|
/etc/systemd/system/*
|
|
|
|
|
|
%post
|
|
%systemd_post skylarkd.service
|
|
%preun
|
|
%systemd_preun skylarkd.service
|
|
%postun
|
|
%systemd_postun_with_restart skylarkd.service
|
|
|
|
|
|
%changelog
|
|
* Thu Jul 28 2022 Keqian Zhu <zhukeqian1@huawei.com> - 1.0.0-1
|
|
- Package init
|