diff options
author | François Andriot <[email protected]> | 2020-09-06 19:27:42 +0200 |
---|---|---|
committer | François Andriot <[email protected]> | 2020-09-07 21:02:08 +0200 |
commit | 424e58e3209c8ce130983d7d38d4c1ad535d2dbc (patch) | |
tree | c3257e85dfcd1c8b9bd9a5c3d412c113a0e5c9a2 /redhat/applications/kpicosim | |
parent | ead24dc5421b41a04a0c33dcd2a8e2e733cccc3c (diff) | |
download | tde-packaging-424e58e3209c8ce130983d7d38d4c1ad535d2dbc.tar.gz tde-packaging-424e58e3209c8ce130983d7d38d4c1ad535d2dbc.zip |
RPM: update desktop and lang files location
Diffstat (limited to 'redhat/applications/kpicosim')
-rw-r--r-- | redhat/applications/kpicosim/kpicosim.spec | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/redhat/applications/kpicosim/kpicosim.spec b/redhat/applications/kpicosim/kpicosim.spec index fe2aa1881..5f67d98d5 100644 --- a/redhat/applications/kpicosim/kpicosim.spec +++ b/redhat/applications/kpicosim/kpicosim.spec @@ -139,6 +139,13 @@ export PATH="%{tde_bindir}:${PATH}" %find_lang %{tde_pkg} +# Move desktop icon to XDG directory +if [ -d "%{buildroot}%{tde_datadir}/applnk" ]; then + %__mkdir_p %{buildroot}%{tde_tdeappdir} + %__mv "%{buildroot}%{tde_datadir}/applnk/Development/kpicosim.desktop" "%{buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop" + %__rm -r "%{buildroot}%{tde_datadir}/applnk" +fi + %clean %__rm -rf %{buildroot} @@ -148,7 +155,7 @@ export PATH="%{tde_bindir}:${PATH}" %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING README %{tde_bindir}/kpicosim -%{tde_datadir}/applnk/Development/kpicosim.desktop +%{tde_tdeappdir}/kpicosim.desktop %{tde_datadir}/apps/katepart/syntax/psm.xml %{tde_datadir}/apps/kpicosim %{tde_tdedocdir}/HTML/en/kpicosim |