## OUTPUT PATHS
SET(LIBRARY_OUTPUT_PATH ${CMAKE_SOURCE_DIR}/cmake_build_tmp/output)
-ADD_CUSTOM_COMMAND(
- TARGET ${this_target} POST_BUILD
- COMMAND ln -s ./librpc-port.so.${MAJORVER} ${LIBRARY_OUTPUT_PATH}/libcapi-rpc-port.so.${MAJORVER})
CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/${this_target}.pc.in ${CMAKE_SOURCE_DIR}/${this_target}.pc @ONLY)
INSTALL(FILES ${CMAKE_SOURCE_DIR}/${this_target}.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)
-CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/capi-${this_target}.pc.in ${CMAKE_SOURCE_DIR}/capi-${this_target}.pc @ONLY)
-INSTALL(FILES ${CMAKE_SOURCE_DIR}/capi-${this_target}.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)
INSTALL(TARGETS ${this_target} DESTINATION ${LIB_INSTALL_DIR})
+++ /dev/null
-
-# Package Information for pkg-config
-
-prefix=@PREFIX@
-exec_prefix=/usr
-libdir=@LIB_INSTALL_DIR@
-includedir=@INCLUDE_INSTALL_DIR@/rpc-port
-
-Name: capi-rpc-port
-Description: @PACKAGE_DESCRIPTION@
-Version: @VERSION@
-Libs: -L${libdir} -lrpc-port
-Cflags: -I${includedir}
Requires: amd-mod-rpc-port
-Provides: capi-rpc-port
-Provides: libcapi-rpc-port.so.1
-
%description
RPC Port library package.
%files
%manifest %{name}.manifest
%attr(0644,root,root) %{_libdir}/lib%{name}.so.*
-%attr(0644,root,root) %{_libdir}/libcapi-rpc-port.so.*
%license LICENSE.APLv2
%files devel