diff options
author | François Andriot <[email protected]> | 2014-10-29 23:29:39 +0100 |
---|---|---|
committer | François Andriot <[email protected]> | 2014-10-29 23:29:39 +0100 |
commit | da0bce96c3f904985440a21e5650534198be2dcc (patch) | |
tree | 80d1b5f466cbbd6c7eccca632de872ca3271e842 | |
parent | bd6de208b0b87c359982e37c409a4f569b27d091 (diff) | |
download | tde-packaging-da0bce96c3f904985440a21e5650534198be2dcc.tar.gz tde-packaging-da0bce96c3f904985440a21e5650534198be2dcc.zip |
RPM Packaging: update tdeaccessibility
-rw-r--r-- | redhat/tdeaccessibility/tdeaccessibility-14.0.0.spec | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/redhat/tdeaccessibility/tdeaccessibility-14.0.0.spec b/redhat/tdeaccessibility/tdeaccessibility-14.0.0.spec index 81f1ab619..f130edbb2 100644 --- a/redhat/tdeaccessibility/tdeaccessibility-14.0.0.spec +++ b/redhat/tdeaccessibility/tdeaccessibility-14.0.0.spec @@ -194,9 +194,7 @@ This package is part of Trinity, as a component of the TDE accessibility module. %files -n trinity-kmag %defattr(-,root,root,-) %{tde_bindir}/kmag -%if 0%{?suse_version} && 0%{?opensuse_bs} -%{tde_datadir}/applnk/Applications/kmag.desktop -%endif +%{tde_tdeappdir}/kmag.desktop %{tde_datadir}/apps/kmag/ %{tde_datadir}/icons/hicolor/*/apps/kmag.png %{tde_datadir}/icons/locolor/*/apps/kmag.png @@ -232,9 +230,7 @@ This package is part of Trinity, as a component of the TDE accessibility module. %files -n trinity-kmousetool %defattr(-,root,root,-) %{tde_bindir}/kmousetool -%if 0%{?suse_version} && 0%{?opensuse_bs} -%{tde_datadir}/applnk/Applications/kmousetool.desktop -%endif +%{tde_tdeappdir}/kmousetool.desktop %{tde_datadir}/apps/kmousetool/ %{tde_datadir}/icons/hicolor/*/apps/kmousetool.png %{tde_tdedocdir}/HTML/en/kmousetool/ @@ -269,9 +265,7 @@ This package is part of Trinity, as a component of the TDE accessibility module. %defattr(-,root,root,-) %{tde_datadir}/config/kmouthrc %{tde_bindir}/kmouth -%if 0%{?suse_version} && 0%{?opensuse_bs} -%{tde_datadir}/applnk/Applications/kmouth.desktop -%endif +%{tde_tdeappdir}/kmouth.desktop %{tde_datadir}/apps/kmouth/ %{tde_datadir}/icons/hicolor/*/actions/speak.png %{tde_datadir}/icons/hicolor/*/actions/nospeak.png @@ -560,6 +554,13 @@ popd %suse_update_desktop_file kcmkttsd Utility Accessibility %endif +# Move desktop files to correct location +%if 0%{?opensuse_bs} == 0 || 0%{?suse_version} == 0 +%__mv -f "%{?buildroot}%{tde_datadir}/applnk/Applications/kmag.desktop" "%{?buildroot}%{tde_tdeappdir}" +%__mv -f "%{?buildroot}%{tde_datadir}/applnk/Applications/kmousetool.desktop" "%{?buildroot}%{tde_tdeappdir}" +%__mv -f "%{?buildroot}%{tde_datadir}/applnk/Applications/kmouth.desktop" "%{?buildroot}%{tde_tdeappdir}" +%endif + # Links duplicate files %fdupes "%{?buildroot}%{tde_datadir}" |