Update Readme

This commit is contained in:
2026-07-28 16:45:20 +02:00
parent a1d29c218c
commit c4f92f5371
+10 -11
View File
@@ -15,34 +15,33 @@ double-checking.
```bash
sudo dnf install rpm-build rpmdevtools
rpmdev-setuptree
cp satdump.spec ~/rpmbuild/SPECS/
# rpmbuild doesn't fetch Source URLs itself - spectool does that, pulling
# down the main tarball plus the two patched sol2 header files (see below)
cd ~/rpmbuild/SOURCES
spectool -g ~/rpmbuild/SPECS/satdump.spec
cd ~/SOURCES
spectool -g ~/SPECS/satdump.spec
sudo dnf builddep ~/rpmbuild/SPECS/satdump.spec
rpmbuild -ba ~/rpmbuild/SPECS/satdump.spec
sudo dnf builddep ~/SPECS/satdump.spec
rpmbuild -ba ~/SPECS/satdump.spec
```
Resulting packages land in `~/rpmbuild/RPMS/x86_64/`. Optional features can
Resulting packages land in `~/RPMS/x86_64/`. Optional features can
be trimmed at build time:
```bash
# headless build, e.g. for a relay/server box
rpmbuild -ba ~/rpmbuild/SPECS/satdump.spec --without gui --without live
rpmbuild -ba ~/SPECS/satdump.spec --without gui --without live
# bladeRF support (off by default - see below)
rpmbuild -ba ~/rpmbuild/SPECS/satdump.spec --with bladerf
rpmbuild -ba ~/SPECS/satdump.spec --with bladerf
```
If you only changed something in `%files` or later and don't need a full
recompile, `--short-circuit` skips straight past `%prep`/`%build` using
what's already in `~/rpmbuild/BUILD/`:
what's already in `~/BUILD/`:
```bash
rpmbuild -bb --short-circuit ~/rpmbuild/SPECS/satdump.spec
rpmbuild -bb --short-circuit ~/SPECS/satdump.spec
```
## Why the spec patches two things before building
@@ -152,7 +151,7 @@ block the whole build.
## Sanity-check after install
```bash
sudo dnf install ~/rpmbuild/RPMS/x86_64/satdump-1.2.2-1.fc44.x86_64.rpm
sudo dnf install ~/RPMS/x86_64/satdump-1.2.2-1.fc44.x86_64.rpm
satdump --help
satdump-ui # if built with GUI support
```