aboutsummaryrefslogtreecommitdiff
path: root/nx-libs.spec
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2013-12-06 15:06:42 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2013-12-06 15:06:42 +0100
commite3da34510db9158362be60887bf354cb6a0bfe26 (patch)
tree4caca1f1cd64e0eb48cae270adc077a5b0743ed2 /nx-libs.spec
parent21cde6e426e4d5ba575035c57f493ee336eb18be (diff)
downloadnx-libs-e3da34510db9158362be60887bf354cb6a0bfe26.tar.gz
nx-libs-e3da34510db9158362be60887bf354cb6a0bfe26.tar.bz2
nx-libs-e3da34510db9158362be60887bf354cb6a0bfe26.zip
prep source tree after unpacking tarball, bring files from debian/ folder in place before building the RPM package
Diffstat (limited to 'nx-libs.spec')
-rw-r--r--nx-libs.spec10
1 files changed, 10 insertions, 0 deletions
diff --git a/nx-libs.spec b/nx-libs.spec
index e28e77344..86a345937 100644
--- a/nx-libs.spec
+++ b/nx-libs.spec
@@ -480,6 +480,16 @@ information on NX.
%prep
%setup -q
+# copy files from the debian/ folder to designated places in the source tree,
+# taken from roll-tarball.sh:
+mkdir bin/
+cp -v debian/wrappers/* bin/
+mkdir etc/
+cp -v debian/keystrokes.cfg etc/keystrokes.cfg
+cp -v debian/Makefile.nx-libs Makefile
+cp -v debian/Makefile.replace.sh replace.sh
+cp -v debian/rgb rgb
+cp -v debian/VERSION.x2goagent VERSION.x2goagent
# Install into /usr
sed -i -e 's,/usr/local,/usr,' nx-X11/config/cf/site.def
# Use rpm optflags