Summary: Mails anomalies in the system logfiles to the administrator
Summary(pl.UTF-8): Wysyłanie anomalii w logach systemowych pocztą do administratora
Name: logcheck
-Version: 1.2.56
-Release: 0.1
+Version: 1.3.1
+Release: 1
License: GPL
Group: Applications/System
Source0: http://ftp.debian.org/debian/pool/main/l/logcheck/%{name}_%{version}.tar.gz
-# Source0-md5: 8fb0066cd0f984622dd47fae55201603
+# Source0-md5: 1b000602ef86eebc30a60340484d79d7
Patch0: %{name}-pld.patch
Patch1: %{name}-command_correct.patch
Source1: %{name}.cron
Summary: Print log file lines that have not been read
Summary(pl.UTF-8): Wypisywanie nieprzeczytanych linii pliku loga
Group: Applications/System
+Obsoletes: retail
%description -n logtail
This program will read in a standard text file and create an offset
przeczytane.
%prep
-%setup -q
+%setup -q -n %{name}
%patch0 -p1
%patch1 -p1
install %{SOURCE1} $RPM_BUILD_ROOT/etc/cron.d/%{name}
mv $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}}/logtail
+mv $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}}/logtail2
cat <<'EOF'> $RPM_BUILD_ROOT%{_sysconfdir}/header.txt
This email is sent by logcheck. If you wish to no-longer receive it,
%files -n logtail
%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/logtail
+%attr(755,root,root) %{_bindir}/logtail*
+%{_datadir}/logtail