qucs package : first try and need help

Michael Schwendt bugs.michael at gmx.net
Wed Oct 12 10:04:35 UTC 2005


On Tue, 11 Oct 2005 14:27:26 -0700, Michael A. Peters wrote:

> On Tue, 2005-10-11 at 22:25 +0200, Eric TANGUY wrote:
> > So i tried to package qucs and i had some problems :
> > * i need to pass a parameter to configure : QTDIR=/usr/lib/qt-3.3 but i
> > think this not a good way to do that ...
> > * i tried also to add a desktop file but the system complain about the
> > desktop file is not packaged.
> > You can look to this package
> > http://perso.wanadoo.fr/eric.tanguy/qucs-0.0.7-5.fc4.src.rpm
> > Thanks
> 
> I've attached a spec file.
> I don't do qt stuff - so there may be a better way to have configure
> find the qt libs.

Yes. Source /etc/profile.d/qt.sh which sets $QTDIR and in future
package revisions will also set $QTLIB and $QTINC, so many Qt
detection scripts work better also in multilib installations.
For instance:

%build
unset QTDIR || : ; . /etc/profile.d/qt.sh
export QTLIB=${QTDIR}/lib QTINC=${QTDIR}/include
...




More information about the fedora-extras-list mailing list