]> git.pld-linux.org Git - packages/cacti-plugin-npc.git/blobdiff - cacti-plugin-npc.spec
- BR: pkgconfig
[packages/cacti-plugin-npc.git] / cacti-plugin-npc.spec
index 2469d9040612aa503e1175aac7ed7997b2e62f8d..a78d203fd7595ba7103ff5b131f97e1a0534a9ef 100644 (file)
@@ -17,8 +17,10 @@ Patch0:              %{name}-path_headers.patch
 # 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: pkgconfig
 BuildRequires: rpm-perlprov
 Requires:      cacti >= 0.8.6h
 Requires:      nagios >= 2.1
@@ -41,7 +43,8 @@ zintegrowany z Cacti.
 %patch1 -p1
 
 %build
-%{__make} -C neb
+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
This page took 0.082235 seconds and 4 git commands to generate.