From 9a0555bde72a469e8eef1fd225d0ca0d52506477 Mon Sep 17 00:00:00 2001 From: Jiwoong Im Date: Mon, 11 May 2015 19:09:13 +0900 Subject: add capi-appfw-service-application.pc file To fix build break in application from tizen 2.4 Change-Id: I074c83062dfdd5ad175a5645bb981a31c08ff47a Signed-off-by: Jiwoong Im --- CMakeLists.txt | 4 ++++ capi-appfw-service-application.pc.in | 13 +++++++++++++ packaging/appcore-agent.spec | 15 ++++++++++++++- 3 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 capi-appfw-service-application.pc.in 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 -- cgit v1.2.3