9f7edf2
Name:		multitail
0f29799
Version:	6.4.2
0f29799
Release:	1%{?dist}
9f7edf2
Summary:	View one or multiple files like tail but with multiple windows
7cc2464
9f7edf2
Group:		Applications/Text
05927e1
# License GPLv2 specified in readme.txt
05927e1
License:	GPLv2
9f7edf2
URL:		http://www.vanheusden.com/multitail/
9f7edf2
Source:		http://www.vanheusden.com/multitail/multitail-%{version}.tgz
05927e1
Patch0:		Unversioned-doc-dir.patch
05927e1
BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
9f7edf2
9f7edf2
BuildRequires:	ncurses-devel
8329073
# For unversioned doc dir
8329073
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
8329073
909213b
%description
909213b
MultiTail lets you view one or multiple files like the original tail
909213b
program. The difference is that it creates multiple windows on your
909213b
console (with ncurses). It can also monitor wildcards: if another file
909213b
matching the wildcard has a more recent modification date, it will
909213b
automatically switch to that file. That way you can, for example,
909213b
monitor a complete directory of files. Merging of 2 or even more
2e5e930
logfiles is possible.
909213b
It can also use colors while displaying the logfiles (through regular
909213b
expressions), for faster recognition of what is important and what not.
909213b
Multitail can also filter lines (again with regular expressions) and
909213b
has interactive menus for editing given regular expressions and
909213b
deleting and adding windows. One can also have windows with the output
909213b
of shell scripts and other software. When viewing the output of 
909213b
external software, MultiTail can mimic the functionality of tools like
909213b
'watch' and such.
909213b
909213b
%prep
78fe41c
%setup -q -n multitail-%{version}
05927e1
%patch0 -p1
7cc2464
909213b
%build
451f3f7
CFLAGS="%{optflags}" make %{?_smp_mflags}
909213b
78fe41c
# Fix up doc encoding
0f29799
for f in readme.txt; do
451f3f7
    iconv -f ISO88592 -t UTF8 < $f > $f.utf8 && \
451f3f7
    touch -r $f $f.utf8 && \
451f3f7
    mv $f.utf8 $f
