Group :: Rede/Outros
RPM: netdate
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: netdate
License: Public Domain
Group: Networking/Other
Version: 1.2
Release: alt2.qa1
Summary: Set Date and Time by ARPA Internet RFC 868
#Url: http://www.ibiblio.org/pub/linux/system/network/sunacm/Other/netdate/
Url: ftp://ftp.suse.com/pub/people/kukuk/ipv6/
Source: %name-%version.tar.bz2
Source1: sysconfig.%name
Source2: rc.%name
Patch: %name-1.2.dif
Packager: Fr. Br. George <george at altlinux.ru>
%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 -n %name
%patch
%build
%make
%install
install -d -m 755 %buildroot/usr/sbin
install -d -m 755 %buildroot%_mandir/man8
install -d -m 755 %buildroot%_sysconfdir/sysconfig
install -d -m 755 %buildroot%_initdir
make DESTDIR=%buildroot/ install
install %SOURCE1 %buildroot%_sysconfdir/sysconfig/%name
install -m 755 %SOURCE2 %buildroot%_initdir/%name
%files
%doc COPYRIGHT
%doc %_mandir/man?/*
%config(noreplace) %_sysconfdir/sysconfig/%name
%_initdir/%name
/usr/sbin/netdate
%changelog
…
Todas as alterações você pod ver aqui
License: Public Domain
Group: Networking/Other
Version: 1.2
Release: alt2.qa1
Summary: Set Date and Time by ARPA Internet RFC 868
#Url: http://www.ibiblio.org/pub/linux/system/network/sunacm/Other/netdate/
Url: ftp://ftp.suse.com/pub/people/kukuk/ipv6/
Source: %name-%version.tar.bz2
Source1: sysconfig.%name
Source2: rc.%name
Patch: %name-1.2.dif
Packager: Fr. Br. George <george at altlinux.ru>
%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 -n %name
%patch
%build
%make
%install
install -d -m 755 %buildroot/usr/sbin
install -d -m 755 %buildroot%_mandir/man8
install -d -m 755 %buildroot%_sysconfdir/sysconfig
install -d -m 755 %buildroot%_initdir
make DESTDIR=%buildroot/ install
install %SOURCE1 %buildroot%_sysconfdir/sysconfig/%name
install -m 755 %SOURCE2 %buildroot%_initdir/%name
%files
%doc COPYRIGHT
%doc %_mandir/man?/*
%config(noreplace) %_sysconfdir/sysconfig/%name
%_initdir/%name
/usr/sbin/netdate
%changelog
…
Todas as alterações você pod ver aqui