Пакет rdate: Specfile

Name: rdate
Version: 1.4
Release: alt5.qa1

Summary: Tool for retrieving the date/time from another machine on your network
Summary(ru_RU.KOI8-R): \xf0\xd2\xcf\xc7\xd2\xc1\xcd\xcd\xc1 \xc4\xcc\xd1 \xde\xd4\xc5\xce\xc9\xd1 \xd5\xc4\xc1̣\xce\xce\xd9\xc8 \xde\xc1\xd3\xcf\xd7 \xc9 \xd5\xd3\xd4\xc1\xce\xcf\xd7\xcb\xc9 \xd0\xcf \xce\xc9\xcd \xcd\xc5\xd3\xd4\xce\xd9\xc8

Packager: Stanislav Yadykin <tosick@altlinux.ru>

License: GPL
Group: System/Servers
Url: http://directory.fsf.org/sysadmin/remote/rdate.html

Source: ftp://people.redhat.com/sopwith/%name-%version.tar.bz2

%description
The %name utility retrieves the date and time from another machine
on your network, using the protocol described in RFC 868.  If you
run %name as root, it will set your machine's local time to the time
of the machine that you queried.  Note that %name isn't scrupulously
accurate.  If you are worried about milliseconds, get the ntp
package instead.
You need install xinetd and run 'chkconfig time-udp on' on time server.

%description -l ru_RU.KOI8-R
\xf5\xd4\xc9\xcc\xc9\xd4\xc1 rdate \xd3\xde\xc9\xd4\xd9\xd7\xc1\xc5\xd4 \xc4\xc1\xd4\xd5 \xc9 \xd7\xd2\xc5\xcd\xd1 \xd3 \xc4\xd2\xd5\xc7\xcf\xca \xcd\xc1\xdb\xc9\xce\xd9 \xd3\xc5\xd4\xc9,
\xc9\xd3\xd0\xcf\xcc\xd8\xda\xd5\xd1 \xd0\xd2\xcf\xd4\xcf\xcb\xcf\xcc, \xcf\xd0\xc9\xd3\xc1\xce\xce\xd9\xca \xd7 RFC 868. \xe5\xd3\xcc\xc9 \xd7\xd9 \xda\xc1\xd0\xd5\xd3\xcb\xc1\xc5\xd4\xc5 rdate \xcf\xd4
\xd0\xcf\xcc\xd8\xda\xcf\xd7\xc1\xd4\xc5\xcc\xd1 root, \xcf\xce\xc1 \xd4\xc1\xcb\xd6\xc5 \xcd\xcf\xd6\xc5\xd4 \xd5\xd3\xd4\xc1\xce\xcf\xd7\xc9\xd4\xd8 \xd7\xd2\xc5\xcd\xd1 \xce\xc1 \xcc\xcf\xcb\xc1\xcc\xd8\xce\xcf\xca
\xcd\xc1\xdb\xc9\xce\xc5 \xd7 \xd3\xcf\xcf\xd4\xd7\xc5\xd4\xd3\xd4\xd7\xc9\xc9 \xd3\xcf \xd7\xd2\xc5\xcd\xc5\xce\xc5\xcd \xce\xc1 \xd5\xc4\xc1̣\xce\xce\xcf\xca \xcd\xc1\xdb\xc9\xce\xc5. \xe9\xcd\xc5\xca\xd4\xc5 \xd7 \xd7\xc9\xc4\xd5,
\xde\xd4\xcf rdate \xce\xc5 \xcf\xd4\xcc\xc9\xde\xc1\xc5\xd4\xd3\xd1 \xcf\xd3\xcf\xc2\xc5\xce\xce\xcf\xca \xd4\xcf\xde\xce\xcf\xd3\xd4\xd8\xc0; \xc5\xd3\xcc\xc9 \xd7\xd9 \xda\xc1\xc2\xcf\xd4\xc9\xd4\xc5\xd3\xd8 \xcf
\xcd\xc9\xcc\xcc\xc9\xd3\xc5\xcb\xd5\xce\xc4\xc1\xc8, \xd5\xd3\xd4\xc1\xce\xcf\xd7\xc9\xd4\xc5 \xd0\xc1\xcb\xc5\xd4 ntp, \xc9\xd3\xd0\xcf\xcc\xd8\xda\xd5\xc0\xdd\xc9\xca ntpd.
\xee\xc1 \xd3\xc5\xd2\xd7\xc5\xd2\xc5 \xd7\xd2\xc5\xcd\xc5\xce\xc9 \xd7\xc1\xcd \xd0\xcf\xd4\xd2\xc5\xc2\xd5\xc5\xd4\xd3\xd1 \xd5\xd3\xd4\xc1\xce\xcf\xd7\xc9\xd4\xd8 xinetd \xc9
\xda\xc1\xd0\xd5\xd3\xd4\xc9\xd4\xd8 'chkconfig time-udp on'.

