summaryrefslogtreecommitdiff
path: root/dists
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-03-23 01:41:42 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-03-23 01:41:42 +0000
commitff7d058a52222c841d16497d3beb346c32d05718 (patch)
tree6afd39f8916d23a8d635dbed210314dca12b214a /dists
parent48e07a8c76d0752629fc099f21574dedcba3c397 (diff)
Adding RPM build script
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@994 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'dists')
-rw-r--r--dists/rpm/build.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/dists/rpm/build.sh b/dists/rpm/build.sh
new file mode 100644
index 00000000..2f439871
--- /dev/null
+++ b/dists/rpm/build.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+# One must run the source file build first.
+
+cp ../release/ledger-sm*.tar.gz /usr/src/redhat/SOURCES/
+
+rpmbuild -ba dists/rpm/ledgersmb.spec
+
+mv /usr/src/redhat/RPMS/noarch/ledgersmb* ../release