From: Robert G. B. <rg...@ph...> - 2000-12-31 06:19:13
|
On Sun, 31 Dec 2000, Jarl Friis wrote: > > If anybody needs/wants it, I can contribute a matching "generic > > template" specfile and Makefile that do a gangbusters job of building > > rpm's in userspace. That is, everything is done by make targets -- make > > tgz builds a spec-ready or build-ready whatever.tgz and make rpm builds > > a very nice rpm, all automagically, with version/release numbers defined > > only in the Makefile. > > That sounds really nice, thanks in advance, I am interested. See the attached project-0.1.1.tgz project template. It is an autodescribing "standard project" template except for little things like not using autoconf (which I think of as overkill for simple projects). Read the README and look over the Makefile and specfile. With a little bit of setup you should be able to type: make (to make the binary) make tgz (to make a tarball) make rpm (to make source and binary rpm's) as well as (if you like) make cvs make sync to force checkins and/or checkins followed by an rsync to a foreign cvs tree. As well as sundry other make targets. rgb -- Robert G. Brown http://www.phy.duke.edu/~rgb/ Duke University Dept. of Physics, Box 90305 Durham, N.C. 27708-0305 Phone: 1-919-660-2567 Fax: 919-660-2525 email:rg...@ph... |