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
10 Group(pl): Narzêdzia/Tekst
11 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13 %define _sysconfdir /etc
16 Colortail works like tail but can optionally read a color config file. Where
17 it's specified which patterns result in which colors.
20 Colortail dzia³a na podobne zasadzie jak zwyk³y tail, z t± ró¿nic±, ¿e potrafi
21 wy¶wietlaæ kolorowy tekst w zale¿no¶ci od ustwieñ w pliku konfiguracyjnym.
28 LDFLAGS="-s"; export LDFLAGS
29 %configure --enable-ext_regex
34 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_sysconfdir}}
38 install colortail $RPM_BUILD_ROOT%{_bindir}
39 install colortail.1 $RPM_BUILD_ROOT%{_mandir}/man1
40 install CONFIG $RPM_BUILD_ROOT%{_sysconfdir}/colortail
42 gzip -9f $RPM_BUILD_ROOT%{_mandir}/man1/* \
45 rm -rf $RPM_BUILD_ROOT
48 %defattr(644,root,root,755)
49 %doc {ChangeLog,README,TODO}.gz
50 %attr(755,root,root) %{_bindir}/*
52 %config(noreplace) %verify(not mtime size md5) %{_sysconfdir}/*