]> git.pld-linux.org Git - packages/autolog.git/commitdiff
- spec adapterized.
authorkloczek <kloczek@pld-linux.org>
Thu, 18 May 2000 02:01:25 +0000 (02:01 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    autolog.spec -> 1.13

autolog.spec

index a8d1afadbd222ae47b6a6490534d7dca299950a6..c82a4e87ee46b1fa054fbb4133134265a7ce54cb 100644 (file)
@@ -3,24 +3,25 @@ Summary(pl):  Przerywa po
 Name:          autolog
 Version:       0.34
 Release:       3
-Copyright:     GPL
+License:       GPL
 Group:         Daemons
 Group(pl):     Serwery
-Source:                ftp://sunsite.unc.edu/pub/Linux/system/Admin/idle/%{name}-%{version}.tgz
-Patch:         autolog-0.34.debian.diff
+Source0:       ftp://sunsite.unc.edu/pub/Linux/system/Admin/idle/%{name}-%{version}.tgz
+Patch0:                autolog-0.34.debian.diff
 Requires:      /etc/crontab.d
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Autolog is a program to automatically log off users who are idle for a specified
-amount of time. A configuration file allows you to specify different idle times
-and logout rules for different users, groups, tty lines, etc.
+Autolog is a program to automatically log off users who are idle for a
+specified amount of time. A configuration file allows you to specify
+different idle times and logout rules for different users, groups, tty
+lines, etc.
 
 %description -l pl
 Autolog to program automatycznie wylogowuj±cy u¿ytkowników, którzy nie
-korzystaj± przez okre¶lony czas z terminala. Plik konfiguracyjny pozwala
-na okre¶lenie czasów oraz regu³ postêpowania dla ró¿nych u¿ytkowników, grup,
-lini tty itp.
+korzystaj± przez okre¶lony czas z terminala. Plik konfiguracyjny
+pozwala na okre¶lenie czasów oraz regu³ postêpowania dla ró¿nych
+u¿ytkowników, grup, lini tty itp.
 
 %prep
 %setup -q
@@ -36,7 +37,7 @@ install -d $RPM_BUILD_ROOT/{usr/sbin,usr/share/man/{man8,man5},etc/crontab.d}
 install autolog $RPM_BUILD_ROOT%{_sbindir}
 install crontab $RPM_BUILD_ROOT/etc/crontab.d/%{name}
 install autolog.8 $RPM_BUILD_ROOT%{_mandir}/man8
-install autolog.conf $RPM_BUILD_ROOT/etc
+install autolog.conf $RPM_BUILD_ROOT%{_sysconfdir}
 install autolog.conf.5 $RPM_BUILD_ROOT%{_mandir}/man5
 
 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* README 
@@ -57,9 +58,9 @@ fi
 rm -rf $RPM_BUILD_ROOT
 
 %files
-%defattr(644,root,root,755) 
+%defattr(644,root,root,755)
 %doc README.gz
 %attr(700,root,root) %{_sbindir}/autolog
 %attr(700,root,root) /etc/crontab.d/autolog
-%attr(600,root,root) %config(noreplace) /etc/autolog.conf
+%attr(600,root,root) %config(noreplace) %{_sysconfdir}/autolog.conf
 %{_mandir}/man8/*
This page took 0.177683 seconds and 4 git commands to generate.