From 468557a76a810c9dc182aaaf3cc49688757dd477 Mon Sep 17 00:00:00 2001 From: pertusus Date: Dec 27 2007 14:37:25 +0000 Subject: define more QT environement variables if needed --- diff --git a/kchmviewer.spec b/kchmviewer.spec index b7fdf17..d1d5596 100644 --- a/kchmviewer.spec +++ b/kchmviewer.spec @@ -1,6 +1,6 @@ Name: kchmviewer Version: 3.1 -Release: 1%{?dist}.3 +Release: 1%{?dist}.4 Summary: CHM viewer with KDE support Group: Applications/Publishing @@ -29,6 +29,9 @@ chmod -x lib/kio-msits/msits.* %build [ -n "$QTDIR" ] || . %{_sysconfdir}/profile.d/qt.sh +[ -n "$QTLIB" ] || export QTLIB="$QTDIR/lib" +[ -n "$QTINC" ] || export QTLIB="$QTDIR/include" + %configure --disable-static --with-kde --disable-rpath \ --disable-dependency-tracking --disable-strict --disable-warnings make %{?_smp_mflags} @@ -79,7 +82,7 @@ touch --no-create %{_datadir}/icons/crystalsvg || : %changelog -* Thu Aug 2 2007 Patrice Dumas 3.1-1.3 +* Thu Aug 2 2007 Patrice Dumas 3.1-1.4 - update to 3.1 * Sun Apr 1 2007 Patrice Dumas 3.0-2