- provided makefile is pointless, compile here and add glib includepath
- however build fails with nagios3
Changed files:
cacti-plugin-npc.spec -> 1.17
# from http://forums.cacti.net/about10327-0-asc-135.html
Patch1: %{name}-extinfo.patch
URL: http://forums.cacti.net/about10327.html
# from http://forums.cacti.net/about10327-0-asc-135.html
Patch1: %{name}-extinfo.patch
URL: http://forums.cacti.net/about10327.html
+BuildRequires: glib2-devel
BuildRequires: mysql-devel >= 4.1.0
BuildRequires: nagios-devel >= 2.1
BuildRequires: rpm-perlprov
BuildRequires: mysql-devel >= 4.1.0
BuildRequires: nagios-devel >= 2.1
BuildRequires: rpm-perlprov
+cd neb
+%{__cc} %{rpmcflags} -Wall -o inserter.o inserter.c -shared -I../include $(pkg-config glib-2.0 --cflags) $(mysql_config --cflags --libs) -fPIC
%install
rm -rf $RPM_BUILD_ROOT
%install
rm -rf $RPM_BUILD_ROOT