Removing spaces in app's filename and adding another .desktop file

Change-Id: Ia59ffe82b0a24215365e4703712fec9a270749b8
diff --git a/linux/ndnx-control-center.desktop.in b/linux/ndnx-control-center.desktop.in
new file mode 100644
index 0000000..742ae47
--- /dev/null
+++ b/linux/ndnx-control-center.desktop.in
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Version=1.0
+Name=NDNx Control Center
+Keywords=Internet;NDN;NDNx
+Exec=@BINDIR@/@BINARY@
+Terminal=false
+X-MultipleArgs=false
+Type=Application
+Icon=@DATAROOTDIR@/ndnx-control-center/ndnx-main.png
+Categories=GNOME;GTK;Network;
+StartupNotify=true
+Actions=NewWindow;NewPrivateWindow;
diff --git a/wscript b/wscript
index 11bcde6..40e26cb 100644
--- a/wscript
+++ b/wscript
@@ -79,16 +79,22 @@
             )
     else:
         bld (features = "subst",
-             source = bld.path.ant_glob(['linux/**/*.in']),
-             target = [node.change_ext('', '.in') for node in bld.path.ant_glob(['linux/**/*.in'])],
-             BINARY = "NDNx\\ Control\\ Center",
+             source = 'linux/ndnxcontrolcenter.desktop.in',
+             target = 'linux/ndnxcontrolcenter.desktop',
+             BINARY = "ndnx-control-center",
              install_path = "${DATAROOTDIR}/ndnx-control-center"
             )
+        bld (features = "subst",
+             source = 'linux/ndnx-control-center.desktop.in',
+             target = 'linux/ndnx-control-center.desktop',
+             BINARY = "ndnx-control-center",
+             install_path = "${DATAROOTDIR}/applications"
+            )
         bld.install_files("${DATAROOTDIR}/ndnx-control-center",
                           bld.path.ant_glob(['linux/Resources/*']))
 
         bld (
-            target = "NDNx Control Center",
+            target = "ndnx-control-center",
             features=['qt4', 'cxxprogram', 'cxx'],
             includes = ". linux",