]> git.pld-linux.org Git - packages/btail.git/blame - btail.spec
- release 3 (rebuild with gdbm 1.15)
[packages/btail.git] / btail.spec
CommitLineData
5fff997b 1Summary: Bayesian log filter
6ee0374b 2Summary(pl.UTF-8): Filtr beyesowski do logów
5fff997b 3Name: btail
4Version: 0.2
6ee0374b
JB
5Release: 3
6License: GPL v2 with OpenSSL linking exception
5fff997b 7Group: Applications/Text
6ee0374b 8Source0: https://www.vanheusden.com/btail/%{name}-%{version}.tgz
5fff997b 9# Source0-md5: 08f785b77f559b3d4e86fe2dbf4ec752
6ee0374b 10URL: https://www.vanheusden.com/btail/
0a6ea0d6 11BuildRequires: gdbm-devel
12BuildRequires: libstdc++-devel
6ee0374b 13BuildRequires: sed >= 4.0
5fff997b 14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
17Btail monitors a logfile for specific events. To do this it uses a
18bayesian filter to determine what events are worth passing through and
19which should be suppressed. So it filters out all of the routine
20stuff, but passes through anything important or out of the ordinary.
21
22%description -l pl.UTF-8
23Btail monitoruje plik z logami na wypadek niestandardowych wydarzeń.
6ee0374b
JB
24Wykorzystuje filtr bayesowski do określenia które wydarzenia są warte
25pokazania, a które należy opuścić. Wszystkie rutynowe komunikaty są
26więc odfiltrowane, natomiast nieregularne i ważne wydarzenia zostają
27przepuszczone przez filtr.
5fff997b 28
29%prep
30%setup -q
6ee0374b
JB
31
32%{__sed} -i -e 's,ncurses.h,ncurses/ncurses.h,' error.cpp
33%{__sed} -i -e 's,\(/usr/local/bin\),$(DESTDIR)/usr/bin,' Makefile
5fff997b 34
35%build
0a6ea0d6 36%{__make} \
37 CXXFLAGS="%{rpmcxxflags}" \
38 CFLAGS="%{rpmcflags}"
5fff997b 39
40%install
41rm -rf $RPM_BUILD_ROOT
42install -d $RPM_BUILD_ROOT%{_bindir}
6ee0374b 43
5fff997b 44%{__make} install \
45 DESTDIR=$RPM_BUILD_ROOT
46
47%clean
48rm -rf $RPM_BUILD_ROOT
49
50%files
51%defattr(644,root,root,755)
6ee0374b
JB
52%doc license.txt readme.txt
53%attr(755,root,root) %{_bindir}/blearn
54%attr(755,root,root) %{_bindir}/btail
This page took 0.08028 seconds and 4 git commands to generate.