]> git.pld-linux.org Git - SPECS.git/blob - upclient.spec
SPECS updated Tue 30 Apr 15:13:02 CEST 2024
[SPECS.git] / upclient.spec
1 # TODO:
2 # - initscript
3 %define         _rc     b8
4 Summary:        Send the uptime of the machine it's running on to a server
5 Summary(pl.UTF-8):      Wysyłanie czasu działania maszyny na serwer
6 Name:           upclient
7 Version:        5.0
8 Release:        0.%{_rc}.1
9 License:        GPL
10 Group:          Applications/System
11 Source0:        http://dl.sourceforge.net/upclient/%{name}-%{version}%{_rc}.tar.gz
12 # Source0-md5:  5d2ac85193fdb898dd16a694b05ac4d0
13 URL:            http://upclient.sourceforge.net/
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 Upclient is a small program that sends the uptime of the machine it's
18 running on to a server (ufo.its.kun.nl). This server collects all
19 uptimes and puts them in a table. To view the table, visit
20 <http://ufo.its.kun.nl/uptime/>. Upclient causes almost no traffic
21 (72bytes/minute), and won't give away any other information than the
22 uptime, load and the operating system it's running on. But to make
23 sure the program can't do any harm, don't run it as root. All it
24 needs, is access to /proc/uptime (and /proc/loadavg). Upclient is
25 totally freeware, so spread it around and make the list grow :)
26
27 %description -l pl.UTF-8
28 Upclient to mały program wysyłający uptime (czas działania) maszyny na
29 której działa na serwer (ufo.its.kun.nl). Serwer ten zbiera wszystkie
30 czasy działania i umieszcza w tabeli. Tabelę można obejrzeć pod
31 adresem <http://ufo.its.kun.nl/uptime/>. Upclient prawie nie powoduje
32 ruchu (72 bajty na minutę) i nie wysyła żadnych innych informacji niż
33 czas działania maszyny, obciążenie i system operacyjny na którym
34 działa. Jednak aby mieć pewność, że program nie zrobi nic złego, nie
35 należy go uruchamiać jako root. Wszystko, czego potrzebuje, to dostęp
36 do /proc/uptime (i /proc/loadavg). Upclient jest całkowicie darmowy,
37 więc można go rozprowadzać i doprowadzać do powiększania listy.
38
39 %prep
40 %setup -q -n %{name}-%{version}%{_rc}
41
42 %build
43 %{__make} -C src linux \
44         prefix=%{_prefix} \
45         sysconfdir=%{_sysconfdir}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49
50 %{__make} -C src install \
51         prefix=$RPM_BUILD_ROOT%{_prefix} \
52         sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir}
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc doc/* AUTHORS FAQ HISTORY HISTORY-BETA INSTALL README TODO TODO-flawfinder
60 %attr(755,root,root) %{_sbindir}/%{name}
61 %verify(not md5 mtime size) %config(noreplace) %{_sysconfdir}/%{name}.conf
62 %{_mandir}/man8/*
This page took 0.145699 seconds and 3 git commands to generate.