From: <af...@al...> - 2006-03-11 00:04:07
|
As mentioned earlier, all that needs to be done to support RPM building is to put a spec file into a "build/rpm" directory... Here is such a file, that I just wrote: http://www.algonet.se/~afb/wx/wxlua.spec (builds with: "rpmbuild -ba wxlua.spec") Should be straight-forward to convert Version: into a "configurable" value, and put it into build/rpm/wxlua.spec.in ? Then you can build a SRPM, for the site. Took quite some "trickery" to get it to package up the Mac resource forks properly, (in the "darwin" sections) but it works... Tested on Fedora Core 4 and Mac OS X 10.3 Here is what it looks like on Mac OS X, after you've converted the RPM into a PKG/DMG image, with the "rpm2pkg" tool: http://www.algonet.se/~afb/wx/wxlua-rpm2pkg.jpg (My "RPM for Darwin", installs under /usr/local See http://rpm4darwin.sourceforge.net for info) Note: this is *not* the usual wxLua installer! --anders PS. I had to patch the wxMac for it to compile, still... http://www.algonet.se/~afb/wx/wxlua-2.6.2.0-wxmac.patch (thought we did some kind of Mac workaround there ? Hmm) |