File grsync-appdata.patch of Package grsync

diff -ruN a/grsync.appdata.xml.in b/grsync.appdata.xml.in
--- a/grsync.appdata.xml.in	1970-01-01 01:00:00.000000000 +0100
+++ b/grsync.appdata.xml.in	2020-12-28 14:16:49.601084197 +0100
@@ -0,0 +1,26 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<component>
+  <id type="desktop">grsync.desktop</id>
+  <metadata_license>CC0-1.0</metadata_license>
+  <_name>Grsync</_name>
+  <project_license>GPL-2.0</project_license>
+  <_summary>Synchronize files and folders (a GTK GUI for rsync)</_summary>
+  <url type="homepage">http://www.opbyte.it/grsync/</url>
+  <description>
+    <_p>Grsync is a GUI (Graphical User Interface) for rsync, the commandline directory
+and file synchronization tool. It can be effectively used to synchronize local
+directories and it supports remote targets as well (even though it doesn't
+support browsing the remote folder). Sample uses of grsync include: synchronize
+a music collection with removable devices, backup personal files to a networked
+drive, replication of a partition to another one, mirroring of files, etc.</_p>
+  </description>
+  <screenshots>
+    <screenshot type="default">
+      <image height="463" width="455">http://www.opbyte.it/grsync/grsync-1.0.0.png</image>
+      <caption>Grsync in action</caption>
+    </screenshot>
+  </screenshots>
+  <update_contact>info@opbyte.it</update_contact>
+  <translation type="gettext">grsync</translation>
+</component>
+
diff -ruN a/Makefile.am b/Makefile.am
--- a/Makefile.am	2020-05-28 10:18:54.000000000 +0200
+++ b/Makefile.am	2020-12-28 14:16:25.969016007 +0100
@@ -26,6 +26,12 @@
 Applicationsdir = $(datadir)/applications
 Applications_DATA = grsync.desktop
 
+Appdatadir = $(datadir)/appdata
+Appdata_in_files = grsync.appdata.xml.in
+Appdata_DATA = $(Appdata_in_files:.appdata.xml.in=.appdata.xml)
+@INTLTOOL_XML_RULE@
+EXTRA_DIST += $(Appdata_in_files)
+
 Gladedir = $(datadir)/grsync
 Glade_DATA = $(XMLFILE)
 
diff -ruN a/po/POTFILES.in b/po/POTFILES.in
--- a/po/POTFILES.in	2013-04-30 13:48:54.000000000 +0200
+++ b/po/POTFILES.in	2020-12-28 14:16:08.608965915 +0100
@@ -1,6 +1,7 @@
 # List of source files containing translatable strings.
 
 [type: gettext/glade]grsync.glade
+grsync.appdata.xml.in
 src/main.c
 src/callbacks.c
 
openSUSE Build Service is sponsored by