Name: cwtmp Version: 3.4 Release: %mkrel 1 URL: http://www.armory.com/~spcecdt/ Source0: ftp://ftp.armory.com/pub/source/%{name}.tar.gz License: GPLv2 Group: Text tools Summary: Clean up utmp & wtmp files (discard entries; fix corruption) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot %description cwtmp compresses a wtmp file by discarding the uninteresting utmp entries that make up a large fraction of the typical wtmp file. If no filename is given, /etc/wtmp is read. utmp entries in the file are written to the output, except entries of type LOGIN_PROCESS, INIT_PROCESS, and EMPTY, which are skipped. %prep %setup -q -c -n %{name}-%{version} %build make %install rm -rf %{buildroot} mkdir -p %{buildroot}/%{_sbindir} mkdir -p %{buildroot}/%{_mandir}/man8 install -p -m 0755 %{name} %{buildroot}/%{_sbindir} install -p -m 0755 %{name}.8 %{buildroot}/%{_mandir}/man8 %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %{_sbindir}/%{name} %{_mandir}/man8/%{name}.8* %changelog * Mon Oct 25 2010 Johnny A. Solbu 3.4-1mdv - Initial RPM release