add capi-appfw-service-application.pc file 83/39183/1 tizen_3.0.2015.q2_common accepted/tizen/common/20150520.133236 accepted/tizen/common/20150520.133323 accepted/tizen/mobile/20150521.005911 accepted/tizen/tv/20150521.005314 accepted/tizen/wearable/20150521.005615 submit/tizen/20150512.054616 submit/tizen_common/20150520.075535
authorJiwoong Im <jiwoong.im@samsung.com>
Mon, 11 May 2015 10:09:13 +0000 (19:09 +0900)
committerJiwoong Im <jiwoong.im@samsung.com>
Mon, 11 May 2015 10:10:37 +0000 (19:10 +0900)
To fix build break in application from tizen 2.4

Change-Id: I074c83062dfdd5ad175a5645bb981a31c08ff47a
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
CMakeLists.txt
capi-appfw-service-application.pc.in [new file with mode: 0644]
packaging/appcore-agent.spec

index 3816369..dae38e5 100644 (file)
@@ -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 (file)
index 0000000..78a9888
--- /dev/null
@@ -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
index 95a4955..b01b574 100644 (file)
@@ -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