> "Matthew Nuzum" <[EMAIL PROTECTED]> wrote: > > Maybe tomorrow, if not, then probably Wednesday. This will be my first in > > two areas: > > Making an RPM from scratch and > > Making a PKG from scratch. > > > > I'm going to try to use some of Taco's work in the neomail area to speed > the > > process. > > Matt, > > There are PDF files on developer.cobalt.com that describe how to create PKG > files and there are also template PKG files for the different platforms. If > you haven't read the PDF file I suggest reading it in detail. To access the > site you need to register, but it's a painless process. Be advised that if > you use the register_me functionality, it's best to make that clear to your > users in advacne and to optionally provide a version without a register_me > file. As far as building RPMs goes, this doc is probably a good place to > start. > > http://www.rpmdp.org/rpmbook/ > Thanks for the link! That's very handy, I've been looking around for that.
The pkg files are no problem. I've been dis-assembling those for years now. The problem really lies in the fact that we have a non-binary file. Therefore all of the example SPEC files I find really don't apply. For those of you that have done this before, maybe you can help me. Here is the part I'm stuck on: %prep rm -rf $RPM_BUILD_ROOT %setup %install mkdir -p $RPM_BUILD_ROOT/home/bboard mkdir -p $RPM_BUILD_ROOT/home/bboard/sitefiles install * $RPM_BUILD_ROOT/home/bboard There are several folders, so when it get's to the last line, install chokes: install: `images' is a directory Bad exit status from /var/tmp/rpm-tmp.14661 (%install) Apparently install isn't recursive, so I guess I can't do install *, right? I have to either list each file separately (there are 72 files) or use something besides install. I replaced install * $RPM_BUILD_ROOT/home/bboard with cp -R * $RPM_BUILD_ROOT/home/bboard and everything seemed to work. I got an error for every file saying that it was listed twice, but otherwise it looks like it works. The only problem is that there are no RPM files. There are no SRPM files. There is a folder in the BUILD directory with all of the source files in it. Anyone have any helpful pointers? Matt Nuzum > Good luck and enjoy! > > -- > Steve Werby > President, Befriend Internet Services LLC > http://www.befriend.com/ _______________________________________________ cobalt-developers mailing list [EMAIL PROTECTED] http://list.cobalt.com/mailman/listinfo/cobalt-developers