1 Summary: Colored "tail"
2 Summary(pl): Kolorowy "Tail"
6 Source0: %{name}-%{version}.tar.gz
7 URL: http://www.student.hk-r.se/~pt98jan/colortail.html
10 Group(fr): Utilitaires/Texte
11 Group(pl): Narzêdzia/Tekst
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 %define _sysconfdir /etc
17 Colortail works like tail but can optionally read a color config file.
18 Where it's specified which patterns result in which colors.
21 Colortail dzia³a na podobne zasadzie jak zwyk³y tail, z t± ró¿nic±, ¿e
22 potrafi wy¶wietlaæ kolorowy tekst w zale¿no¶ci od ustwieñ w pliku
30 LDFLAGS="-s"; export LDFLAGS
31 %configure --enable-ext_regex
36 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_sysconfdir}}
40 install colortail $RPM_BUILD_ROOT%{_bindir}
41 install colortail.1 $RPM_BUILD_ROOT%{_mandir}/man1
42 install CONFIG $RPM_BUILD_ROOT%{_sysconfdir}/colortail
44 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
47 rm -rf $RPM_BUILD_ROOT
50 %defattr(644,root,root,755)
51 %doc {ChangeLog,README,TODO}.gz
52 %attr(755,root,root) %{_bindir}/*
54 %config(noreplace) %verify(not mtime size md5) %{_sysconfdir}/*