]> git.pld-linux.org Git - packages/colortail.git/blob - colortail.spec
- adapterized and made spec %%debug ready or added using %%rpm*flags macros
[packages/colortail.git] / colortail.spec
1 Summary:        Colored "tail"
2 Summary(pl):    Kolorowy "tail"
3 Name:           colortail
4 Version:        0.3.0
5 Release:        1
6 Source0:        %{name}-%{version}.tar.gz
7 URL:            http://www.student.hk-r.se/~pt98jan/colortail.html
8 Copyright:      GNU
9 Group:          Applications/Text
10 Group(de):      Applikationen/Text
11 Group(fr):      Utilitaires/Texte
12 Group(pl):      Aplikacje/Tekst
13 BuildRequires:  automake
14 BuildRequires:  autoconf
15 BuildRequires:  libstdc++-devel
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %define         _sysconfdir     /etc
19
20 %description
21 Colortail works like tail but can optionally read a color config file,
22 where it's specified which patterns result in which colors.
23
24 %description -l pl
25 Colortail dzia³a na podobne zasadzie jak zwyk³y tail, z t± ró¿nic±, ¿e
26 potrafi wy¶wietlaæ kolorowy tekst w zale¿no¶ci od ustwieñ w pliku
27 konfiguracyjnym.
28
29 %prep
30 %setup -q
31 %build
32
33 aclocal
34 autoconf
35 automake -a -c
36 autoheader
37 CXXFLAGS="%{rpmcflags} -fno-exceptions -fno-rtti"
38 %configure \
39         --enable-ext_regex
40 %{__make}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
45
46 %{__make} install DESTDIR="$RPM_BUILD_ROOT"
47
48 install example-conf/conf.* $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
49
50 gzip -9nf ChangeLog README TODO
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc *.gz
58 %attr(755,root,root) %{_bindir}/*
59 %config(noreplace) %verify(not mtime size md5)  %{_sysconfdir}/%{name}/*
This page took 0.124532 seconds and 3 git commands to generate.