summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiwoong Im <jiwoong.im@samsung.com>2015-05-11 19:09:13 +0900
committerJiwoong Im <jiwoong.im@samsung.com>2015-05-11 19:10:37 +0900
commit9a0555bde72a469e8eef1fd225d0ca0d52506477 (patch)
tree9b48a60a266f2f1cac4eaf657d105c08de7e9859
parentb50461629ddb1287f2bd5662dba9a6e2fdf88b5a (diff)
downloadappcore-agent-9a0555bde72a469e8eef1fd225d0ca0d52506477.tar.gz
appcore-agent-9a0555bde72a469e8eef1fd225d0ca0d52506477.tar.bz2
appcore-agent-9a0555bde72a469e8eef1fd225d0ca0d52506477.zip
To fix build break in application from tizen 2.4 Change-Id: I074c83062dfdd5ad175a5645bb981a31c08ff47a Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
-rw-r--r--CMakeLists.txt4
-rw-r--r--capi-appfw-service-application.pc.in13
-rw-r--r--packaging/appcore-agent.spec15
3 files changed, 31 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3816369..dae38e5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -46,6 +46,10 @@ CONFIGURE_FILE(${APPCORE_AGENT}.pc.in ${APPCORE_AGENT}.pc @ONLY)
INSTALL(TARGETS ${APPCORE_AGENT} DESTINATION ${LIB_INSTALL_DIR} COMPONENT RuntimeLibraries)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${APPCORE_AGENT}.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)
+
+CONFIGURE_FILE(capi-appfw-service-application.pc.in capi-appfw-service-application.pc @ONLY)
+INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/capi-appfw-service-application.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)
+
FOREACH(hfile ${HEADERS_agent})
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/include/${hfile} DESTINATION include/appcore-agent)
ENDFOREACH(hfile)
diff --git a/capi-appfw-service-application.pc.in b/capi-appfw-service-application.pc.in
new file mode 100644
index 0000000..78a9888
--- /dev/null
+++ b/capi-appfw-service-application.pc.in
@@ -0,0 +1,13 @@
+# Package Information for pkg-config
+
+prefix=@PREFIX@
+exec_prefix=@EXEC_PREFIX@
+libdir=@LIBDIR@
+includedir=@INCLUDEDIR@
+
+Name: appcore-agent
+Description: SAMSUNG Linux platform application library
+Version: @VERSION@
+Requires: aul dlog capi-appfw-application
+Libs: -L${libdir} -lappcore-agent
+Cflags: -I${includedir} -I${includedir}/appcore-agent
diff --git a/packaging/appcore-agent.spec b/packaging/appcore-agent.spec
index 95a4955..b01b574 100644
--- a/packaging/appcore-agent.spec
+++ b/packaging/appcore-agent.spec
@@ -24,7 +24,14 @@ Summary: Applocation Core Agent
Group: Application Framework/Development
Requires: %{name} = %{version}
%description devel
-%devel_desc
+appcore agent (developement files)
+
+%package -n capi-appfw-service-application-devel
+Summary: service appliation
+Group: Development/Libraries
+Requires: appcore-agent-devel = %{version}-%{release}
+%description -n capi-appfw-service-application-devel
+service application (developement files)
%prep
%setup -q
@@ -55,3 +62,9 @@ cp %{SOURCE1001} .
%{_libdir}/libappcore-agent.so
%{_includedir}/appcore-agent/appcore-agent.h
%{_includedir}/appcore-agent/service_app.h
+
+%files -n capi-appfw-service-application-devel
+%{_libdir}/pkgconfig/capi-appfw-service-application.pc
+%{_libdir}/libappcore-agent.so
+%{_includedir}/appcore-agent/appcore-agent.h
+%{_includedir}/appcore-agent/service_app.h