]>
Commit | Line | Data |
---|---|---|
572cef96 | 1 | Summary: A handy syslog file(s) manipulation/monitoring/parsing tool |
7ee42ef6 | 2 | Summary(pl.UTF-8): Poręczne narzędzie do manipulowania/monitorowania/parsowania plików sysloga |
572cef96 | 3 | Name: logtool |
20708dcf | 4 | Version: 1.3.1 |
b38fb913 | 5 | Release: 2 |
a23dc096 | 6 | License: GPL |
572cef96 | 7 | Group: Applications/Text |
58d286bd | 8 | Source0: http://www.xjack.org/logtool/logtool/%{name}-%{version}.tar.gz |
20708dcf | 9 | # Source0-md5: 7da0564dc0fea4f0470d61168871f9c2 |
58d286bd | 10 | URL: http://www.xjack.org/logtool/ |
11 | BuildRequires: autoconf | |
12 | BuildRequires: automake | |
f39fafd8 | 13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
572cef96 | 14 | |
15 | %define _sysconfdir /etc/logtool | |
6c6079f7 AF |
16 | |
17 | %description | |
572cef96 | 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. | |
6c6079f7 | 23 | |
1807e083 JR |
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. | |
54f0dd47 | 30 | |
6c6079f7 | 31 | %prep |
91f9f2be | 32 | %setup -q |
c6cdb0b6 | 33 | sed -i 's/-o root //' src/Makefile.in |
a23dc096 | 34 | |
6c6079f7 | 35 | %build |
c6cdb0b6 | 36 | #rm -f missing |
37 | #%{__aclocal} | |
9b3f9905 | 38 | %{__autoconf} |
58d286bd | 39 | %configure |
c6cdb0b6 | 40 | %{__make} \ |
41 | CC="%{__cc}" \ | |
42 | CFLAGS="%{rpmcflags}" | |
6c6079f7 AF |
43 | |
44 | %install | |
572cef96 | 45 | rm -rf $RPM_BUILD_ROOT |
6c6079f7 | 46 | |
c6cdb0b6 | 47 | %{__make} install \ |
48 | DESTDIR=$RPM_BUILD_ROOT | |
a23dc096 | 49 | |
6c6079f7 | 50 | %clean |
6c6079f7 AF |
51 | rm -rf $RPM_BUILD_ROOT |
52 | ||
6c6079f7 | 53 | %files |
572cef96 | 54 | %defattr(644,root,root,755) |
c6cdb0b6 | 55 | %doc COPYING TODO INSTALL CHANGES USAGE CREDITS doc/* scripts/* |
572cef96 | 56 | %attr(750,root,root) %dir %{_sysconfdir} |
377165d6 | 57 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/* |
572cef96 | 58 | %attr(755,root,root) %{_bindir}/* |
c6cdb0b6 | 59 | %{_mandir}/man1/* |