[startactive] Create xsession desktop file

Radek Novacek rnovacek at fedoraproject.org
Mon Feb 27 10:43:19 UTC 2012


commit 19dde911420bbec453a666d2ed76c8875f454226
Author: Radek Novacek <rnovacek at redhat.com>
Date:   Mon Feb 27 11:43:17 2012 +0100

    Create xsession desktop file

 startactive.spec |   17 +++++++++++++++--
 1 files changed, 15 insertions(+), 2 deletions(-)
---
diff --git a/startactive.spec b/startactive.spec
index a010ecb..acda714 100644
--- a/startactive.spec
+++ b/startactive.spec
@@ -1,6 +1,6 @@
 Name:           startactive
 Version:        0.2
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        An alternative Plasma session start script
 
 License:        GPLv2+
@@ -43,6 +43,16 @@ make %{?_smp_mflags} -C %{_target_platform}
 %install
 make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
 
+# Create session file for Plasma Active
+cat > %{buildroot}%{_kde4_datadir}/xsessions/plasma-active.desktop << EOF
+[Desktop Entry]
+Encoding=UTF-8
+Type=XSession
+Exec=/usr/bin/startactive
+TryExec=/usr/bin/startactive
+Name=KDE Plasma Active
+Comment=A touch enabled Plasma Active workspace aiming on different (not only) mobile devices
+EOF
 
 %files
 %doc readme.txt
@@ -50,9 +60,12 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
 %{_kde4_bindir}/startactive.bin
 %{_kde4_appsdir}/ksplash/Themes/qmldefault/
 %{_kde4_appsdir}/startactive/
-
+%{_kde4_datadir}/xsessions/plasma-active.desktop
 
 %changelog
+* Mon Feb 27 2012 Radek Novacek <rnovacek at redhat.com> 0.2-3
+- Create xsession desktop file
+
 * Mon Feb 27 2012 Radek Novacek <rnovacek at redhat.com> 0.2-2
 - Fix path to libexec binaries
 - Disable setup-contour-intro module


More information about the scm-commits mailing list