10 Star 0 Fork 6

src-openEuler/ntpstat

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
ntpstat.spec 1.58 KB
一键复制 编辑 原始数据 按行查看 历史
yangl777 提交于 2022-06-16 16:50 . delete macros in changelog
Name: ntpstat
Version: 0.6
Release: 4
Summary: Print NTP synchronisation status
License: MIT
URL: https://github.com/mlichvar/ntpstat
Source0: https://github.com/mlichvar/ntpstat/archive/%{version}/%{name}-%{version}.tar.gz
BuildArch: noarch
Requires: (ntp or chrony)
%description
ntpstat is a shell script which prints the ntpd or chronyd synchronisation
status, using the ntpq or chronyc program.
%package help
summary: Help files for %{name}
BuildArch: noarch
%description help
Contains secondary development documentation and interface function
descriptions, man, info, etc. related documents and manuals for %{name}
%prep
%autosetup -n %{name}-%{version} -p1
%build
%install
install -d $RPM_BUILD_ROOT%{_bindir}
install -m755 ntpstat $RPM_BUILD_ROOT%{_bindir}
install -d $RPM_BUILD_ROOT%{_mandir}/man1
install -p -m644 ./ntpstat.1 $RPM_BUILD_ROOT%{_mandir}/man1
%files
%defattr(-,root,root)
%license COPYING
%{_bindir}/ntpstat
%files help
%defattr(-,root,root)
%doc NEWS README
%{_mandir}/man1/ntpstat.*
%changelog
* Thu Jun 16 2022 yanglu <[email protected]> - 0.6-4
- DESC: delete macros in changelog
* Thu Apr 28 2022 yanglu <[email protected]> - 0.6-3
- DESC: rebuild ntpstat
* Fri Jul 30 2021 chenyanpanHW <[email protected]> - 0.6-2
- DESC: delete -S git from autosetup, and delete BuildRequires git
* Wed Jul 22 2020 yuboyun<[email protected]> - 0.6-1
- Type:bugfix
- ID:NA
- SUG:NA
- DESC: update to 0.6
* Wed Aug 28 2019 openEuler Buildteam <[email protected]> - 0.5-3
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/ntpstat.git
[email protected]:src-openeuler/ntpstat.git
src-openeuler
ntpstat
ntpstat
master

搜索帮助