]> git.pld-linux.org Git - SPECS.git/blob - multitail.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / multitail.spec
1 Summary:        Advanced tail
2 Summary(pl.UTF-8):      Rozbudowany tail
3 Name:           multitail
4 Version:        6.4.2
5 Release:        1
6 License:        GPL
7 Group:          Applications/Text
8 Source0:        http://www.vanheusden.com/multitail/%{name}-%{version}.tgz
9 # Source0-md5:  a0959f7b2385061080712afd8ae6e33d
10 URL:            http://www.vanheusden.com/multitail/
11 BuildRequires:  ncurses-ext-devel
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 multitail lets you view one or multiple files like the original tail
16 program. The difference is that it creates multiple windows on your
17 console (with ncurses). It can also use colors while displaying the
18 logfiles, for faster recognition of which lines are important and
19 which are not. It supports regular expressions. It has interactive
20 menus for editing given regular expressions and deleting and adding
21 windows.
22
23 %description -l pl.UTF-8
24 multitail pozwala oglądać jeden lub więcej plików podobnie jak
25 oryginalny program tail. Różnica jest taka, że tworzy wiele okien na
26 terminalu (z użyciem ncurses). Może także używać kolorów przy
27 wyświetlaniu plików logów w celu szybszego odróżnienia, które linie są
28 ważne, a które nie. Obsługuje wyrażenia regularne. Ma interaktywne
29 menu do edycji podanych wyrażeń regularnych oraz usuwania i dodawania
30 okien.
31
32 %prep
33 %setup -q
34
35 %build
36 %{__make} \
37         CC="%{__cc}" \
38         CFLAGS="-DLinux -DVERSION=\\\"%{version}\\\" -Wall %{rpmcflags} -I/usr/include/ncurses -DCONFIG_FILE=\\\"%{_sysconfdir}/%{name}.conf\\\""
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_bindir},%{_mandir}/man1}
43
44 install multitail $RPM_BUILD_ROOT%{_bindir}
45 install multitail.1 $RPM_BUILD_ROOT%{_mandir}/man1
46 install multitail.conf $RPM_BUILD_ROOT%{_sysconfdir}
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc readme.txt manual.html
54 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
55 %attr(755,root,root) %{_bindir}/*
56 %{_mandir}/man1/*
This page took 0.824658 seconds and 3 git commands to generate.