https://github.com/ps-gill/rpmtool
A CLI for rpm packages.
https://github.com/ps-gill/rpmtool
fedora rhel rpm
Last synced: 2 months ago
JSON representation
A CLI for rpm packages.
- Host: GitHub
- URL: https://github.com/ps-gill/rpmtool
- Owner: ps-gill
- License: gpl-2.0
- Created: 2024-10-19T04:23:21.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2025-01-12T23:37:42.000Z (5 months ago)
- Last Synced: 2025-02-04T13:38:59.904Z (4 months ago)
- Topics: fedora, rhel, rpm
- Language: Go
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rpmtool
A CLI for rpm packages.
## Building
Install `go`, `gcc`, `ld` and `rpm-devel`.
```sh
dnf install binutils golang gcc rpm-devel
```Build `rpmtool` exectuable by running `go build`.
Also, there is a rpm spec available [here](https://gitlab.com/pgill/rpmtool-rpm).
## Usage
```sh
$ ./rpmtool tools --help
Check if required tools are availableUsage:
rpmtool tools [flags]Flags:
--exclude-signature exclude signature tools
-h, --help help for tools
``````sh
$ rpmtool build --help
Build package from a .spec fileUsage:
rpmtool build [spec] [flags]Flags:
-h, --help help for build
--key string pgp key
--key-id string pgp key Id
--key-passphrase-file string pgp key passphrase
--latest-deps install latest build dependencies
--skip-deps skip build dependencies installation
--srpm build srpm instead of rpm
```Sequoia PGP's [`sq`](https://gitlab.com/sequoia-pgp/sequoia-sq) cli is required for signatures.
## License
See [LICENSE](LICENSE)