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