Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 06c5ac02f1e6b46f231140d942b1a8db > files > 3

389-ds-base-1.2.10.6-1.fc15.src.rpm

#!/bin/bash

DATE=`date +%Y%m%d`
# use a real tag name here
VERSION=1.2.10.6
PKGNAME=389-ds-base
TAG=${TAG:-$PKGNAME-$VERSION}
URL="http://git.fedorahosted.org/git/?p=389/ds.git;a=snapshot;h=$TAG;sf=tgz"
SRCNAME=$PKGNAME-$VERSION

wget -O $SRCNAME.tar.gz "$URL"

echo convert tgz format to tar.bz2 format

gunzip $PKGNAME-$VERSION.tar.gz
bzip2 $PKGNAME-$VERSION.tar