33ca99f
Summary: Utility to display new messages of a logfile since last run
f930177
Name: fetchlog
33ca99f
Version: 1.2
33ca99f
Release: 1%{?dist}
33ca99f
License: GPLv2+
f930177
Url: http://sourceforge.net/projects/%{name}/
f930177
Source: http://dl.sf.net/sourceforge/fetchlog/%{name}-%{version}.tar.gz
e9fd1af
Patch0: %{name}-build.patch
f930177
Group: Applications/System
f930177
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
f930177
f930177
%description
f930177
The fetchlog utility displays the last new messages of a logfile. It is
f930177
similar like tail (1) but offers some extra functionality for output
f930177
formatting. To show only the new messages appeared since the last call
f930177
fetchlog uses a bookmark to remember which messages have been fetched.
f930177
f930177
%prep
f930177
%setup -q 
e9fd1af
%patch0
f930177
f930177
%build
f930177
make %{?_smp_mflags}
f930177
f930177
%install
f930177
rm -rf %{buildroot}
f930177
install -d %{buildroot}/%{_bindir}
f930177
install -d %{buildroot}/%{_mandir}/man1
f930177
install -m755 %{name} %{buildroot}/%{_bindir}
f930177
install -m644 %{name}.1 %{buildroot}/%{_mandir}/man1
f930177
e9fd1af
%check
e9fd1af
make test
e9fd1af
f930177
%clean
f930177
rm -rf %{buildroot}
f930177
f930177
%files 
f930177
%defattr(-,root,root)
f930177
%{_bindir}/%{name}
f930177
%doc CHANGES LICENSE README README.Nagios README.SNMP
f930177
%{_mandir}/*/*
f930177
f930177
%changelog
33ca99f
* Wed Feb 11 2009 Paul Wouters <paul@xelerance.com> - 1.2-1
33ca99f
- Updated to new upstream
33ca99f
5056850
* Thu Sep  7 2006 Paul Wouters <paul@xelerance.com> 1.0-8
5056850
- Rebuild requested for PT_GNU_HASH support from gcc
5056850
0873822
* Mon Mar  3 2006 Paul Wouters <paul@xelerance.com> 1.0-7
0873822
- Bump version. this time cause of old .cvsignore
0873822
d5188fb
* Mon Mar  3 2006 Paul Wouters <paul@xelerance.com> 1.0-6
d5188fb
- Bump version again :(
d5188fb
528853b
* Mon Mar  3 2006 Paul Wouters <paul@xelerance.com> 1.0-5
5d8de93
- Bump version for build system
5d8de93
528853b
* Mon Feb  6 2006 Paul Wouters <paul@xelerance.com> 1.0-4
9bbed70
- Bump version due to make tag error
9bbed70
9bbed70
* Mon Feb  6 2006 Paul Wouters <paul@xelerance.com> 1.0-3
e9fd1af
- Fixes by Ville Skyttä to honour $RPM_OPT_FLAGS and run make test
e9fd1af
f930177
* Mon Jan 17 2006 Paul Wouters <paul@xelerance.com> 1.0-2
f930177
- Fixed install target for man page and cleaning before install
f930177
f930177
* Mon Jan 16 2006 Paul Wouters <paul@xelerance.com> 1.0-1
f930177
- Initial version for Fedora Extras