Robert Riches wrote:
Quote:
On 2009-10-16, Doug Laidlaw
wrote:
I have read up on the rpmbuild process, but my mind doesn't seem to work
in
ways that understand it. One rule seems to be: the spec files that come
with tarballs never work under Mandriva
(they are usually designed
for
Fedora.) With my latest attempt, I got the following:-
error: Package already exists: %package debug
What does that mean, and what is the fix? I have seen "debug" RPMs, but
this must be different.
Doug.
As a possible alternative, have you considered checkinstall? At
least for making a home-grown RPM for a specific machine, it has
worked well for me. It captures what "make install" does and
builds an RPM that (in theory) accomplishes the same thing.
YMMV, good luck, and all that...
Yes, I used checkinstall a lot some years ago. I am still a subscriber tothe mailing list, but it is virtually dead. Recently I have tended to find
that there was a Mandriva RPM for just about everything, so I have used that
if it existed, or "make install" if it didn't. In this case, there was a
spec.in file in the tarball and a spec file for Suse generated by "make" (or
cmake.) So I gave it a run, just as a learning exercise. An RPM for Suse
is available, but I haven't tried it. In my experience, a Suse RPM has
worked, but less often than a Fedora one. I didn't ask or expect the
maintainer to help. His attitude was: get the packagers to make one; it is
a move towards getting his program accepted. It is at version 0.3, but
there are others in the repos at that level.
I don't really need to worry about an RPM. This is a program, not a
library, and will never be a dependency.
Robert, I think that it was you using Noteedit. This program is VMPK,
http://sourceforge.net/projects/vmpk. I can't play a keyboard, so my
interest in it is only casual.
Doug.