]> git.pld-linux.org Git - packages/logtool.git/blob - logtool.spec
- caps unification, other cosmetics
[packages/logtool.git] / logtool.spec
1 Summary:        A handy syslog file(s) manipulation/monitoring/parsing tool
2 Summary(pl):    Porêczne narzêdzie do manipulowania/monitorowania/parsowania plików sysloga
3 Name:           logtool
4 Version:        1.1.0
5 Release:        3
6 License:        GPL
7 Group:          Applications/Text
8 Source0:        http://www.xjack.org/logtool/logtool/%{name}-%{version}.tar.gz
9 # Source0-md5:  1c51da0ee599441200c74f761c617139
10 Patch0:         %{name}-ac_fixes.patch
11 URL:            http://www.xjack.org/logtool/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %define         _sysconfdir /etc/logtool
17
18 %description
19 Logtool is a handy little tool for manipulation/monitoring/parsing of
20 syslog (and syslog-like) files. It produces output in ANSI, ASCII,
21 CSV, HTML format, and is easily configured to your needs via the
22 /etc/logtool/* files. It is suitable for use in generating easy to
23 read logfile reports, webpages, and online monitoring of logfiles.
24
25 %description -l pl
26 Logtool jest porêcznym narzêdziem do obrabiania/monitorowania/
27 parsowania plików sysloga i podobnych. Mo¿e produkowaæ wyniki w
28 postaci ANSI, ASCII, CSV, HTML; jest ³atwo konfigurowalny do potrzeb
29 poprzez pliki /etc/logtool/*. Nadaje siê do generowania ³atwych do
30 czytania raportów, stron WWW oraz monitorowania logów on-line.
31
32 %prep
33 %setup -q
34 %patch0 -p1
35
36 %build
37 rm -f missing
38 %{__aclocal}
39 %{__autoconf}
40 %configure
41 %{__make}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir},%{_mandir}/man1}
46
47 install conf/{include,exclude,logtool.conf,green,yellow} \
48         $RPM_BUILD_ROOT%{_sysconfdir}
49 install logtool/logtool logtail/logtail $RPM_BUILD_ROOT%{_bindir}
50
51 ln -sf logtool $RPM_BUILD_ROOT%{_bindir}/lt
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc README TODO CHANGES USAGE CREDITS doc/logtool.txt doc/examples
59 %attr(750,root,root) %dir %{_sysconfdir}
60 %config(noreplace) %verify(not size md5 mtime) %{_sysconfdir}/*
61 %attr(755,root,root) %{_bindir}/*
This page took 0.061901 seconds and 3 git commands to generate.