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