451f3f7
done
78fe41c
78fe41c
# Fix up examples permissions
0f29799
chmod 644 conversion-scripts/colors-example.*
0f29799
chmod 644 conversion-scripts/convert-*.pl
7cc2464
909213b
%install
9f7edf2
rm -rf %{buildroot}
05927e1
# Create necessary directories
05927e1
mkdir -p %{buildroot}/%{_pkgdocdir} %{buildroot}%{_bindir} %{buildroot}%{_mandir}/man1 %{buildroot}%{_sysconfdir} %{buildroot}%{_pkgdocdir}
05927e1
make DESTDIR=%{buildroot} DOCDIR=%{buildroot}%{_pkgdocdir} install
909213b
78fe41c
# move the configuration in the right place
05927e1
mv %{buildroot}%{_sysconfdir}/multitail.conf{.new,}
e82bb15
78fe41c
# remove the examples (installed as docs)
78fe41c
rm %{buildroot}%{_sysconfdir}/multitail/colors-example.*
7cc2464
05927e1
%clean
05927e1
rm -rf %{buildroot}
909213b
909213b
%files
05927e1
%defattr(-,root,root,-)
0f29799
%doc manual*.html license.txt readme.txt conversion-scripts/colors-example.*
909213b
%config(noreplace) %{_sysconfdir}/multitail.conf
451f3f7
%{_sysconfdir}/multitail/
909213b
%{_bindir}/multitail
e82bb15
%{_mandir}/man1/multitail.1*
909213b
909213b
%changelog
0f29799
* Wed Dec 23 2015 Jon Stanley <jonstanley@gmail.com> - 6.4.2-1
0f29799
- Update to 6.4.2
0f29799
7493910
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.2.1-4
7493910
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
7493910
34b7de9
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.2.1-3
34b7de9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
34b7de9
0a07c4e
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.2.1-2
0a07c4e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
0a07c4e
05927e1
* Tue Feb 18 2014 Susi Lehtola <jussilehtola@fedoraproject.org> - 6.2.1-1
05927e1
- Update to 6.2.1 (BZ #1064754).
05927e1
- Update license tag from GPL+ to GPLv2.
05927e1
- Revert "cleaning up" made in previous release to not break EPEL branches.
8329073
8329073
* Mon Dec 16 2013 Kashyap Chamarthy <kashyapc@fedoraproject.org> - 6.0-1
8329073
- New upstream release 6.0
8329073
  Resolves: rhbz:1035637
8329073
- Add a patch to use unversioned doc dirs. Ref: http://fedoraproject.org/wiki/Changes/UnversionedDocdirs
8329073
- Remove BuildRoot tag.
05927e1
- Remove %%clean section and remove the %%defattr section from %%files
8329073
  section.
8329073
451f3f7
* Fri Jul 26 2013 Susi Lehtola <jussilehtola@fedoraproject.org> - 5.2.13-1
451f3f7
- Keep the conversion scripts in %%{_sysconfdir}, as they may be
451f3f7
  called by the configuration (see multitail.conf).
451f3f7
- Update to 5.2.13.
451f3f7
- Fixed license tag.
451f3f7
fafa298
* Tue Feb 26 2013 Fabio M. Di Nitto <fdinitto@redhat.com> - 5.2.12-1
fafa298
- New upstream release
fafa298
  Resolves: rhbz#915221
fafa298
cde68ca
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2.8-4
cde68ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
cde68ca
4b79325
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2.8-3
4b79325
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
4b79325
f4b6d64
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2.8-2
f4b6d64
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
f4b6d64
451f3f7
* Thu Jun 2 2011 Kashyap Chamarthy <kashyapc@fedoraproject.org> - 5.2.8-1
fd7f2c8
- New upstream release 5.2.8
fd7f2c8
5f6b9ff
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2.6-2
5f6b9ff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
5f6b9ff
9f7edf2
* Mon May 10 2010 Fabio M. Di Nitto <fdinitto@redhat.com> - 5.2.6-1
9f7edf2
- New upstream release
9f7edf2
  Resolves: rhbz#550857
9f7edf2
- Update spec file:
9f7edf2
  * Fix licence tag again
9f7edf2
  * Cleanup whitespaces
9f7edf2
  * Cleanup macros
9f7edf2
78bd938
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2.2-4
78bd938
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
78bd938
d1d77d3
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2.2-3
d1d77d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
d1d77d3
124f36f
* Mon Aug 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 5.2.2-2
124f36f
- fix license tag
124f36f
78fe41c
* Tue Jul  8 2008 Fabio M. Di Nitto <fdinitto@redhat.com> - 5.2.2-1
78fe41c
- New upstream release
78fe41c
- Fix licence tag
78fe41c
- Fix documentation encoding to UTF8
78fe41c
- Install some examples in doc dir
78fe41c
54a1596
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 4.2.0-3
54a1596
- Autorebuild for GCC 4.3
54a1596
261b1c0
* Mon Oct  2 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 4.2.0-2
261b1c0
- Rebuild (https://www.redhat.com/archives/fedora-maintainers/2006-October/msg00005.html).
261b1c0
f392686
* Mon Sep 18 2006 Folkert van Heuesden <folkert@vanheusden.com> - 4.2.0-1
f392686
- Updated to release 4.2.0.
f392686
3ee8985
* Wed Jun 28 2006 Folkert van Heuesden <folkert@vanheusden.com> - 4.0.6-1
3ee8985
- Updated to release 4.0.6.
3ee8985
7cc2464
* Tue Jun  6 2006 Folkert van Heuesden <folkert@vanheusden.com> - 4.0.5-1
7cc2464
- Updated to release 4.0.5.
7cc2464
2e5e930
* Wed May 24 2006 Folkert van Heuesden <folkert@vanheusden.com> - 4.0.4-1
2e5e930
- Updated to release 4.0.4.
2e5e930
ebc7117
* Wed Apr 19 2006 Folkert van Heuesden <folkert@vanheusden.com> - 4.0.3-1
ebc7117
- Updated to release 4.0.3.
ebc7117
e82bb15
* Wed Apr 12 2006 Folkert van Heuesden <folkert@vanheusden.com> - 4.0.0-1
e82bb15
- Updated to release 4.0.0.
e82bb15
b7e1b51
* Thu Mar 30 2006 Folkert van Heuesden <folkert@vanheusden.com> - 3.8.10-1
b7e1b51
- Updated to release 3.8.10.
b7e1b51
07eb83c
* Tue Mar 14 2006 Folkert van Heuesden <folkert@vanheusden.com> - 3.8.9-1
07eb83c
- Updated to release 3.8.9.
07eb83c
909213b
* Thu Feb 23 2006 Udo van den Heuvel <udovdh@xs4all.nl> - 3.8.7-3
909213b
- Small changes as suggested in #182122.
909213b
- Updated to release 3.8.7-3.
909213b
909213b
* Thu Feb 23 2006 Udo van den Heuvel <udovdh@xs4all.nl> - 3.8.7-2
909213b
- Small changes as suggested in #182122.
909213b
- Updated to release 3.8.7-2.
909213b
909213b
* Thu Feb 23 2006 Udo van den Heuvel <udovdh@xs4all.nl> - 3.8.7-1
909213b
- Updated to release 3.8.7-1.
909213b
909213b
* Thu Feb 23 2006 Udo van den Heuvel <udovdh@xs4all.nl> - 3.8.7
909213b
- Updated to release 3.8.7.
909213b
909213b
* Sat Feb 18 2006 Udo van den Heuvel <udovdh@xs4all.nl> - 3.8.6
909213b
- Imported Dries' SPEC file
909213b
- Updated to release 3.8.6.
909213b
909213b
* Mon Jan 30 2006 Dries Verachtert <dries@ulyssis.org> - 3.8.5-1 - 4025/dries
909213b
- Updated to release 3.8.5.