rpmspec
Query a RPM spec file. More information: <https://manned.org/rpmspec>.
Install
- All systems
-
curl cmd.cat/rpmspec.sh
- Debian
-
apt-get install rpm
- Ubuntu
-
apt-get install rpm
- Alpine
-
apk add rpm
- Kali Linux
-
apt-get install rpm
- CentOS
-
yum install rpm-build
- Fedora
-
dnf install rpm-build
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install rpm
- OS X
-
brew install rpm
- Raspbian
-
apt-get install rpm
- Dockerfile
- dockerfile.run/rpmspec
- Docker
-
docker run cmd.cat/rpmspec rpmspec
powered by Commando
Query a RPM spec file. More information: <https://manned.org/rpmspec>.
-
List binary packages which would be generated from a rpm spec file:
rpmspec --query path/to/rpm.spec
-
List all options for `--queryformat`:
rpmspec --querytags
-
Get summary information for single binary packages generated from a rpm spec file:
rpmspec --query --queryformat "%{name}: %{summary}\n" path/to/rpm.spec
-
Get the source package which would be generated from a rpm spec file:
rpmspec --query --srpm path/to/rpm.spec
-
Parse a rpm spec file to `stdout`:
rpmspec --parse path/to/rpm.spec
© tl;dr; authors and contributors