skylark/skylark.spec
Keqian Zhu 54620ac6e4 spec: Init package
Add initial source and spec file, delete README related
files.

Signed-off-by: Keqian Zhu <zhukeqian1@huawei.com>
2022-06-16 14:09:23 -04:00

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