]> git.pld-linux.org Git - packages/logtool.git/blob - logtool.spec
- release 2 (by relup.sh)
[packages/logtool.git] / logtool.spec
1 Summary:        A handy syslog file(s) manipulation/monitoring/parsing tool
2 Summary(pl.UTF-8):      Poręczne narzędzie do manipulowania/monitorowania/parsowania plików sysloga
3 Name:           logtool
4 Version:        1.3.1
5 Release:        2
6 License:        GPL
7 Group:          Applications/Text
8 Source0:        http://www.xjack.org/logtool/logtool/%{name}-%{version}.tar.gz
9 # Source0-md5:  7da0564dc0fea4f0470d61168871f9c2
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.UTF-8
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 sed -i 's/-o root //'  src/Makefile.in
34
35 %build
36 #rm -f missing
37 #%{__aclocal}
38 %{__autoconf}
39 %configure
40 %{__make} \
41         CC="%{__cc}" \
42         CFLAGS="%{rpmcflags}"
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46
47 %{__make} install \
48         DESTDIR=$RPM_BUILD_ROOT
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55 %doc COPYING TODO INSTALL CHANGES USAGE CREDITS doc/* scripts/*
56 %attr(750,root,root) %dir %{_sysconfdir}
57 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
58 %attr(755,root,root) %{_bindir}/*
59 %{_mandir}/man1/*
This page took 0.046739 seconds and 3 git commands to generate.