1 Summary: Bayesian log filter
2 Summary(pl.UTF-8): Filtr beyesiański do logów
7 Group: Applications/Text
8 Source0: http://www.vanheusden.com/btail/%{name}-%{version}.tgz
9 # Source0-md5: 08f785b77f559b3d4e86fe2dbf4ec752
10 URL: http://www.vanheusden.com/btail/
11 BuildRequires: gdbm-devel
12 BuildRequires: libstdc++-devel
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 Btail monitors a logfile for specific events. To do this it uses a
17 bayesian filter to determine what events are worth passing through and
18 which should be suppressed. So it filters out all of the routine
19 stuff, but passes through anything important or out of the ordinary.
21 %description -l pl.UTF-8
22 Btail monitoruje plik z logami na wypadek niestandardowych wydarzeń.
23 Wykorzystuje filtr bayesiański do określenia które wydarzenia są
24 warte pokazania, a które należy opuścić. Wszystkie rutynowe
25 komunikaty są więc odfiltrowane, natomiast nieregularne i ważne
26 wydarzenia zostają przepuszczone przez filtr
30 sed -i -e 's/ncurses.h/ncurses\/ncurses.h/' error.cpp
31 sed -i -e 's/\(\/usr\/local\/bin\)/\$\(DESTDIR\)\/usr\/bin/' Makefile
35 CXXFLAGS="%{rpmcxxflags}" \
39 rm -rf $RPM_BUILD_ROOT
40 install -d $RPM_BUILD_ROOT%{_bindir}
42 DESTDIR=$RPM_BUILD_ROOT
45 rm -rf $RPM_BUILD_ROOT
48 %defattr(644,root,root,755)
50 %attr(755,root,root) %{_bindir}/*