summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2011-01-13 14:12:29 +0100
committerMarc-André Lureau <marcandre.lureau@redhat.com>2011-01-13 14:12:29 +0100
commite8fcd8667cb221a41ac51517ec52f180edb922ca (patch)
tree4766a40ae3c8bd5428d877d8960c9c434367d267 /data
parent8028cf8e350d210dfcf90adda4a2d6822228a569 (diff)
data: add spice-mime, and spicy.desktop - disabled for now
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am27
-rw-r--r--data/spice-mime.xml.in8
-rw-r--r--data/spicy.desktop.in.in10
3 files changed, 45 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
new file mode 100644
index 0000000..210ce69
--- /dev/null
+++ b/data/Makefile.am
@@ -0,0 +1,27 @@
+NULL=
+
+# TODO: not sure if we want to do that
+#desktopdir = $(datadir)/applications
+#desktop_in_files = spicy.desktop.in
+#desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
+#@INTLTOOL_DESKTOP_RULE@
+#
+#MIMEFILES = spice-mime.xml.in
+#mimedir = $(datadir)/mime/packages
+#mime_DATA = spice-mime.xml
+#@INTLTOOL_XML_RULE@
+
+EXTRA_DIST = \
+ spicy-for-windows.nsis \
+ $(desktop_in_files) \
+ $(NULL)
+
+CLEANFILES = \
+ $(desktop_DATA) \
+ $(NULL)
+
+DISTCLEANFILES = \
+ $(desktop_DATA) \
+ $(NULL)
+
+-include $(top_srcdir)/git.mk
diff --git a/data/spice-mime.xml.in b/data/spice-mime.xml.in
new file mode 100644
index 0000000..3bfd575
--- /dev/null
+++ b/data/spice-mime.xml.in
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
+ <mime-type type="application/x-spice">
+ <sub-class-of type="text/plain"/>
+ <_comment>Remote Desktop (SPICE) file</_comment>
+ <glob pattern="*.spice"/>
+ </mime-type>
+</mime-info>
diff --git a/data/spicy.desktop.in.in b/data/spicy.desktop.in.in
new file mode 100644
index 0000000..b2e5b30
--- /dev/null
+++ b/data/spicy.desktop.in.in
@@ -0,0 +1,10 @@
+[Desktop Entry]
+_Name=SPICE Remote Desktop Viewer
+_Comment=Access remote SPICE desktops
+Exec=spicy
+#Icon=spice
+Terminal=false
+MimeType=x-scheme-handler/spice
+Type=Application
+StartupNotify=true
+Categories=GNOME;GTK;Network;RemoteAccess;