[bt-devel] Bibeltime beta 4 bugs
Brook Humphrey
bt-devel@crosswire.org
Wed, 22 Jan 2003 21:45:55 -0800
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wednesday 22 January 2003 09:37 pm, Lamar Owen wrote:
> On Thursday 23 January 2003 00:27, Brook Humphrey wrote:
> > On Wednesday 22 January 2003 09:08 pm, Lamar Owen wrote:
> > > Good. Does the automation still involve configure, or is it in a more
> > > spec-centric mode?
> >
> > I'm not sure I understand. I use a little awk some perl to auto grab some
> > info and stuff into variables for the spec. The rest is passing variable
> > to configure. I have really optimized this for mandrake. It should build
> > on other systems also however.
>
> Ok, let me illustrate. J Random User downloads the (singular) source RPM.
> JRU then executes 'rpmbuild --rebuild bibletime-x.y.z-r.src.rpm' Or, JRU
> downloads the tarball and executes 'rpmbuild -ta bibletime-x.y.z.tar.gz' --
> but this requires a single spec file to be found in the entire tarball.
> Either way, rpmbuild will parse the spec file macros before executing any
> shell scripts in the spec file -- those macros need to be defined before
> configure is ever run. These scripts of yours: any way to run them within
> a macro definition?
>
> The RPM rebuilds, with OS name, version, and file locations automagically
> inserted as necessary. JRU installs the built binary RPM and is running
> Bibletime in minutes.
>
> Currently, one downloads the tarball, executes ./configure with the OS
> version, etc, specified on the configure command line. The spec file is
> picked up, and then an rpmbuild -ba is executed, which reruns ./configure
> anyway. Double work. IMHO.
I think I understand. Hm my limitations here are that I've always done specs
and make all my own rpm's by hand I don't really know a whole lot about
./configure although I have had to patch a few scripts to look for the right
dependencies or whatnot but for the most part I do everything with a spec
file because thats what I know.
I am compiling it again right now and if all goes well I will update cvs with
the newest spec right away. After you look at it maybe you can suggest how to
proceed.
- --
-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-
Brook Humphrey
Mobile PC Medic, 420 1st, Cheney, WA 99004, 509-235-9107
http://www.webmedic.net, bah@webmedic.net, bah@linux-mandrake.com
Holiness unto the Lord
-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+L4GTnT1TkA6FgPgRAq5kAJ95l2LiNKjMxgOq6Qoopr3KFVbOLwCgoCiz
1EXEukz5J242yT02mo/0nbU=
=GGoh
-----END PGP SIGNATURE-----