Debian Codegraph @

Packaging/redhat/generate-spec.sh

raw symbols SCIP
1 #!/bin/bashscip-shell filesystem . . `/bin/bash`.
2 # Generates FontForge.spec to be used with rpmbuild and the dist archive
3
4 set -e
5
6 BASE="$(cd "$(dirnamescip-shell system . . dirname. "${BASH_SOURCE[0]}")" && pwdscip-shell system . . pwd.)"
7 VERSION=$(grepscip-shell system . . grep. -m1 project.*VERSION "$BASE/../../CMakeLists.txt" | sedscip-shell system . . sed. 's/.*VERSION \([0-9]*\).*/\1/g')
8
9 catscip-shell system . . cat. "$BASE/FontForge.spec.in" | sedscip-shell system . . sed. "s/@PROJECT_VERSION@/$VERSION/g" > FontForge.spec