From c4f92f5371801cee485cb08e50eadaa5855bd42f Mon Sep 17 00:00:00 2001 From: Biosias Date: Tue, 28 Jul 2026 16:45:20 +0200 Subject: [PATCH] Update Readme --- README.md | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 6ff4480..356f17f 100644 --- a/README.md +++ b/README.md @@ -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 ```