mc alternative: Double Commander
Hans de Goede
hdegoede at redhat.com
Mon Sep 23 18:28:02 UTC 2013
On 09/23/2013 11:44 AM, Christopher Meng wrote:
> Side note:
> I've also sent review request to the BZ.
> If someone can give me a better solution of gtk/qt widgetset, which
> means keeping these 2 in 1 package, welcome.
Yes, do the build twice, including running %configure twice
with a make distclean in between.
IE something like
mv doublecmd doublecmd-qt4
And then in %install manually install the binary you saved from
getting nuked by make distclean by moving it out of the way.
This way you can have one srpm, named simply doublecmd, with
-qt4 and -gtk2 sub-packages. You can then use the main
package to store common files and make both require it,
or simple don't have a "%files" only a "%files qt4" and
"%files gtk2" and then rpmbuild won't create a main
binary package, only the 2 subpackages (while still
creating a single src rpm named after the main package).
This seems like the best way to deal with this to me (and is
how things like this are done in numerous other packages).
Please try this, if you get stuck, send me a link to
an srpm with your attempts and I'll try to fix it, I might
even review this :)
More information about the devel