OpenSuse Build Service/MeeGo Setup

= MeeGo =

Targets:
 * Use MeeGo:1.0:Core : Latest Release
 * Use MeeGo:Current:Core : Latest snapshot
 * Use MeeGo:1.0.80.1.20100514.1:Core : for weekly snapshots See:  http://wiki.meego.com/MeeGo_Release_Creation#Weekly_Builds_and_Build_Numbers

MeeGo:1.0:Core
API=http://api.obs.maemo.org/
 * 1) Specify the OBS we're working on

mkdir -p /backend_storage/MeeGo/1.0/ia32 cd /backend_storage/MeeGo/1.0/ia32 wget -e robots=off --accept \*.rpm --mirror --no-parent --progress=dot \ --no-host-directories --cut-dirs=7 -nv \ http://repo.m2.org/MeeGo/releases/1.0/core/repos/ia32/packages/
 * 1) Get the binaries

OBS=/backend_storage/obs/meego1.0/i586_full mkdir -p $OBS REPO=/backend_storage/MeeGo/1.0/ia32/ cd $OBS/.. find $REPO -name *i386.deb | xargs -I@ ln @ i586_full find $REPO -name *all.deb | xargs -I@ ln @ i586_full
 * 1) Prepare for the :full dir for the OBS

OBS=/backend_storage/obs/meego1.0/armel_full mkdir -p $OBS REPO=/backend_storage/MeeGo/1.0/armv7l cd $OBS/.. find $REPO -name *armel.deb | xargs -I@ ln @ armel_full find $REPO -name *all.deb | xargs -I@ ln @ armel_full
 * 1) Not done (11 Jun)

osc -A $API meta prj MeeGo:1.0:Core -F - < MeeGo 1.0 MeeGo from http://repo.m2.org/MeeGo/releases/1.0/core/repos   armv7el i586 XML
 * 1) On an OBS client

cd /srv/obs/build/MeeGo\:1.0\:Core/standard/ mkdir -p i586 armv7el ln -s $OBS/i586_full i586/:full ln -s $OBS/armel_full armv7el/:full
 * 1) Back on OBS server
 * 2) Copy the binaries into the new project

/usr/lib/obs/server/bs_admin --rescan-repository MeeGo:1.0:Core standard i586 /usr/lib/obs/server/bs_admin --rescan-repository MeeGo:1.0:Core standard armv7el

chown -R obsrun:obsrun /srv/obs/build/MeeGo:1.0:Core

Since this project is a target it needs a prjconf