|
@@ -1,14 +1,15 @@
|
|
|
Summary: A log file analysis program
|
|
|
Summary(ja): ログファイル分析プログラム
|
|
|
Name: logwatch
|
|
|
-Version: 7.4.3.git20160622
|
|
|
+Version: 7.5.1
|
|
|
Release: 1%{?_dist_release}
|
|
|
License: MIT
|
|
|
Group: Applications/System
|
|
|
URL: http://www.logwatch.org/
|
|
|
|
|
|
Source: ftp://ftp.kaybee.org/pub/linux/logwatch-%{version}.tar.gz
|
|
|
-Patch0: logwatch-dovecot.patch
|
|
|
+Patch0: 0001-Add-match-for-minor-change-in-Dovecot-2.3.3.patch
|
|
|
+Patch1: 0001-for-LMTP-based-sieve-on-dovecot-2.3.6.patch
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
BuildArchitectures: noarch
|
|
@@ -31,8 +32,9 @@ Logwatch はカスタマイズやプラグイン拡張ができるログ監視
|
|
|
動作します。
|
|
|
|
|
|
%prep
|
|
|
-%setup -q -n logwatch
|
|
|
+%setup -q
|
|
|
%patch0 -p1
|
|
|
+%patch1 -p1
|
|
|
|
|
|
%build
|
|
|
|
|
@@ -72,6 +74,12 @@ install -m 0644 conf/html/* %{buildroot}%{_datadir}/logwatch/default.conf/html
|
|
|
|
|
|
install -m 0644 lib/Logwatch.pm %{buildroot}%{_datadir}/logwatch/lib/Logwatch.pm
|
|
|
|
|
|
+
|
|
|
+install -m 0755 -d %{buildroot}%{_mandir}/man5
|
|
|
+install -m 0644 ignore.conf.5 %{buildroot}%{_mandir}/man5
|
|
|
+install -m 0644 override.conf.5 %{buildroot}%{_mandir}/man5
|
|
|
+install -m 0644 logwatch.conf.5 %{buildroot}%{_mandir}/man5
|
|
|
+
|
|
|
install -m 0755 -d %{buildroot}%{_mandir}/man8
|
|
|
install -m 0644 logwatch.8 %{buildroot}%{_mandir}/man8
|
|
|
|
|
@@ -151,9 +159,14 @@ rm -rf %{buildroot}
|
|
|
%{_datadir}/logwatch/default.conf/logfiles/*.conf
|
|
|
%{_datadir}/logwatch/default.conf/html/*.html
|
|
|
%{_sysconfdir}/cron.daily/0logwatch
|
|
|
-%doc %{_mandir}/man8/logwatch.8*
|
|
|
+%doc %{_mandir}/man*/*
|
|
|
|
|
|
%changelog
|
|
|
+* Wed May 08 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 7.5.1-1
|
|
|
+- new upstream release.
|
|
|
+- updated Patch0.
|
|
|
+- added Patch1.
|
|
|
+
|
|
|
* Wed Jun 22 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 7.4.3.git20160622-1
|
|
|
- updated to newest git master.
|
|
|
- replaced Patch0 for newest dovecot.
|