INSTALL(TARGETS ${LIBNAME} DESTINATION ${LIB_INSTALL_DIR})
INSTALL(FILES ${CMAKE_BINARY_DIR}/${PROJECT_NAME}.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)
INSTALL(FILES ${CMAKE_SOURCE_DIR}/include/ail.h DESTINATION include)
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/src/ail_vconf.h DESTINATION include)
CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/desktop.conf.in ${CMAKE_SOURCE_DIR}/desktop.conf)
INSTALL(FILES ${CMAKE_SOURCE_DIR}/desktop.conf DESTINATION share/install-info)
%description devel
Application Information Library Development files package
+%package vconf-devel
+Summary: Application Information Library Development files
+Requires: libail = %{version}-%{release}
+
+%description vconf-devel
+Application Information Library Development files package
+This developement file purpose concerns the issue TC-2399
+https://bugs.tizen.org/jira/browse/TC-2399
+
+
%prep
%setup -q
cp %{SOURCE1001} .
%{_includedir}/ail.h
%{_libdir}/libail.so
%{_libdir}/pkgconfig/ail.pc
+
+%files vconf-devel
+%{_includedir}/ail_vconf.h
#include <vconf.h>
#include "ail_vconf.h"
+#include "ail_private.h"
#define VCONFTOOL "/usr/bin/vconftool"
#define CMD_VCONF_GET_STR VCONFTOOL " -q get '%s'"
/*
vconf_get_str with fallback to the command vconftool.
*/
-char *ail_vconf_get_str(const char *keyname)
+EXPORT_API char *ail_vconf_get_str(const char *keyname)
{
char *result;
char *data;
/*
vconf_set_str with fallback to the command vconftool.
*/
-int ail_vconf_set_str(const char *keyname, const char *strval)
+EXPORT_API int ail_vconf_set_str(const char *keyname, const char *strval)
{
int result;
char *data;