ntpstat/ntpstat.spec

64 lines
1.6 KiB
RPMSpec
Raw Normal View History

2019-09-30 11:10:21 -04:00
Name: ntpstat
2020-07-22 10:38:15 +08:00
Version: 0.6
2022-06-16 16:50:00 +08:00
Release: 4
2019-09-30 11:10:21 -04:00
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
2019-09-30 11:10:21 -04:00
%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
2022-06-16 16:50:00 +08:00
* Thu Jun 16 2022 yanglu <yanglu72@h-partners.com> - 0.6-4
- DESC: delete macros in changelog
* Thu Apr 28 2022 yanglu <yanglu72@h-partners.com> - 0.6-3
- DESC: rebuild ntpstat
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.6-2
2022-06-16 16:50:00 +08:00
- DESC: delete -S git from autosetup, and delete BuildRequires git
2020-07-22 10:38:15 +08:00
* Wed Jul 22 2020 yuboyun<yuboyun@huawei.com> - 0.6-1
- Type:bugfix
- ID:NA
- SUG:NA
- DESC: update to 0.6
2019-09-30 11:10:21 -04:00
* Wed Aug 28 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.5-3
- Package init