diff options
-rw-r--r-- | packaging/privacy-manager.spec | 4 | ||||
-rw-r--r-- | server/CMakeLists.txt | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/packaging/privacy-manager.spec b/packaging/privacy-manager.spec index 0b1a1ad..6381710 100644 --- a/packaging/privacy-manager.spec +++ b/packaging/privacy-manager.spec @@ -126,9 +126,9 @@ fi %defattr(-,root,root,-) %license LICENSE.APLv2 %manifest privacy-manager-server.manifest -%{_bindir}/* -%{_prefix}/lib/systemd/* +%{_libdir}/libprivacy-manager-server.so* /opt/dbspace/.privacylist.db +/usr/bin/* %files -n privacy-manager-server-devel %{_includedir}/privacy_manager/server/privacy_manager_daemon.h diff --git a/server/CMakeLists.txt b/server/CMakeLists.txt index 259ddbf..e8e9676 100644 --- a/server/CMakeLists.txt +++ b/server/CMakeLists.txt @@ -81,10 +81,10 @@ SET_TARGET_PROPERTIES(privacy-manager-server PROPERTIES VERSION ${VERSION}) SET(PC_NAME privacy-manager-server) SET(PC_DESCRIPTION "Privacy Manager Server API") SET(PC_LDFLAGS -lprivacy-manager-server) -SET(PC_CFLAGS -I\${includedir}/privacy_manager) +SET(PC_CFLAGS "-I\${includedir}/privacy_manager -I\${includedir}/privacy_manager/server") CONFIGURE_FILE(../privacy-manager-server.pc.in privacy-manager-server.pc @ONLY) -INSTALL(TARGETS privacy-manager-server DESTINATION bin COMPONENT RuntimeLibraries) +INSTALL(TARGETS privacy-manager-server DESTINATION ${LIB_INSTALL_DIR} COMPONENT RuntimeLibraries) INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/privacy-manager-server.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig) INSTALL(FILES ${PRIVACY_MANAGER_SERVER_HEADERS} DESTINATION ${INCLUDE_INSTALL_DIR}/privacy_manager/server) |