[packages/nagios] install-devel not just headers, package also libnagios and lib/*.h
glen
glen at pld-linux.org
Wed Oct 2 00:30:01 CEST 2013
commit 442ef85555840d492b4f557df6c86c54da1bc028
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Oct 2 01:29:29 2013 +0300
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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/nagios.git/commitdiff/442ef85555840d492b4f557df6c86c54da1bc028
More information about the pld-cvs-commit
mailing list