]> git.pld-linux.org Git - packages/btail.git/blob - btail.spec
- initial 0.2
[packages/btail.git] / btail.spec
1 Summary:        Bayesian log filter
2 Summary(pl.UTF-8):      Filtr beyesiański do logów
3 Name:           btail
4 Version:        0.2
5 Release:        1
6 License:        GPL
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 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
14 Btail monitors a logfile for specific events. To do this it uses a
15 bayesian filter to determine what events are worth passing through and
16 which should be suppressed. So it filters out all of the routine
17 stuff, but passes through anything important or out of the ordinary.
18
19 %description -l pl.UTF-8
20 Btail monitoruje plik z logami na wypadek niestandardowych wydarzeń.
21 Wykorzystuje filtr bayesiański do określenia które wydarzenia są warte
22 pokazania, a które należy opuścić. Wszystkie rutynowe komunikaty są
23 więc odfiltrowane, natomiast nieregularne i ważne wydarzenia zostają
24 przepuszczone przez filtr
25
26 %prep
27 %setup -q
28 sed -i -e  's/ncurses.h/ncurses\/ncurses.h/' error.cpp
29 sed -i -e 's/\(\/usr\/local\/bin\)/\$\(DESTDIR\)\/usr\/bin/' Makefile
30
31 %build
32 %{__make}
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT%{_bindir}
37 %{__make} install \
38         DESTDIR=$RPM_BUILD_ROOT
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %doc readme.txt
46 %attr(755,root,root) %{_bindir}/*
This page took 0.058295 seconds and 4 git commands to generate.