From Fedora Project Wiki

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


The following metadata was found in MoinMoin that could not be converted to a useful value in MediaWiki:

  • Script: to create the source tarball

another way to checkout data from vcs

#!/bin/bash
# This script based on a template from the Fedora Project wiki
# https://fedoraproject.org/wiki/Packaging/SugarActivityGuidelines#Sample_Checkout_Script
# 
# sugar-paint-checkout.sh
VERSION=23
NAME=Paint
FILE=$NAME-$VERSION.tar.gz
SNAPSHOT_URL="http://dev.laptop.org/git?p=projects/oficina;a=snapshot;h=352cc6d4e7d750e2a501024f0f0e74e92605a8a3"

# Pull down the snapshot
rm -rf $FILE
curl -o $FILE $SNAPSHOT_URL

%build section

mkdir -p $RPM_BUILD_ROOT%{sugaractivitydir}

not always needed