e29984e
Summary: Utility to display new messages of a logfile since last run
f930177
Name: fetchlog
Paul Wouters d2c817d
Version: 1.4
Paul Wouters d2c817d
Release: 1%{?dist}
7c06bf0
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
Paul Wouters d2c817d
Patch1: fetchlog-unusedvar.patch
Paul Wouters d2c817d
Patch2: fetchlog-1.4-write.patch
Paul Wouters d2c817d
Patch3: fetchlog-1.4-tests.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
Paul Wouters d2c817d
%patch1 -p1
Paul Wouters d2c817d
%patch2 -p0
Paul Wouters d2c817d
%patch3 -p1
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
Paul Wouters d2c817d
* Wed Jul 04 2012 Paul Wouters <pwouters@redhat.com> - 1.4-1
Paul Wouters d2c817d
- Updated to 1.4
Paul Wouters d2c817d
d7d78b1
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-3
d7d78b1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
d7d78b1
46f6132
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-2
46f6132
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
46f6132
29824f3
* Wed Feb 11 2009 Paul Wouters <paul@xelerance.com> - 1.2-1
e29984e
- Updated to new upstream
e29984e
e29984e
* Mon Nov 24 2008 Paul Wouters <paul@xelerance.com> - 1.0-11
b0514c5
- Updates summary as per Richard Hughes guidelines
b0514c5
7c06bf0
* Fri Jul 18 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0-10
7c06bf0
- fix license tag
7c06bf0
cd8ca52
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0-9
cd8ca52
- Autorebuild for GCC 4.3
cd8ca52
b0514c5
* Thu Sep  7 2006 Paul Wouters <paul@xelerance.com> - 1.0-8
5056850
- Rebuild requested for PT_GNU_HASH support from gcc
5056850
b0514c5
* Mon Mar  3 2006 Paul Wouters <paul@xelerance.com> - 1.0-7
0873822
- Bump version. this time cause of old .cvsignore
0873822
b0514c5
* Mon Mar  3 2006 Paul Wouters <paul@xelerance.com> - 1.0-6
d5188fb
- Bump version again :(
d5188fb
b0514c5
* Mon Mar  3 2006 Paul Wouters <paul@xelerance.com> - 1.0-5
5d8de93
- Bump version for build system
5d8de93
b0514c5
* Mon Feb  6 2006 Paul Wouters <paul@xelerance.com> - 1.0-4
9bbed70
- Bump version due to make tag error
9bbed70
b0514c5
* 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
b0514c5
* Mon Jan 17 2006 Paul Wouters <paul@xelerance.com> - 1.0-2
f930177
- Fixed install target for man page and cleaning before install
f930177
b0514c5
* Mon Jan 16 2006 Paul Wouters <paul@xelerance.com> - 1.0-1
f930177
- Initial version for Fedora Extras