]> git.uio.no Git - check_openmanage.git/blobdiff - check_openmanage.spec
oppdateringer
[check_openmanage.git] / check_openmanage.spec
index 7b1f4f67d509a16c49734d7f62200e4dd905bcaa..9391c78409d8d32f1fc3b10ee2620cff8c97ca1d 100644 (file)
@@ -1,6 +1,6 @@
-Summary:   Nagios plugin to check hardware health on Dell servers
+Summary:   Nagios plugin to monitor hardware health on Dell servers
 Name:      check_openmanage
-Version:   3.5.0
+Version:   3.5.4
 Release:   1%{?dist}
 License:   GPL
 Packager:  Trond Hasle Amundsen <t.h.amundsen@usit.uio.no>
@@ -8,7 +8,11 @@ Group:     Applications/System
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 URL:       http://folk.uio.no/trondham/software/%{name}.html
 Source0:   http://folk.uio.no/trondham/software/files/%{name}-%{version}.tar.gz
-Requires: perl
+BuildRequires: perl
+
+Requires: perl >= 5.6.0
+Requires: perl(POSIX)
+Requires: perl(Getopt::Long)
 
 %description
 check_openmanage is a plugin for Nagios which checks the hardware
@@ -24,24 +28,42 @@ outside normal parameters.
 %setup -q
 
 %build
-gzip %{name}.3pm
-mkdir -p %{buildroot}/%{_libdir}/nagios/plugins
-mkdir -p %{buildroot}/%{_mandir}/man3
+pod2man -s 8 -r "%{name} %{version}" -c "Nagios plugin" %{name}.pod %{name}.8
+gzip %{name}.8
 
 %install
-install -D -p -m 0755 %{name} %{buildroot}/%{_libdir}/nagios/plugins
-install -m 0644 %{name}.3pm.gz %{buildroot}/%{_mandir}/man3
+mkdir -p %{buildroot}/%{_libdir}/nagios/plugins
+mkdir -p %{buildroot}/%{_mandir}/man8
+install -p -m 0755 %{name} %{buildroot}/%{_libdir}/nagios/plugins
+install -m 0644 %{name}.8.gz %{buildroot}/%{_mandir}/man8
 
 %clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
 
 %files
 %defattr(-, root, root, -)
 %doc README COPYING CHANGES
 %{_libdir}/nagios/plugins/%{name}
-%attr(0755, root, root) %{_mandir}/man3/%{name}.3pm.gz
+%attr(0755, root, root) %{_mandir}/man8/%{name}.8.gz
+
 
 %changelog
+* Wed Jan 13 2010 Trond H. Amundsen <t.h.amundsen@usit.uio.no> - 3.5.4-1
+- Version 3.5.4
+
+* Thu Dec 17 2009 Trond H. Amundsen <t.h.amundsen@usit.uio.no> - 3.5.3-1
+- Version 3.5.3
+
+* Tue Nov 17 2009 Trond H. Amundsen <t.h.amundsen@usit.uio.no> - 3.5.2-1
+- Version 3.5.2
+
+* Thu Oct 22 2009 Trond H. Amundsen <t.h.amundsen@usit.uio.no> - 3.5.1-1
+- Version 3.5.1
+
+* Tue Oct 13 2009 Trond H. Amundsen <t.h.amundsen@usit.uio.no> - 3.5.0-1
+- Version 3.5.0
+- New location for the manual page (section 3 -> 8)
+
 * Fri Aug  7 2009 Trond H. Amundsen <t.h.amundsen@usit.uio.no> - 3.4.9-1
 - Version 3.4.9