Summary: The fetchlog utility displays the last new messages of a logfile
Name: fetchlog
Version: 1.0
Release: 6%{?dist}
License: GPL
Url: http://sourceforge.net/projects/%{name}/
Source: http://dl.sf.net/sourceforge/fetchlog/%{name}-%{version}.tar.gz
Patch0: %{name}-build.patch
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
%patch0
%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
%check
make test
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%{_bindir}/%{name}
%doc CHANGES LICENSE README README.Nagios README.SNMP
%{_mandir}/*/*
%changelog
* Mon Mar 3 2006 Paul Wouters <paul@xelerance.com> 1.0-6
- Bump version again :(
* Mon Mar 3 2006 Paul Wouters <paul@xelerance.com> 1.0-5
- Bump version for build system
* Mon Feb 6 2006 Paul Wouters <paul@xelerance.com> 1.0-4
- Bump version due to make tag error
* Mon Feb 6 2006 Paul Wouters <paul@xelerance.com> 1.0-3
- Fixes by Ville Skyttä to honour $RPM_OPT_FLAGS and run make test
* 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