跳转到内容

rpm

必要条件

安装要求:

  • Debian/Ubuntu: apt install rpm patchelf
  • Fedora: dnf install gcc rpm-build rpm-devel rpmlint make python bash coreutils diffutils patch rpmdevtools patchelf
  • Arch: yay -S rpmdevtools patchelf or pamac install rpmdevtools patchelf

用法

make_config.yaml 添加到您的项目 linux/packaging/rpm 目录。

yaml
icon: assets/logo.png
summary: A really cool application
group: Application/Emulator
vendor: Kingkor Roy Tirtho
packager: Kingkor Roy Tirtho
packagerEmail: krtirtho@gmail.com
license: GPLv3
url: https://github.com/fastforgedev/fastforge

display_name: Hello World

keywords:
  - Hello
  - World
  - Test
  - Application

generic_name: Cool Application

categories:
  - Cool
  - Awesome

startup_notify: true

运行:

fastforge package --platform linux --targets rpm

相关链接

基于 MIT 许可发布