# nfpm config for the llmsproxy core gateway binary. # The version placeholder below is substituted by packaging/core-dist.sh (nfpm v2 # here does not honour {{ .Env.VERSION }} template rendering), so do not edit it # by hand. name: llmsproxy arch: amd64 platform: linux version: __VERSION__ epoch: "1" section: net priority: optional maintainer: JianFeeeee description: | Unified OpenAI-compatible multi-source LLM gateway. Routes requests across multiple upstream LLM providers with Lua adapters, model scheduling, quota windows, an elastic Lua worker pool, and a Web UI. vendor: ModelRouter homepage: https://gitcode.com/JianFeeeee/ModelRouter license: MIT contents: # binary - src: ./cmd/build/llmsproxy dst: /usr/bin/llmsproxy file_info: mode: 0755 # systemd unit (memory tuning baked in) - src: ./packaging/llmsproxy.service dst: /etc/systemd/system/llmsproxy.service file_info: mode: 0644 # example config (seeded to /etc/llmsproxy on first install by postinst) - src: ./config.yaml dst: /usr/share/llmsproxy/config.example.yaml file_info: mode: 0644 # built-in Lua adapters (deployed to /etc/llmsproxy/adapters) - src: ./internal/lua/adapters/*.lua dst: /usr/share/llmsproxy/adapters/ file_info: mode: 0644 # README pointer - src: ./README.md dst: /usr/share/doc/llmsproxy/README.md file_info: mode: 0644 scripts: postinstall: ./packaging/postinst.sh preremove: ./packaging/prerm.sh rpm: group: Applications/Internet summary: Unified OpenAI-compatible multi-source LLM gateway compression: gzip deb: compression: gzip fields: Recommends: ca-certificates