LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File hugin-svn-dummy of Package hugin (Project graphics)

#!/bin/bash

# This is a dummy SVN command, which allows to build the package without network access.
case "$*" in
    "info $RPM_BUILD_DIR/hugin" )
	cat <<EOF
Path: .
URL: https://hugin.svn.sourceforge.net/svnroot/hugin/hugin/trunk
Repository Root: https://hugin.svn.sourceforge.net/svnroot/hugin
Repository UUID: 2038758d-bd2d-0410-8553-d98df698c6e5
Revision: ${RPM_PACKAGE_VERSION##*.}
Node Kind: directory
Schedule: normal
Last Changed Author: svn-dummy-unknown
Last Changed Rev: ${RPM_PACKAGE_VERSION##*.}
Last Changed Date: svn-dummy-unknown
EOF
	;;
    "log --non-interactive -r BASE $RPM_BUILD_DIR/hugin" )
	cat <<EOF
---------------------------------------------------------------------------
r${RPM_PACKAGE_VERSION##*.} | unknown | svn-dummy- un:kn:ow +n000 | ? lines

svn-dummy-unknown

---------------------------------------------------------------------------
EOF
	;;
    --version )
	cat <<EOF
svn, version 0.7.0 (r?????)
   svn-dummy-unknown
EOF
	;;
    * )
	exec /usr/bin/svn "$@"
	;;
esac