From: Andrew Z. <an...@sp...> - 2006-06-19 16:13:22
|
David Bruce wrote: >> Some things I noticed while packaging an .rpm: >> * The SVN URL was hard to find because Tuxmath has so many web sites on >> Google. >> * RPM (at least Fedora's) doesn't like it when you strip the binaries >> because RPM itself separates the debuginfo into its own .rpm package. >> * Using "chown root" causes permissions errors while packaging. By >> default, RPM assumes all files belong to root. >> > > I take it you are referring to the "make install" part of the makefile. I > haven't touched this since I started maintaining tuxmath, and I honestly > don't (yet) know enough about this to feel comfortable changing it, being a > self-taught hacker rather than a professional. > Yes, "make install" is what I am referring to. Typically, open source Unix-ish programs use autoconf, but a few use "make install" too. Tuxmath's "make install" just needs some clean up. Maybe these will help: http://www.gnu.org/software/make/manual/html_node/Directory-Variables.html#Directory-Variables http://www.gnu.org/software/make/manual/html_node/Install-Command-Categories.html#Install-Command-Categories http://tinyxml.cvs.sourceforge.net/tinyxml/tinyxml/Makefile?revision=1.14&view=markup (does not include install, but does show some "make" features) http://cvs.sourceforge.net/viewcvs.py/cday/cdayc/makefile?rev=1.12&view=auto (temporarily down right now) ... or find some other BSD/GPL "make install" program to copy. > >> * You probably don't want .xvpics in SVN. >> * rpmlint found non standard permissions /usr/share/tuxmath 0751. It's >> executable but not readable by others. >> > > At least on my Debian system, the tuxmath binary is a 0755, both the one > installed by the official Debian packaging system and the one > under /usr/local installed by "make install". > The tuxmath binary is OK here too, but what about the directory /usr/share/tuxmath (might also be /usr/local/share/tuxmath)? >> For other people to test, here's RPMs for Fedora Core 5, and the source >> RPM should rebuild on a variety of RPM systems. >> >> http://www.filelodge.com/files/room18/463092/tuxmath-0.9.svn.9-1fc5.i386.rp >> m >> http://www.filelodge.com/files/room18/463092/tuxmath-0.9.svn.9-1fc5.src.rpm >> http://www.filelodge.com/files/room18/463092/tuxmath-debuginfo-0.9.svn.9-1f >> c5.i386.rpm >> > I have been thinking of using some of my empty disc space for small installs > of various distributions and maybe *BSDs for testing purposes. I've never > had an rpm-based system. Sorry that I don't yet know enough to address these > issues very well, but I'll do my best. > Maybe you can get the community to do the testing for you or try VMPlayer. (You can try VMPlayer with EasyVMX or http://www.vmware.com/vmtn/appliances/community.html .) Andrew |