rpms/kchmviewer/EL-5 kchmviewer.spec,1.8,1.9

Patrice Dumas (pertusus) fedora-extras-commits at redhat.com
Thu Dec 27 16:52:29 UTC 2007


Author: pertusus

Update of /cvs/extras/rpms/kchmviewer/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29100

Modified Files:
	kchmviewer.spec 
Log Message:
define more QT environement variables


Index: kchmviewer.spec
===================================================================
RCS file: /cvs/extras/rpms/kchmviewer/EL-5/kchmviewer.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- kchmviewer.spec	27 Dec 2007 13:39:56 -0000	1.8
+++ kchmviewer.spec	27 Dec 2007 16:51:45 -0000	1.9
@@ -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 @@
 
 
 %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 @@
 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 @@
 
 
 %changelog
-* Thu Aug  2 2007 Patrice Dumas <pertusus at free.fr> 3.1-1.1
+* Thu Aug  2 2007 Patrice Dumas <pertusus at free.fr> 3.1-1.5
 - update to 3.1
 
 * Sun Apr  1 2007 Patrice Dumas <pertusus at free.fr> 3.0-2




More information about the fedora-extras-commits mailing list