Adding missing header files 35/31435/2
authorJosé Bollo <jose.bollo@open.eurogiciel.org>
Thu, 4 Dec 2014 15:06:06 +0000 (16:06 +0100)
committerJosé Bollo <jose.bollo@open.eurogiciel.org>
Thu, 4 Dec 2014 16:10:43 +0000 (17:10 +0100)
Change-Id: Iba7bfc9eb9bf54c24a3a492a5d0851d2cbfb4b6b
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
packaging/vconf-buxton.spec
src/CMakeLists.txt
src/vconf-buxton.pc.in
src/vconf-keys.h [new file with mode: 0644]
src/vconf.h [new file with mode: 0644]

index efadc59..e611274 100644 (file)
@@ -64,6 +64,7 @@ ln -sf ../%{libname}-setup.service %{buildroot}%{_unitdir}/basic.target.wants/
 
 %post
 /sbin/ldconfig
+vconf-buxton-init-from-vconf.sh
 
 %postun
 /sbin/ldconfig
@@ -81,11 +82,13 @@ ln -sf ../%{libname}-setup.service %{buildroot}%{_unitdir}/basic.target.wants/
 
 %files devel
 %manifest %{name}.manifest
+%{_includedir}/vconf/vconf.h
 %{_includedir}/vconf/vconf-buxton.h
 %{_libdir}/pkgconfig/%{libname}.pc
 %{_libdir}/lib%{libname}.so
 
 %files keys-devel
 %manifest %{name}.manifest
+%{_includedir}/vconf/vconf-keys.h
 %{_includedir}/vconf/vconf-buxton-keys.h
 
index 8e2701f..d5c141c 100644 (file)
@@ -34,4 +34,6 @@ INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${LIBNAME}.pc DESTINATION ${LIB_INSTAL
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/src/vconf-buxton.h DESTINATION include/vconf)
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/src/vconf-buxton-keys.h DESTINATION include/vconf)
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/src/vconf-buxton-setup.service DESTINATION ${SYSTEMDDIR})
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/src/vconf.h DESTINATION include/vconf)
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/src/vconf-keys.h DESTINATION include/vconf)
 
index b107382..dc2e310 100644 (file)
@@ -6,5 +6,5 @@ includedir=@INCLUDEDIR@
 Name: vconf-buxton
 Description: configuration system library
 Version: @VERSION@
-Libs: -L${libdir} -lvconf-buxton -lpthread
+Libs: -L${libdir} -l@LIBNAME@ -lpthread
 Cflags: -I${includedir}
diff --git a/src/vconf-keys.h b/src/vconf-keys.h
new file mode 100644 (file)
index 0000000..e6fd766
--- /dev/null
@@ -0,0 +1,2 @@
+#include "vconf-buxton-keys.h"
+
diff --git a/src/vconf.h b/src/vconf.h
new file mode 100644 (file)
index 0000000..cbf80d4
--- /dev/null
@@ -0,0 +1 @@
+#include "vconf-buxton.h"