]> git.pld-linux.org Git - packages/colortail.git/blob - colortail.spec
- dropped pre-cvs changelog
[packages/colortail.git] / colortail.spec
1 Summary:        Colored "tail"
2 Summary(pl.UTF-8):      Kolorowy "tail"
3 Name:           colortail
4 Version:        0.3.0
5 Release:        6
6 License:        GPL
7 Group:          Applications/Text
8 Source0:        http://www.student.hk-r.se/~pt98jan/%{name}-%{version}.tar.gz
9 # Source0-md5:  2589d3e372080f4052d1cc0d6550508f
10 Patch0:         %{name}-gcc3.patch
11 URL:            http://www.student.hk-r.se/~pt98jan/colortail.html
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  libstdc++-devel
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 Colortail works like tail but can optionally read a color config file,
19 where it's specified which patterns result in which colors.
20
21 %description -l pl.UTF-8
22 Colortail działa na podobne zasadzie jak zwykły tail, z tą różnicą, że
23 potrafi wyświetlać kolorowy tekst w zależności od ustawień w pliku
24 konfiguracyjnym.
25
26 %prep
27 %setup -q
28 %patch0 -p0
29
30 %build
31 rm -f missing
32 %{__aclocal}
33 %{__autoconf}
34 %{__automake}
35 %{__autoheader}
36 CXXFLAGS="%{rpmcflags} -fno-exceptions -fno-rtti"
37 %configure \
38         --enable-ext_regex
39 %{__make}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
44
45 %{__make} install \
46         DESTDIR="$RPM_BUILD_ROOT"
47
48 install example-conf/conf.* $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55 %doc ChangeLog README TODO
56 %attr(755,root,root) %{_bindir}/*
57 %dir %{_sysconfdir}/%{name}
58 %config(noreplace) %verify(not md5 mtime size)  %{_sysconfdir}/%{name}/*
This page took 0.064068 seconds and 3 git commands to generate.