%prep
%setup -q

%build
gcc $RPM_OPT_FLAGS -D_GNU_SOURCE %name.c -o %name

%install
install -p -m755 -D %name %buildroot%_bindir/%name
install -p -m644 -D %name.1 %buildroot%_man1dir/%name.1

%files
%_bindir/*
%_man1dir/*

%changelog
* Wed Apr 17 2013 Dmitry V. Levin (QA) <qa_ldv@altlinux.org> 1.4-alt5.qa1
- NMU: rebuilt for debuginfo.

* Fri Sep 22 2006 Stanislav Yadykin <tosick@altlinux.ru> 1.4-alt5
- fixed summary encoding

* Sun Jan 29 2006 Vitaly Lipatov <lav@altlinux.ru> 1.4-alt3
- NMU: spec fixes again
- add Packager
- fix name of ntp package in descriptions
- add info about server setup in descriptions

* Thu Jan 26 2006 Vitaly Lipatov <lav@altlinux.ru> 1.4-alt2
- NMU: spec fixes: add Url, change Source, some cleanup
- add russian summary & description (from PLD)

* Wed Aug 18 2004 Stanislav Yadykin <tosick@altlinux.ru> 1.4-alt1
- build with 1.4

* Mon Apr 15 2002 Rider <rider@altlinux.ru> 1.0-ipl4mdk
- rebuild

* Fri Jan 19 2001 Dmitry V. Levin <ldv@fandra.org> 1.0-ipl3mdk
- Merged RH patches.
- RE adaptions.

* Wed Jul 26 2000 Geoffrey Lee <snailtalk@mandrakesoft.com> 1.0-3mdk
- change copyright to public domain

* Thu Jul 20 2000 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.0-2mdk
- BM
- use new macros
- let spec-helper compress man-pages and strip binaries : i'm getting bored
  to do a mdk7.1 job :-(

* Fri Apr 07 2000 Christopher Molnar <molnarc@mandrakesoft.com> 1.0-1mdk
- updated 1.0
- changed group to new groups

* Fri Feb 04 2000 Elliot Lee <sopwith@redhat.com>
- Rewrite the stinking thing due to license worries (bug #8619)

* Fri Nov 5 1999 Damien Krotkine <damien@mandrakesoft.com>
- Mandrake release

* Wed May 05 1999 Bernhard Rosenkraenzer <bero@mandrakesoft.com>
- Mandrake adaptions

* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
- auto rebuild in the new build environment (release 8)

* Sun Aug 16 1998 Jeff Johnson <jbj@redhat.com>
- build root

* Tue May 05 1998 Prospector System <bugs@redhat.com>
- translations modified for de, fr, tr

* Mon Oct 20 1997 Otto Hammersmith <otto@redhat.com>
- fixed the url to the source

* Mon Jul 21 1997 Erik Troan <ewt@redhat.com>
- built against glibc