Created
November 27, 2014 08:24
-
-
Save snickerjp/cfbab5df3ce772741aff to your computer and use it in GitHub Desktop.
Nagios 4.0.8 RPM spec-file for Japanese Nagiosにももーいさんの日本語パッチをあてて、ビルドするためのspecファイル差分です!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- nagios.spec 2014-11-27 16:37:07.815889883 +0900 | |
+++ nagios-ja.spec 2014-11-27 17:23:04.996888679 +0900 | |
@@ -22,13 +22,16 @@ | |
Summary: Open Source host, service and network monitoring program | |
Name: nagios | |
Version: 4.0.8 | |
-Release: 2%{?dist} | |
+Release: 2%{?dist}.ja | |
License: GPL | |
Group: Applications/System | |
URL: http://www.nagios.org/ | |
Packager: Daniel Wittenberg <[email protected]> | |
Vendor: Nagios Enterprises (http://www.nagios.org) | |
Source0: http://dl.sf.net/nagios/nagios-%{version}.tar.gz | |
+# ja Patch | |
+Patch15: http://ftp.momo-i.org/pub/other/nagios-jp-%{version}.patch.gz | |
+ | |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root | |
BuildRequires: gd-devel > 1.8 | |
BuildRequires: zlib-devel | |
@@ -73,6 +76,7 @@ | |
%prep | |
%setup | |
+%patch15 -p1 -b .ja_patch | |
# /usr/local/nagios is hardcoded in many places | |
%{__perl} -pi.orig -e 's|/usr/local/nagios/var/rw|%{_localstatedir}/nagios/rw|g;' contrib/eventhandlers/submit_check_result | |
@@ -235,6 +239,9 @@ | |
%attr(0755,root,root) %{_libdir}/nagios/plugins/eventhandlers/ | |
%changelog | |
+* Thu Nov 27 2014 snicker_jp - 4.0.8-2.ja | |
+- Japanese Patch | |
+ | |
* Fri Nov 15 2013 Eric Stanley <[email protected]> 4.0.1-1 | |
- Corrected permissions on plugins directory (bug #494 - patch by Karsten Weiss) | |
- Corrected doc directive (bug #494 - patch by Karsten Weiss) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment