summaryrefslogtreecommitdiffstats
path: root/redhat/applications/kpilot/kpilot-14.0.0.spec
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2014-12-15 23:38:06 +0100
committerFrançois Andriot <albator78@libertysurf.fr>2014-12-15 23:38:06 +0100
commitd19d14a03103d32059598d292defb77945309f28 (patch)
treeee992c9fa6b2aaf1f12cefcccaec75e2eaa0a550 /redhat/applications/kpilot/kpilot-14.0.0.spec
parent092caa810a152ddcbc89e908fee1f4611a5acc70 (diff)
downloadtde-packaging-d19d14a03103d32059598d292defb77945309f28.tar.gz
tde-packaging-d19d14a03103d32059598d292defb77945309f28.zip
RPM packaging: update for R14
Diffstat (limited to 'redhat/applications/kpilot/kpilot-14.0.0.spec')
-rw-r--r--redhat/applications/kpilot/kpilot-14.0.0.spec7
1 files changed, 6 insertions, 1 deletions
diff --git a/redhat/applications/kpilot/kpilot-14.0.0.spec b/redhat/applications/kpilot/kpilot-14.0.0.spec
index dfdca669f..c21e6f726 100644
--- a/redhat/applications/kpilot/kpilot-14.0.0.spec
+++ b/redhat/applications/kpilot/kpilot-14.0.0.spec
@@ -66,7 +66,7 @@ software does for Windows. KPilot can back-up and restore your Palm Pilot
and synchronize the built-in applications with their TDE counterparts.
-%if 0%{?pclinuxos}
+%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
%debug_package
%endif
@@ -112,6 +112,11 @@ export PATH="%{tde_bindir}:${PATH}"
# Unwanted files
%__rm -f %{?buildroot}%{tde_libdir}/libkpilot.so
+# Updates applications categories for openSUSE
+%if 0%{?suse_version}
+%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/kpilot.desktop Utility PDA SyncUtility X-KDE-Utilities-Peripherals
+%suse_update_desktop_file -u -r %{?buildroot}%{tde_tdeappdir}/kpalmdoc.desktop Utility PDA X-TDE-Utilities-File
+%endif
%clean