Skip to content
This repository has been archived by the owner on Oct 3, 2020. It is now read-only.

Commit

Permalink
Merge pull request #91 from AppImage/fix_rpm_dependencies
Browse files Browse the repository at this point in the history
Fix rpm dependencies on Centos and Fedora
  • Loading branch information
azubieta authored May 31, 2019
2 parents 23a3b00 + 8550881 commit 8f26d64
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion cmake/cpack_rpms.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,27 @@ else()
set(CPACK_RPM_PACKAGE_RELEASE "${CPACK_RPM_PACKAGE_RELEASE}~local")
endif()

# Exclude well known paths or file crash will be reported at the moment of installing
set(
CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION
/usr/share/icons
/usr/share/icons/hicolor
/usr/share/icons/hicolor/scalable
/usr/share/icons/hicolor/scalable/apps
/usr/share/applications
/usr/share/metainfo
/usr/lib/systemd
/usr/lib/systemd/user
)

set(CPACK_PACKAGE_DESCRIPTION_FILE "${PROJECT_SOURCE_DIR}/README.md")
set(CPACK_RESOURCE_FILE_LICENSE "${PROJECT_SOURCE_DIR}/LICENSE")

set(CPACK_RPM_PACKAGE_NAME "appimaged")
set(CPACK_RPM_PACKAGE_SUMMARY
"Optional AppImage daemon for desktop integration. Integrates AppImages into the desktop, e.g., installs icons and menu entries.")

set(CPACK_RPM_PACKAGE_REQUIRES "libarchive13, libc6 >= 2.4, libglib2.0-0, zlib1g, fuse")
set(CPACK_RPM_PACKAGE_REQUIRES "libarchive, glib2, fuse")

set(CPACK_COMPONENTS_ALL appimaged)
set(CPACK_RPM_COMPONENT_INSTALL ON)

0 comments on commit 8f26d64

Please sign in to comment.