]> git.pld-linux.org Git - packages/rdate.git/blob - rdate.spec
- changed all BuildRoot definitons
[packages/rdate.git] / rdate.spec
1 Summary:        Remote clock reader (and local setter)
2 Summary(fr):    Lecteur d'horloge distante (et configurateur local)
3 Summary(de):    Entfernter Uhrenleser (lokaler Einsteller)
4 Summary(pl):    Program podaj±cy (i ustawiaj±cy) zdalny czas zegara
5 Summary(tr):    Að üzerinden sistem saatini ayarlayan yazýlým
6 Name:           rdate
7 %define         versionmajor 0
8 %define         versionminor 990504
9 Version:        %{versionmajor}.%{versionminor}
10 Release:        1
11 Copyright:      none
12 Group:          Networking/Utilities
13 Group(pl):      Sieciowe/Narzêdzia
14 Source:         ftp://sunsite.unc.edu/pub/Linux/system/network/misc/%{name}-%{versionminor}.tar.gz
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 rdate is a program that can retrieve the time from another machine on your
19 network.  If run as root, it will also set your local time to that of the
20 machine you queried.  It is not super accurate; get xntpd if you are really
21 worried about milliseconds.
22
23 %description -l de
24 rdate ist ein Programm, das die Uhrzeit von einem anderen Netzwerkrechner
25 lesen kann. Wenn Sie es als root ausführen, stellt es Ihre Ortszeit auf die
26 des abgefragten Rechners ein. Es ist nicht sehr genau. Wenn Sie auf die
27 Millisekunde genau sein wollen, besorgen Sie sich xntpd .
28
29 %description -l fr
30 rdate permet de récupérer l'heure d'une autre machine du réseau. s'il est
31 lancé par root, il configurera aussi votre heure locale avec celle de la
32 machine que vous avez interrogé. Il n'est pas très précis ; si vous vous
33 souciez des millisecondes, récupérez xntpd.
34
35 %description -l pl
36 rdate jest programem który odczytuje datê i godzinê z innej maszyny w sieci.
37 Je¿eli jest uruchamiany jako root mo¿e tak¿e s³u¿yæ do synchronizacji
38 lokalnego czasu wzglêdem innego komputera w sieci. Nie jest zbyt dok³adny
39 i je¿eli milisekundy maj± dla znaczenie nale¿y u¿yæ xntpd.
40
41 %description -l tr
42 rdate ile herhangi baþka bir makinadan sistem saatini sorgulanabilir.
43 Yetkili kullanýcý tarafýndan çalýþtýrýlýrsa sistem saatini ayarlamak da
44 mümkündür. Ne var ki bu uygulama çok hassas deðildir.
45
46 %prep
47 %setup -q -n %{name}
48
49 %build
50 make clean
51 make CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s"
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
56
57 install -s rdate $RPM_BUILD_ROOT%{_bindir}
58 install rdate.1 $RPM_BUILD_ROOT%{_mandir}/man1
59
60 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/*
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files
66 %defattr(644,root,root,755)
67 %attr(755,root,root) %{_bindir}/rdate
68 %{_mandir}/man1/*
This page took 0.07314 seconds and 3 git commands to generate.