Blob Blame History Raw
Summary: The fetchlog utility displays the last new messages of a logfile
Name: fetchlog
Version: 1.0
Release: 2%{?dist}
License: GPL
Url: http://sourceforge.net/projects/%{name}/
Source: http://dl.sf.net/sourceforge/fetchlog/%{name}-%{version}.tar.gz
Group: Applications/System
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

%description
The fetchlog utility displays the last new messages of a logfile. It is
similar like tail (1) but offers some extra functionality for output
formatting. To show only the new messages appeared since the last call
fetchlog uses a bookmark to remember which messages have been fetched.

%prep
%setup -q 

%build
make %{?_smp_mflags}

%install
rm -rf %{buildroot}
install -d %{buildroot}/%{_bindir}
install -d %{buildroot}/%{_mandir}/man1
install -m755 %{name} %{buildroot}/%{_bindir}
install -m644 %{name}.1 %{buildroot}/%{_mandir}/man1

%clean
rm -rf %{buildroot}

%files 
%defattr(-,root,root)
%{_bindir}/%{name}
%doc CHANGES LICENSE README README.Nagios README.SNMP
%{_mandir}/*/*

%changelog
* Mon Jan 17 2006 Paul Wouters <paul@xelerance.com> 1.0-2
- Fixed install target for man page and cleaning before install

* Mon Jan 16 2006 Paul Wouters <paul@xelerance.com> 1.0-1
- Initial version for Fedora Extras