]> git.pld-linux.org Git - SPECS.git/blob - utmp-jeber.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / utmp-jeber.spec
1 Summary:        Print and optionally remove broken UTMP entries
2 Summary(pl.UTF-8):      Wyświetlanie i opcjonalnie usuwanie wadliwych wpisów UTMP
3 Name:           utmp-jeber
4 Version:        1.0.13
5 Release:        4
6 License:        GPL
7 Group:          Applications/System
8 Source0:        ftp://ftp.pld.org.pl/software/utmp-jeber/%{name}-%{version}.tar.gz
9 # Source0-md5:  e1c8b052a29c6fb7160123400cda5452
10 Patch0:         %{name}-multiline.patch
11 URL:            http://utmp-jeber.pld.org.pl/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 UTMP Jeber is a small tool which prints broken entries found in UTMP.
18 It has various methods of process analysis, which you can select using
19 command line arguments. It optionally removes broken entries.
20
21 %description -l pl.UTF-8
22 UTMP Jeber to małe narzędzie, które wyświetla uszkodzone wpisy
23 znalezione w UTMP. Posiada ono parę metod analizowania procesów, a ich
24 wyboru możesz dokonać używając argumentów linii poleceń. Jeber
25 opcjonalnie potrafi usuwać uszkodzone wpisy.
26
27 %package cron
28 Summary:        cron script for UTMP Jeber
29 Summary(pl.UTF-8):      Skrypt cyklicznego wykonywania dla UTMP Jeber
30 Group:          Applications/System
31 Requires:       %{name} = %{version}-%{release}
32 Requires:       crondaemon
33 Requires:       crontabs
34 Requires:       syslogdaemon
35
36 %description cron
37 This package contains a script, which runs UTMP Jeber in batch mode
38 and reports actions (if any) via syslog. The script is run
39 periodicaly, every hour using cron.
40
41 %description cron -l pl.UTF-8
42 Ten pakiet zawiera skrypt, który uruchamia UTMP Jebera w trybie
43 wsadowym i zgłasza ewentualnie podjęte działania (jeśli jakieś
44 wystąpią) poprzez demona syslog. Skrypt jest co godzinę uruchamiany
45 przy użyciu demona cron.
46
47 %prep
48 %setup -q
49 %patch0 -p1
50
51 %build
52 %{__aclocal}
53 %{__autoconf}
54 %{__automake}
55 %{__autoheader}
56 %configure \
57         --with-utmp-file=/var/run/utmpx
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61 install -d $RPM_BUILD_ROOT/etc/cron.hourly
62
63 %{__make} install \
64         DESTDIR=$RPM_BUILD_ROOT
65
66 install %{name}.cron $RPM_BUILD_ROOT/etc/cron.hourly/%{name}
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %files
72 %defattr(644,root,root,755)
73 %doc README ChangeLog NEWS AUTHORS
74 %doc %lang(pl) README.polish
75 %attr(755,root,root) %{_bindir}/*
76
77 %files cron
78 %defattr(644,root,root,755)
79 %attr(755,root,root) /etc/cron.hourly/%{name}
This page took 1.177633 seconds and 3 git commands to generate.