]> git.pld-linux.org Git - packages/autolog.git/blob - autolog.spec
By Arkadiusz Miśkiewicz <misiek@misiek.eu.org>:
[packages/autolog.git] / autolog.spec
1 Summary:        Terminates connections for idle users.
2 Summary(pl):    Przerywa po³±czenia bezczynnych u¿ytkowników.
3 Name:           autolog
4 Version:        0.34
5 Release:        1
6 Copyright:      GPL
7 Group:          Daemons
8 Group(pl):      Demony
9 Source:         ftp://sunsite.unc.edu/pub/Linux/system/Admin/idle/%{name}-%{version}.tgz
10 Patch:          autolog-0.34.debian.diff
11 Requires:       /etc/crontab.d
12 BuildRoot:      /tmp/%{version}-%{name}-buildroot
13
14 %description
15 Autolog is a program to automatically log off users who are idle for a specified
16 amount of time. A configuration file allows you to specify different idle times
17 and logout rules for different users, groups, tty lines, etc.
18
19 %description -l pl
20 Autolog to program automatycznie wylogowuj±cy u¿ytkowników, którzy nie
21 korzystaj± przez okre¶lony czas z terminala. Plik konfiguracyjny pozwala
22 na okre¶lenie czasów oraz regu³ postêpowania dla ró¿nych u¿ytkowników, grup,
23 lini tty itp.
24
25 %prep
26 %setup -q
27 %patch -p1
28
29 %build
30 make CFLAGS="$RPM_OPT_FLAGS"
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT/{usr/sbin,usr/man/{man8,man5},etc/crontab.d}
35
36 install autolog $RPM_BUILD_ROOT/usr/sbin
37 install crontab $RPM_BUILD_ROOT/etc/crontab.d/%{name}
38 install autolog.8 $RPM_BUILD_ROOT/usr/man/man8
39 install autolog.conf $RPM_BUILD_ROOT/etc
40 install autolog.conf.5 $RPM_BUILD_ROOT/usr/man/man5
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %attr(644, root, root, 755) %doc README
47 %attr(700, root, root) /usr/sbin/autolog
48 %attr(700, root, root) /etc/crontab.d/autolog
49 %attr(600, root, root) %config(noreplace) /etc/autolog.conf
50 %attr(644, root, man ) /usr/man/man8/*
51
52 %changelog
53 * Fri Oct 16 1998 Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org>
54 - initial rpm release.
This page took 0.070709 seconds and 4 git commands to generate.