]> git.pld-linux.org Git - packages/colortail.git/blob - colortail.spec
- spec adapterized.
[packages/colortail.git] / colortail.spec
1 Summary:        Colored "tail"
2 Summary(pl):    Kolorowy "Tail"
3 Name:           colortail
4 Version:        0.2.0
5 Release:        2
6 Source0:        %{name}-%{version}.tar.gz
7 URL:            http://www.student.hk-r.se/~pt98jan/colortail.html
8 Copyright:      GNU
9 Group:          Utilities/Text
10 Group(fr):      Utilitaires/Texte
11 Group(pl):      Narzêdzia/Tekst
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %define         _sysconfdir     /etc
15
16 %description
17 Colortail works like tail but can optionally read a color config file.
18 Where it's specified which patterns result in which colors.
19
20 %description -l pl
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
23 konfiguracyjnym.
24
25 %prep
26 %setup -q
27
28 %build
29
30 LDFLAGS="-s"; export LDFLAGS
31 %configure --enable-ext_regex
32
33 make
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37
38 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_sysconfdir}}
39
40 install colortail       $RPM_BUILD_ROOT%{_bindir}
41 install colortail.1     $RPM_BUILD_ROOT%{_mandir}/man1
42 install CONFIG          $RPM_BUILD_ROOT%{_sysconfdir}/colortail
43
44 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
45         ChangeLog README TODO
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc {ChangeLog,README,TODO}.gz
52 %attr(755,root,root) %{_bindir}/*
53 %{_mandir}/man1/*
54 %config(noreplace) %verify(not mtime size md5)  %{_sysconfdir}/*
This page took 0.052101 seconds and 3 git commands to generate.