Hi
I am doing some minor enhancements on mjpg-streamer. The wrapper script to start it in the GUI now accepts ‘kdialog’ or ‘zenity’ whichever is available. What can I do in the .spec file to force the dependency on either one? Or even better: when the GUI is GNOME then we require zenity and for KDE it’s kdialog.
Reason: a user having installed GNOME will probably have zenity. There is no need to load kdialog.
Is this possible?