]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
added a section to create a spec file and build the rpm files (CVS 504)
authordoughenry <doughenry@noemail.net>
Fri, 29 Mar 2002 01:29:53 +0000 (01:29 +0000)
committerdoughenry <doughenry@noemail.net>
Fri, 29 Mar 2002 01:29:53 +0000 (01:29 +0000)
FossilOrigin-Name: e529143967a6fd4e65dea6a5ff68a7aabc36f787

manifest
manifest.uuid
publish.sh

index d4a805878cce68e3357e87ee8634831e3624deb9..0160bd2c13e345cc0bae8184e74bfd16d32b2c0a 100644 (file)
--- a/manifest
+++ b/manifest
@@ -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
index b7921a4b8ccf0206c4dc463ca9409fdde833ba97..9985c57e533a9780cfd78fd113ad971ff2c1c09b 100644 (file)
@@ -1 +1 @@
-3c25359376814e9c3912246d79528614a3499e5b
\ No newline at end of file
+e529143967a6fd4e65dea6a5ff68a7aabc36f787
\ No newline at end of file
index 73ab979c03d907053807a3ef7d857698e79f4798..fcb2b409718f125913ac1b425a27c26e83ac7c35 100644 (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/* .