148cfd63c7
36 commits since v6.1.4 (2026-07-04). User-facing: - UI: olive-green for unconfirmed/immature stakes - Wallet: close-hang on Windows from detached Tor/I2P threads fixed - Consensus: live PoS checks during stale-tip IBD Maintainer-visible: - CHANGELOG.md added at the repo root - doc/release-process.md corrected to match the actual signing keys (RSA-4096 Krystie release key + Sami personal tag-signing key)
29 lines
1.1 KiB
Bash
29 lines
1.1 KiB
Bash
#!/bin/bash
|
|
# Build RPM package for Cryptographic Triangles
|
|
# Run on a Fedora/RHEL/openSUSE system with rpmbuild installed
|
|
# Install build tools: sudo dnf install rpm-build rpmdevtools
|
|
set -e
|
|
|
|
VERSION="6.1.5"
|
|
RELEASE_URL="https://github.com/SamiAhmed7777/triangles_v5/releases/download/v${VERSION}"
|
|
|
|
echo "Building RPM for Triangles v${VERSION}..."
|
|
|
|
# Set up rpmbuild directory structure
|
|
rpmdev-setuptree
|
|
|
|
# Download sources into SOURCES
|
|
echo "Downloading binaries..."
|
|
curl -L -o ~/rpmbuild/SOURCES/Cryptographic-Triangles-v${VERSION}-linux-x64-qt "${RELEASE_URL}/Cryptographic-Triangles-v${VERSION}-linux-x64-qt"
|
|
curl -L -o ~/rpmbuild/SOURCES/Cryptographic-Triangles-v${VERSION}-linux-x64-daemon "${RELEASE_URL}/Cryptographic-Triangles-v${VERSION}-linux-x64-daemon"
|
|
cp triangles-qt.desktop ~/rpmbuild/SOURCES/
|
|
|
|
# Copy spec file
|
|
cp triangles.spec ~/rpmbuild/SPECS/
|
|
|
|
# Build the RPM (binary only, no source compilation needed)
|
|
rpmbuild -bb ~/rpmbuild/SPECS/triangles.spec
|
|
|
|
echo "RPM built in ~/rpmbuild/RPMS/x86_64/"
|
|
echo "Install with: sudo dnf install ~/rpmbuild/RPMS/x86_64/triangles-${VERSION}-1.*.x86_64.rpm"
|