|
From: Rui N. C. <rn...@rn...> - 2004-07-07 13:03:51
|
Hi Christian, > > I felt forced to add support for generating Debian packages as well. ;) > I commited it couple of minutes ago. > > Rui, could you please also put a line into README how to generate the > RPMs? I just left a TODO there, hoping you will do it. Right after that > I will roll the tarball and generate the .deb files and upload them > together with your RPMs. > To generate the RPMs you have to be on a RPM based system/distro, or at least have the rpmbuild tool properly configured. I take my knowledge because all my boxes have RPM based distros (suse, mdk and fedora). But things may differ The steps are simple: 1) Get .spec file generated by ./configure. Edit it as appropriate. Then, as root: 2) Copy the source tarball to "/usr/src/<rpmdir>/SOURCES" directory. 3) Build the rpm(s) by invoking 'rpmbuild -bb <specfile>' from the command line. On success, the resulting rpm(s) can usually be found under the proper "/usr/src/<rpmdir>/RPMS/<arch>" directory. The recently built package(s) aren't installed by default. The names for the sub-directories <rpmdir> and <arch> depends on the distro or rpm installation. For example, on SUSE we have <rpmdir>="packages", on Mandrake <rpmdir> is "RPM" and for redhat/fedora <rpmdir> always equals "redhat". As you see, I don't feel very sure about writing /so/ specific instructions, as YMMV. Feel free to drop yourself a line on the README file. At the moment I don't have access to make it right, maybe tonight. Cheers. -- rncbc aka Rui Nuno Capela rn...@rn... |