Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Update
netdate
netdate.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File netdate.spec of Package netdate
# # spec file for package netdate # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: netdate Version: 1.2 Release: 0 Summary: Set Date and Time by ARPA Internet RFC 868 License: SUSE-Public-Domain Group: Productivity/Networking/Other Url: ftp://ftp.code-monkey.de/pub/netdate/ Source: ftp://ftp.code-monkey.de/pub/netdate/netdate-%{version}.tar.bz2 Patch0: %{name}-%{version}.dif Provides: nkitb:%{_sbindir}/netdate BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Netdate takes a list of names of Internet hosts as arguments, selects the one that supplies the best time, and sets the system time accordingly. The "best" time is chosen by polling the named hosts once each to find their times and taking their differences from the local host's time. These differences are used to find the largest group of hosts whose times agree with each other within a certain limit. The first host in the largest group is picked as the best host. %prep %setup -q %patch0 %build make %{?_smp_mflags} CFLAGS="%{optflags}" %install install -d -m 755 %{buildroot}%{_prefix}/sbin install -d -m 755 %{buildroot}%{_mandir}/man8 make DESTDIR=%{buildroot} install %files %defattr(-,root,root) %doc COPYRIGHT %{_mandir}/man?/* %{_sbindir}/netdate %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor