SPECS: btail.spec (NEW) - initial 0.2

piotrek piotrek at pld-linux.org
Wed Feb 6 23:49:29 CET 2008


Author: piotrek                      Date: Wed Feb  6 22:49:29 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial 0.2

---- Files affected:
SPECS:
   btail.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/btail.spec
diff -u /dev/null SPECS/btail.spec:1.1
--- /dev/null	Wed Feb  6 23:49:29 2008
+++ SPECS/btail.spec	Wed Feb  6 23:49:23 2008
@@ -0,0 +1,57 @@
+# $Revision$, $Date$
+Summary:	Bayesian log filter
+Summary(pl.UTF-8):	Filtr beyesiański do logów
+Name:		btail
+Version:	0.2
+Release:	1
+License:	GPL
+Group:		Applications/Text
+Source0:	http://www.vanheusden.com/btail/%{name}-%{version}.tgz
+# Source0-md5:	08f785b77f559b3d4e86fe2dbf4ec752
+URL:		http://www.vanheusden.com/btail/
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Btail monitors a logfile for specific events. To do this it uses a
+bayesian filter to determine what events are worth passing through and
+which should be suppressed. So it filters out all of the routine
+stuff, but passes through anything important or out of the ordinary.
+
+%description -l pl.UTF-8
+Btail monitoruje plik z logami na wypadek niestandardowych wydarzeń.
+Wykorzystuje filtr bayesiański do określenia które wydarzenia są warte
+pokazania, a które należy opuścić. Wszystkie rutynowe komunikaty są
+więc odfiltrowane, natomiast nieregularne i ważne wydarzenia zostają
+przepuszczone przez filtr
+
+%prep
+%setup -q
+sed -i -e  's/ncurses.h/ncurses\/ncurses.h/' error.cpp
+sed -i -e 's/\(\/usr\/local\/bin\)/\$\(DESTDIR\)\/usr\/bin/' Makefile
+
+%build
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc readme.txt
+%attr(755,root,root) %{_bindir}/*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2008-02-06 22:49:23  piotrek
+- initial 0.2
+
================================================================


More information about the pld-cvs-commit mailing list