1 Summary: Colored "tail"
2 Summary(pl): Kolorowy "Tail"
6 Source: %{name}-%{version}.tar.gz
7 URL: http://www.student.hk-r.se/~pt98jan/colortail.html
9 Group: System/utilities
10 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12 %define _sysconfdir /etc
15 Colortail works like tail but can optionally read a color config file. Where
16 it's specified which patterns result in which colors.
19 Colortail dzia³a na podobne zasadzie jak zwyk³y tail, z t± ró¿nic±, ¿e potrafi
20 wy¶wietlaæ kolorowy tekst w zale¿no¶ci od ustwieñ w pliku konfiguracyjnym.
27 LDFLAGS="-s"; export LDFLAGS
28 %configure --enable-ext_regex
33 rm -rf $RPM_BUILD_ROOT
35 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_sysconfdir}}
37 install colortail $RPM_BUILD_ROOT%{_bindir}
38 install colortail.1 $RPM_BUILD_ROOT%{_mandir}/man1
39 install CONFIG $RPM_BUILD_ROOT%{_sysconfdir}/colortail
41 gzip -9f $RPM_BUILD_ROOT%{_mandir}/man1/* \
44 rm -rf $RPM_BUILD_ROOT
47 %defattr(644,root,root,755)
48 %doc {ChangeLog,README,TODO}.gz
49 %attr(755,root,root) %{_bindir}/*
51 %config(noreplace) %verify(not mtime size md5) %{_sysconfdir}/*