summaryrefslogtreecommitdiffstats
path: root/redhat/applications/tde-guidance
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2013-12-28 20:38:50 +0100
committerFrançois Andriot <albator78@libertysurf.fr>2013-12-28 20:38:50 +0100
commit37e11c19d7d1ac39f18b9dba1bffee0dc09f9e08 (patch)
treec37795f07a7191f6e647a2ae3e093fa1cdd24849 /redhat/applications/tde-guidance
parent4a3e6e0caf179b6ba22f5fb76a6208f3e84ceade (diff)
downloadtde-packaging-37e11c19d7d1ac39f18b9dba1bffee0dc09f9e08.tar.gz
tde-packaging-37e11c19d7d1ac39f18b9dba1bffee0dc09f9e08.zip
RPM Packaging: update 3.5.13.2 for Fedora 20
Diffstat (limited to 'redhat/applications/tde-guidance')
-rw-r--r--redhat/applications/tde-guidance/tde-guidance-3.5.13.2.spec8
1 files changed, 5 insertions, 3 deletions
diff --git a/redhat/applications/tde-guidance/tde-guidance-3.5.13.2.spec b/redhat/applications/tde-guidance/tde-guidance-3.5.13.2.spec
index 19df57c69..e086535d3 100644
--- a/redhat/applications/tde-guidance/tde-guidance-3.5.13.2.spec
+++ b/redhat/applications/tde-guidance/tde-guidance-3.5.13.2.spec
@@ -270,7 +270,8 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%build
-unset QTDIR; . /etc/profile.d/qt3.sh
+unset QTDIR QTINC QTLIB
+. /etc/profile.d/qt3.sh
export PATH="%{tde_bindir}:${PATH}"
export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/python-qt3
export KDEDIR=%{tde_prefix}
@@ -291,7 +292,8 @@ fi
%install
-unset QTDIR; . /etc/profile.d/qt3.sh
+unset QTDIR QTINC QTLIB
+. /etc/profile.d/qt3.sh
export PATH="%{tde_bindir}:${PATH}"
export EXTRA_MODULE_DIR="%{python_sitearch}/%{name}"
@@ -389,7 +391,7 @@ chrpath -r %{tde_libdir} %{buildroot}%{tde_tdelibdir}/kcm_*.so
# generate guidance-power-manager script
cat <<EOF >%{buildroot}%{tde_bindir}/guidance-power-manager
#!/bin/sh
-export PYTHONPATH=%{python_sitearch}/%{name}
+export PYTHONPATH=%{python_sitearch}/%{name}:%{python_sitearch}/python-qt3
%{python_sitearch}/%{name}/guidance-power-manager.py &
EOF
chmod +x %{buildroot}%{tde_bindir}/guidance-power-manager