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