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