Automatic brecsum usage display.
[barry/pauldeden.git] / rpm / make-rpm-tarball.sh
blob6a20d195ccfa5c15101740789a680491fe4b3b0e
1 #!/bin/sh
4 # Builds a source tarball suitable for the application release RPM.
7 DIRNAME="$(grep "^Source:" barry.spec | sed "s/^Source: *//;s/.tar.*$//")"
9 echo "Building tarball for: $DIRNAME"
10 echo "Press ENTER to continue..."
11 read
13 mkdir "$DIRNAME"
15 cp ../tools/bcharge.cc \
16 ../udev/10-blackberry.rules \
17 barry.spec \
18 "$DIRNAME"
20 tar czf "$DIRNAME.tar.gz" "$DIRNAME"