File pre_checkin.sh of Package kdebindings4

#!/bin/bash
# This script is called automatically during autobuild checkin.


cp kdebindings4.changes python-kde4.changes
cp kdebindings4.changes ruby-kde4.changes
cp kdebindings4.changes mono-kde4.changes
cp kdebindings4.changes perl-kde4.changes

BUILDREQUIRES_BASE="bash okular-devel python"
BUILDREQUIRES_PYTHON="python-devel python python-sip-devel python-qt4-devel okular-devel"
BUILDREQUIRES_RUBY="ruby-devel python okular-devel"
BUILDREQUIRES_MONO="mono-devel monodoc okular-devel"
BUILDREQUIRES_PERL="perl monodoc okular-devel libkdevplatform-devel"

sed -e "s,@NAME@,kdebindings4,; s,@BUILDREQUIRES@,$BUILDREQUIRES_BASE,; s,is_base 0,is_base 1," kdebindings4.spec.in > kdebindings4.spec
sed -e "s,@NAME@,python-kde4,; s,@BUILDREQUIRES@,$BUILDREQUIRES_PYTHON,; s,is_python 0,is_python 1," kdebindings4.spec.in > python-kde4.spec
sed -e "s,@NAME@,ruby-kde4,; s,@BUILDREQUIRES@,$BUILDREQUIRES_RUBY,; s,is_ruby 0,is_ruby 1," kdebindings4.spec.in > ruby-kde4.spec
sed -e "s,@NAME@,mono-kde4,; s,@BUILDREQUIRES@,$BUILDREQUIRES_MONO,; s,is_mono 0,is_mono 1," kdebindings4.spec.in > mono-kde4.spec
sed -e "s,@NAME@,perl-kde4,; s,@BUILDREQUIRES@,$BUILDREQUIRES_PERL,; s,is_perl 0,is_perl 1," kdebindings4.spec.in > perl-kde4.spec
openSUSE Build Service is sponsored by