/ Check-in [e5291439]
Login
SQLite training in Houston TX on 2019-11-05 (details)
Part of the 2019 Tcl Conference

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:added a section to create a spec file and build the rpm files (CVS 504)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: e529143967a6fd4e65dea6a5ff68a7aabc36f787
User & Date: doughenry 2002-03-29 01:29:54
Context
2002-03-29
18:16
Combine the homerpm.sh file in with publish.sh. Update the website files to refer to the new RPMs that are now being built. Fix a small problem with the spec file. (CVS 505) check-in: 57d4c770 user: drh tags: trunk
01:29
added a section to create a spec file and build the rpm files (CVS 504) check-in: e5291439 user: doughenry tags: trunk
01:28
these files are needed by publish.sh to build rpms (CVS 503) check-in: 3c253593 user: doughenry tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to publish.sh.

   136    136   cd ..
   137    137   EXCLUDE=`find sqlite -print | grep CVS | sed 's,sqlite/, --exclude sqlite/,'`
   138    138   tar czf $ORIGIN/sqlite.tar.gz $EXCLUDE sqlite
   139    139   cd $ORIGIN
   140    140   vers=`cat $srcdir/VERSION`
   141    141   rm -f sqlite-$vers.tar.gz
   142    142   ln sqlite.tar.gz sqlite-$vers.tar.gz
          143  +
          144  +#
          145  +# Build RPMS (binary) and Source RPM
          146  +#
          147  +
          148  +# this script sets up the home directory so normal users can build rpms
          149  +# by default this would only be allowed by root.  This really only needs
          150  +# done once, but each time shouldn't hurt anything.
          151  +$srcdir/homerpm.sh
          152  +
          153  +# create the spec file from the template
          154  +sed s/SQLITE_VERSION/$vers/g $srcdir/spec.template > $HOME/rpm/SPECS/sqlite.spec
          155  +
          156  +# copy the source tarball to the rpm directory
          157  +cp sqlite-$vers.tar.gz $HOME/rpm/SOURCES/.
          158  +
          159  +# build all the rpms
          160  +rpm -ba $HOME/rpm/SPECS/sqlite.spec >& rpm-$vers.log
          161  +
          162  +# this part I'm not sure about, looks like the rpms may need copied here or
          163  +# linked to?
          164  +
   143    165   
   144    166   # Build the website
   145    167   #
   146    168   cp $srcdir/../historical/* .
   147    169   rm -rf doc
   148    170   make doc
   149    171   ln sqlite.bin.gz sqlite.zip sqlite*.tar.gz tclsqlite.so.gz tclsqlite.zip doc
   150    172   ln sqlitedll.zip sqlite.so.gz sqlite_source.zip doc