Sophie

Sophie

distrib > Mandriva > 2011.0 > i586 > by-pkgid > b1390e77b30fc3fcb8c2bb94aa596521 > files > 1

cwtmp-3.4-1.src.rpm

Name:		cwtmp
Version:	3.4
Release:	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)

%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

%build
%make CFLAGS="%{optflags}" LIBS="%{ldflags}"

%install
install -m755 %{name} -D %{buildroot}%{_sbindir}/%{name}
install -m644 %{name}.8 -D %{buildroot}%{_mandir}/man8/%{name}.8

%files 
%{_sbindir}/%{name}
%{_mandir}/man8/%{name}.8*


%changelog
* Sat May 07 2011 Per Øyvind Karlsen <peroyvind@mandriva.org> 3.4-1
+ Revision: 671769
- '-n %%{name}-%%{version}' is default, so ditch it as being redundant
- build with %%optflags & %%ldflags
- cleanups
- imported package cwtmp


* Sat May 07 2011 Johnny A. Solbu <solbu@mandriva.org> 3.4.1mdv2010.0
- Spec cleanup

* Mon Oct 25 2010 Johnny A. Solbu <johnny@solbu.net> 3.4-1mdv
- Initial RPM release