]> git.pld-linux.org Git - packages/autolog.git/commitdiff
- updated to 0.40, NFY (todo: fix init.d/autolog)
authorTomek Orzechowski <orzech@pld-linux.org>
Sun, 21 Oct 2001 14:23:56 +0000 (14:23 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    autolog.spec -> 1.22

autolog.spec

index a3974545dacfb04bc016db5908c18854a33cb843..edb4272fb4b335a3a56593cb47b10d73df74f941 100644 (file)
@@ -1,16 +1,14 @@
 Summary:       Terminates connections for idle users
 Summary(pl):   Przerywa po³±czenia bezczynnych u¿ytkowników
 Name:          autolog
-Version:       0.34
-Release:       6
+Version:       0.40
+Release:       1
 License:       GPL
 Group:         Daemons
 Group(de):     Server
 Group(pl):     Serwery
-Source0:       ftp://sunsite.unc.edu/pub/Linux/system/Admin/idle/%{name}-%{version}.tgz
-Patch0:                %{name}-0.34.debian.diff
-Requires:      /etc/cron.d
-Prereq:                rc-scripts
+Source0:       ftp://sunsite.unc.edu/pub/Linux/system/Admin/idle/%{name}-%{version}.tar.gz
+Prereq:                chkconfig
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -27,22 +25,24 @@ u
 
 %prep
 %setup -q
-%patch -p1
 
 %build
+# Remove stale binaries
+%{__make} clean
+
 %{__make} CFLAGS="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man{5,8},%{_sysconfdir}/cron.d}
+install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man{5,8},%{_sysconfdir}/rc.d/init.d}
 
 install autolog $RPM_BUILD_ROOT%{_sbindir}
-install crontab $RPM_BUILD_ROOT/etc/cron.d/%{name}
-install autolog.8 $RPM_BUILD_ROOT%{_mandir}/man8
 install autolog.conf $RPM_BUILD_ROOT%{_sysconfdir}
-install autolog.conf.5 $RPM_BUILD_ROOT%{_mandir}/man5
+install autolog.8.gz $RPM_BUILD_ROOT%{_mandir}/man8
+install autolog.conf.5.gz $RPM_BUILD_ROOT%{_mandir}/man5
+install autolog.init $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/%{name}
 
-gzip -9nf README 
+gzip -9nf README CHANGES 
 
 %post
 if [ ! -f /var/lock/subsys/crond ]; then
@@ -61,8 +61,8 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README.gz
-%attr(700,root,root) %{_sbindir}/autolog
-%attr(700,root,root) /etc/cron.d/autolog
-%attr(600,root,root) %config(noreplace) %{_sysconfdir}/autolog.conf
-%{_mandir}/man8/*
+%doc README.gz CHANGES.gz
+%attr(755,root,root) %{_sbindir}/%{name}
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/autolog.conf
+%attr(754,root,root) %{_sysconfdir}/rc.d/init.d/%{name}
+%{_mandir}/man?/*
This page took 0.051406 seconds and 4 git commands to generate.