From Fedora Project Wiki
m (1 revision(s)) |
m (Talk:Packaging/SugarActivityGuidelines moved to Packaging talk:SugarActivityGuidelines: Moving Packaging Pages to Packaging Namespace) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 5: | Line 5: | ||
* Script: to create the source tarball | * Script: to create the source tarball | ||
== another way to checkout data from vcs == | |||
<pre>#!/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</pre> | |||
== %build section == | |||
mkdir -p $RPM_BUILD_ROOT%{sugaractivitydir} | |||
not always needed |
Latest revision as of 03:27, 21 December 2008
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