From e87b4889ba834894508eb14f8140f3c5e55157c3 Mon Sep 17 00:00:00 2001 From: pertusus Date: Dec 27 2007 16:51:45 +0000 Subject: define more QT environement variables --- diff --git a/kchmviewer.spec b/kchmviewer.spec index 20091a9..038f89d 100644 --- a/kchmviewer.spec +++ b/kchmviewer.spec @@ -1,6 +1,6 @@ Name: kchmviewer Version: 3.1 -Release: 1%{?dist}.1 +Release: 1%{?dist}.5 Summary: CHM viewer with KDE support Group: Applications/Publishing @@ -28,6 +28,10 @@ chmod -x lib/kio-msits/msits.* %build +[ -n "$QTDIR" ] || . %{_sysconfdir}/profile.d/qt.sh +[ -n "$QTLIB" ] || export QTLIB="$QTDIR/lib" +[ -n "$QTINC" ] || export QTINC="$QTDIR/include" + %configure --disable-static --with-kde --disable-rpath \ --disable-dependency-tracking --disable-strict --disable-warnings make %{?_smp_mflags} @@ -42,7 +46,7 @@ install -p -m644 src/pics/cr48-app-kchmviewer.png ${RPM_BUILD_ROOT}%{_datadir}/p desktop-file-install --vendor fedora \ --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \ --delete-original \ - $RPM_BUILD_ROOT%{_datadir}/applnk/kchmviewer.desktop + $RPM_BUILD_ROOT%{_datadir}/applications/kchmviewer.desktop # remove static libs, they have no interface, libkdeextra is too generic rm ${RPM_BUILD_ROOT}%{_libdir}/libchmfile.a @@ -78,7 +82,7 @@ touch --no-create %{_datadir}/icons/crystalsvg || : %changelog -* Thu Aug 2 2007 Patrice Dumas 3.1-1.1 +* Thu Aug 2 2007 Patrice Dumas 3.1-1.5 - update to 3.1 * Sun Apr 1 2007 Patrice Dumas 3.0-2