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)



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wxlua-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to