summaryrefslogtreecommitdiffstats
path: root/redhat/applications/tdepowersave/tdepowersave-14.0.0.spec
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2015-07-22 21:26:05 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2015-07-22 21:26:05 +0200
commitf490f5210b1597b85d66ae1fd54a51bdab7ca779 (patch)
treedccb24a2e302a13c2332d330578ad97e5eecc63a /redhat/applications/tdepowersave/tdepowersave-14.0.0.spec
parent3691b7f09c6fe434f1fedec711520e4b8dab37a0 (diff)
downloadtde-packaging-f490f5210b1597b85d66ae1fd54a51bdab7ca779.tar.gz
tde-packaging-f490f5210b1597b85d66ae1fd54a51bdab7ca779.zip
RPM Packaging: massive updates for R14.0.1
Diffstat (limited to 'redhat/applications/tdepowersave/tdepowersave-14.0.0.spec')
-rw-r--r--redhat/applications/tdepowersave/tdepowersave-14.0.0.spec6
1 files changed, 4 insertions, 2 deletions
diff --git a/redhat/applications/tdepowersave/tdepowersave-14.0.0.spec b/redhat/applications/tdepowersave/tdepowersave-14.0.0.spec
index 585a3253d..5488e31d1 100644
--- a/redhat/applications/tdepowersave/tdepowersave-14.0.0.spec
+++ b/redhat/applications/tdepowersave/tdepowersave-14.0.0.spec
@@ -23,6 +23,7 @@
%define tde_pkg tdepowersave
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin
+%define tde_confdir %{_sysconfdir}/trinity
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
%define tde_includedir %{tde_prefix}/include
@@ -184,6 +185,7 @@ fi
\
-DCMAKE_INSTALL_PREFIX=%{tde_prefix} \
-DBIN_INSTALL_DIR=%{tde_bindir} \
+ -DCONFIG_INSTALL_DIR="%{tde_confdir}" \
-DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
-DLIB_INSTALL_DIR=%{tde_libdir} \
-DSHARE_INSTALL_PREFIX=%{tde_datadir} \
@@ -224,7 +226,7 @@ update-desktop-database %{tde_tdeappdir} > /dev/null
touch --no-create %{tde_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
-if [ $1 = 0 ] && [ -r "/etc/acpi/actions/power.sh.tdepowersavebackup" ]; then
+if [ $1 = 0 ] && [ -r "/etc/acpi/actions/power.sh.tdepowersavebackup" ]; then
%__mv -f "/etc/acpi/actions/power.sh.tdepowersavebackup" "/etc/acpi/actions/power.sh"
fi
@@ -241,7 +243,7 @@ fi
%{tde_datadir}/apps/tdepowersave/
%{tde_datadir}/icons/hicolor/*/*/*.png
%{tde_datadir}/autostart/tdepowersave-autostart.desktop
-%{tde_datadir}/config/tdepowersaverc
+%{tde_confdir}/tdepowersaverc
%lang(cs) %{tde_tdedocdir}/HTML/cs/tdepowersave/
%lang(de) %{tde_tdedocdir}/HTML/de/tdepowersave/