From 442ef85555840d492b4f557df6c86c54da1bc028 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Wed, 2 Oct 2013 01:29:29 +0300 Subject: [PATCH] install-devel not just headers, package also libnagios and lib/*.h --- nagios.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/nagios.spec b/nagios.spec index dca2dfe..f00d8b0 100644 --- a/nagios.spec +++ b/nagios.spec @@ -214,8 +214,10 @@ Group: Development/Libraries # doesn't require base %description devel -This package provides include files that Nagios-related applications -may compile against. +This package contains the header files, static libraries and +development documentation for Nagios. If you are a NEB-module author +or wish to write addons for Nagios using Nagios' own API's, you should +install this package. %description devel -l pl.UTF-8 Ten pakiet dostarcza pliki nagłówkowe, które mogą być wykorzystywane @@ -325,7 +327,7 @@ install -d $RPM_BUILD_ROOT{/etc/{sysconfig,rc.d/init.d},%{_webapps}/%{_webapp}} $RPM_BUILD_ROOT%{_prefix}/lib/%{name}/{eventhandlers,plugins} \ %endif -%{__make} install-unstripped install-headers \ +%{__make} install-unstripped install-devel \ DESTDIR=$RPM_BUILD_ROOT \ INSTALL_OPTS="" \ INIT_OPTS="" \ @@ -570,3 +572,5 @@ done %defattr(644,root,root,755) %dir %{_includedir}/%{name} %{_includedir}/%{name}/*.h +%{_includedir}/%{name}/lib +%{_libdir}/libnagios.a -- 2.44.0