SPECS: nagios-plugins.spec - build with libnagiosplug.so; rel 2

glen glen at pld-linux.org
Wed Jan 9 22:01:56 CET 2008


Author: glen                         Date: Wed Jan  9 21:01:56 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- build with libnagiosplug.so; rel 2

---- Files affected:
SPECS:
   nagios-plugins.spec (1.81 -> 1.82) 

---- Diffs:

================================================================
Index: SPECS/nagios-plugins.spec
diff -u SPECS/nagios-plugins.spec:1.81 SPECS/nagios-plugins.spec:1.82
--- SPECS/nagios-plugins.spec:1.81	Mon Jan  7 19:21:39 2008
+++ SPECS/nagios-plugins.spec	Wed Jan  9 22:01:51 2008
@@ -3,13 +3,12 @@
 # - package requisites for unifished packages -nsclient and -nwstat
 #   REQUIREMENTS explains the dependencies.
 # - patch6 is not lib64 safe
-# - make shared (private) libs: ../lib/libnagiosplug.a ../gl/libgnu.a
 %include	/usr/lib/rpm/macros.perl
 Summary:	Host/service/network monitoring program plugins for Nagios
 Summary(pl.UTF-8):	Wtyczki do monitorowania hostów/usług/sieci dla Nagiosa
 Name:		nagios-plugins
 Version:	1.4.11
-Release:	1
+Release:	2
 License:	GPL v2
 Group:		Networking
 Source0:	http://dl.sourceforge.net/nagiosplug/%{name}-%{version}.tar.gz
@@ -21,6 +20,7 @@
 Patch4:		%{name}-noroot.patch
 Patch5:		%{name}-check_ping-socket-filter-warning.patch
 Patch6:		%{name}-path.patch
+Patch7:		%{name}-shared.patch
 URL:		http://www.nagiosplugins.org/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -430,6 +430,7 @@
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
+%patch7 -p1
 # bring contribs into shape...
 cd contrib
 mv check_compaq_insight.{pl,msg}
@@ -534,9 +535,14 @@
 install %{SOURCE1} $RPM_BUILD_ROOT%{_pluginlibdir}/utils.php
 chmod a-x $RPM_BUILD_ROOT%{_pluginlibdir}/utils.sh
 
+rm -f $RPM_BUILD_ROOT%{_libdir}/libnagiosplug.{la,a}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post	libs	-p /sbin/ldconfig
+%postun	libs	-p /sbin/ldconfig
+
 %triggerun -- %{name} <= 1.4-0.34
 %banner -e %{name} <<EOF
 Several Nagios plugins have been separated to multiple packages to cut
@@ -601,6 +607,7 @@
 
 %files libs
 %defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libnagiosplug.so.0.0.0
 %attr(755,root,root) %{_pluginarchdir}/negate
 %attr(755,root,root) %{_pluginarchdir}/urlize
 %{_pluginlibdir}/utils.pm
@@ -765,6 +772,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.82  2008-01-09 21:01:51  glen
+- build with libnagiosplug.so; rel 2
+
 Revision 1.81  2008-01-07 18:21:39  glen
 - update to 1.4.11
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/nagios-plugins.spec?r1=1.81&r2=1.82&f=u



More information about the pld-cvs-commit mailing list