]>
Commit | Line | Data |
---|---|---|
5bef5c48 | 1 | Summary: Colored "tail" |
518aa406 | 2 | Summary(pl.UTF-8): Kolorowy "tail" |
5bef5c48 | 3 | Name: colortail |
b2381d65 | 4 | Version: 0.3.0 |
78fb7f7e | 5 | Release: 6 |
b13ffd95 | 6 | License: GPL |
053da1b4 | 7 | Group: Applications/Text |
991c7d5d | 8 | Source0: http://www.student.hk-r.se/~pt98jan/%{name}-%{version}.tar.gz |
3271f906 | 9 | # Source0-md5: 2589d3e372080f4052d1cc0d6550508f |
4778dacb | 10 | Patch0: %{name}-gcc3.patch |
991c7d5d | 11 | URL: http://www.student.hk-r.se/~pt98jan/colortail.html |
0687753d | 12 | BuildRequires: autoconf |
9b9e16ae | 13 | BuildRequires: automake |
cc2da386 | 14 | BuildRequires: libstdc++-devel |
bd67092b | 15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
5bef5c48 AF |
16 | |
17 | %description | |
b2381d65 | 18 | Colortail works like tail but can optionally read a color config file, |
19 | where it's specified which patterns result in which colors. | |
5bef5c48 | 20 | |
4b801a88 JR |
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 | |
81d2c949 | 24 | konfiguracyjnym. |
5bef5c48 AF |
25 | |
26 | %prep | |
27 | %setup -q | |
4778dacb | 28 | %patch0 -p0 |
b2381d65 | 29 | |
dd2a36e1 | 30 | %build |
31 | rm -f missing | |
32 | %{__aclocal} | |
dda1f449 | 33 | %{__autoconf} |
34 | %{__automake} | |
dd2a36e1 | 35 | %{__autoheader} |
053da1b4 | 36 | CXXFLAGS="%{rpmcflags} -fno-exceptions -fno-rtti" |
14beaf8a | 37 | %configure \ |
38 | --enable-ext_regex | |
dfe615c9 | 39 | %{__make} |
5bef5c48 AF |
40 | |
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
0687753d | 43 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/%{name} |
5bef5c48 | 44 | |
a9944dca PG |
45 | %{__make} install \ |
46 | DESTDIR="$RPM_BUILD_ROOT" | |
5bef5c48 | 47 | |
b2381d65 | 48 | install example-conf/conf.* $RPM_BUILD_ROOT%{_sysconfdir}/%{name} |
5bef5c48 AF |
49 | |
50 | %clean | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %files | |
12d06ed5 | 54 | %defattr(644,root,root,755) |
dd2a36e1 | 55 | %doc ChangeLog README TODO |
12d06ed5 | 56 | %attr(755,root,root) %{_bindir}/* |
78fb7f7e | 57 | %dir %{_sysconfdir}/%{name} |
9b9e16ae | 58 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/* |