53f003aef1
- qt: TRI home → https://cryptographic-triangles.org/ (UI + 65 locales) - qt: block explorer → https://blocks.cryptographic-triangles.org (65 locales) - net: networking hardening + checkpoint publisher support - build: MinGW cross-compilation toolchain, CI tridock rebuild trigger - test: checkpoint publisher + onion v3 test updates - test: chaindb equivalence test suite (LevelDB↔RocksDB migration parity) - util: expose ResetDataDirCache() for test fixture datadir switching - txdb: WriteRawPublic/ReadRawPublic test seam for raw byte-level access - version bump 5.9.23 → 5.9.24
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="5.9.24"
|
|
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"
|