File:  [Coherent Logic Development] / freem-rpmbuild-os2 / prepare.sh
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Thu Mar 27 15:38:04 2025 UTC (6 days, 17 hours ago) by snw
Branches: MAIN, CoherentLogicDevelopment
CVS tags: start, HEAD
Initial commit

#!/usr/bin/bash

if [[ $# != 1 ]]
then
	echo "usage:  prepare.sh <freem-version>"
	exit 1
fi

FREEM_VERSION=$1
DOWNLOAD_URL="http://freem.coherent-logic.com/downloads/freem-${FREEM_VERSION}.tar.gz"

mkdir -p ~/rpmbuild/{SOURCES,SRPMS,RPMS,SPECS,BUILD,BUILDROOT}

wget "${DOWNLOAD_URL}"
mv freem-${FREEM_VERSION}.tar.gz /Home/rpmbuild/SOURCES/
rpmbuild -ba SPECS/freem.spec


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>