added a section to create a spec file and build the rpm files (CVS 504)

FossilOrigin-Name: e529143967a6fd4e65dea6a5ff68a7aabc36f787
This commit is contained in:
doughenry 2002-03-29 01:29:53 +00:00
parent 3c0d1ec01c
commit 1d36650fa3
3 changed files with 29 additions and 7 deletions

View File

@ -1,5 +1,5 @@
C these\sfiles\sare\sneeded\sby\spublish.sh\sto\sbuild\srpms\s(CVS\s503)
D 2002-03-29T01:28:45
C added\sa\ssection\sto\screate\sa\sspec\sfile\sand\sbuild\sthe\srpm\sfiles\s(CVS\s504)
D 2002-03-29T01:29:54
F Makefile.in 50f1b3351df109b5774771350d8c1b8d3640130d
F Makefile.template 89e373b2dad0321df00400fa968dc14b61a03296
F README a4c0ba11354ef6ba0776b400d057c59da47a4cc0
@ -17,7 +17,7 @@ F homerpm.sh d1adb74efdd1c0b04d5c521935c14616dff433f1 x
F install-sh 9d4de14ab9fb0facae2f48780b874848cbf2f895
F libtool c56e618713c9510a103bda6b95f3ea3900dcacd6
F ltmain.sh e9ed72eb1d690f447c13945eaf69e28af531eda1
F publish.sh 5b59f4aff037aafa0e4a3b6fa599495dbd73f360
F publish.sh 5c0d940c8aac42be8911d4161826794560603fce
F spec.template 80255831b0c3c16c1cc2bb08dd15cb8800a04a64
F sqlite.1 2e2bb0529ef468ade9e4322bd609d0695fb9ded9
F src/TODO af7f3cab0228e34149cf98e073aa83d45878e7e6
@ -132,7 +132,7 @@ F www/speed.tcl da8afcc1d3ccc5696cfb388a68982bc3d9f7f00f
F www/sqlite.tcl 8b5884354cb615049aed83039f8dfe1552a44279
F www/tclsqlite.tcl 829b393d1ab187fd7a5e978631b3429318885c49
F www/vdbe.tcl 2013852c27a02a091d39a766bc87cff329f21218
P f0f241e1cc322ebed8f215b4b8ddcc0f5ee2ff65
R e42a8611d63b890b9abac357bed09c9e
P 3c25359376814e9c3912246d79528614a3499e5b
R 0b4fa0ab8c0a36dd8fe21df7be719be5
U doughenry
Z 2eb2b3d8e1e1a882de81fbe07d1d5959
Z d38052f9eb649f56f5dfcf9ea11c6c7c

View File

@ -1 +1 @@
3c25359376814e9c3912246d79528614a3499e5b
e529143967a6fd4e65dea6a5ff68a7aabc36f787

View File

@ -141,6 +141,28 @@ vers=`cat $srcdir/VERSION`
rm -f sqlite-$vers.tar.gz
ln sqlite.tar.gz sqlite-$vers.tar.gz
#
# Build RPMS (binary) and Source RPM
#
# this script sets up the home directory so normal users can build rpms
# by default this would only be allowed by root. This really only needs
# done once, but each time shouldn't hurt anything.
$srcdir/homerpm.sh
# create the spec file from the template
sed s/SQLITE_VERSION/$vers/g $srcdir/spec.template > $HOME/rpm/SPECS/sqlite.spec
# copy the source tarball to the rpm directory
cp sqlite-$vers.tar.gz $HOME/rpm/SOURCES/.
# build all the rpms
rpm -ba $HOME/rpm/SPECS/sqlite.spec >& rpm-$vers.log
# this part I'm not sure about, looks like the rpms may need copied here or
# linked to?
# Build the website
#
cp $srcdir/../historical/* .