summaryrefslogtreecommitdiffstats
path: root/redhat
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2012-09-01 12:18:56 +0200
committerFrancois Andriot <francois.andriot@free.fr>2012-09-01 12:18:56 +0200
commit84bd3f622aac912162a6ea8808de21c51f20906a (patch)
tree3f7c24f8363ac5590f36ee96fbb78d302e6795ed /redhat
parent90d95da7f72e2f40b1ddcefb1c14f629d90ffef6 (diff)
downloadtde-packaging-84bd3f622aac912162a6ea8808de21c51f20906a.tar.gz
tde-packaging-84bd3f622aac912162a6ea8808de21c51f20906a.zip
RHEL/Fedora/MGA/MDV: fix kgtk-qt3 scripts
Diffstat (limited to 'redhat')
-rw-r--r--redhat/applications/kgtk-qt3/trinity-kgtk-qt3.spec12
1 files changed, 9 insertions, 3 deletions
diff --git a/redhat/applications/kgtk-qt3/trinity-kgtk-qt3.spec b/redhat/applications/kgtk-qt3/trinity-kgtk-qt3.spec
index 3163d1b58..d0f1e46c6 100644
--- a/redhat/applications/kgtk-qt3/trinity-kgtk-qt3.spec
+++ b/redhat/applications/kgtk-qt3/trinity-kgtk-qt3.spec
@@ -26,7 +26,7 @@
Name: trinity-%{kdecomp}
Summary: Use KDE dialogs in Gtk apps
Version: 0.10.2
-Release: 2%{?dist}%{?_variant}
+Release: 3%{?dist}%{?_variant}
License: GPLv2+
Group: Applications/Utilities
@@ -102,8 +102,11 @@ export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot} -C build
+# The "preload" file is used by "startkde" script
+%__install -d -m 755 "%{buildroot}%{tde_datadir}/kgtk"
+echo "%{tde_libdir}/kgtk/libkgtk2.so" >"%{buildroot}%{tde_datadir}/kgtk/preload"
-%find_lang kdialogd3 || touch %{kdecomp}.lang
+%find_lang kdialogd3
@@ -121,9 +124,12 @@ export PATH="%{tde_bindir}:${PATH}"
%{tde_bindir}/kqt3-wrapper
%{tde_libdir}/kgtk/libkgtk2.so
%{tde_libdir}/kgtk/libkqt3.so
-
+%{tde_datadir}/kgtk/preload
%Changelog
+* Sun Aug 26 2012 Francois Andriot <francois.andriot@free.fr> - 0.10.2-3
+- Add 'preload' file for startkde script
+
* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 0.10.2-2
- Rebuilt for Fedora 17
- Removes post and postun