Hello community, here is the log from the commit of package grsync for openSUSE:Factory checked in at 2016-08-12 15:43:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/grsync (Old) and /work/SRC/openSUSE:Factory/.grsync.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "grsync" Changes: -------- --- /work/SRC/openSUSE:Factory/grsync/grsync.changes 2016-03-31 13:02:55.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.grsync.new/grsync.changes 2016-08-12 15:43:36.000000000 +0200 @@ -1,0 +2,8 @@ +Tue Aug 9 20:07:48 UTC 2016 - [email protected] + +- Add grsync-appdata.patch to add, translate and install appdata + file; the presence of the appdata file ensures that the + application appears on appstores like GNOME Software and KDE + Discover. + +------------------------------------------------------------------- New: ---- grsync-appdata.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ grsync.spec ++++++ --- /var/tmp/diff_new_pack.iAa7a7/_old 2016-08-12 15:43:37.000000000 +0200 +++ /var/tmp/diff_new_pack.iAa7a7/_new 2016-08-12 15:43:37.000000000 +0200 @@ -25,6 +25,8 @@ Url: http://www.opbyte.it/grsync/ Source: http://www.opbyte.it/release/%{name}-%{version}.tar.gz Patch1: fix-invalid-lc-messages-dir.patch +# PATCH-FIX-UPSTREAM grsync-appdata.patch [email protected] -- Add, translate and install appdata file +Patch2: grsync-appdata.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: dos2unix @@ -49,6 +51,7 @@ %prep %setup -q %patch1 -p1 +%patch2 -p1 %build autoreconf -fi @@ -90,6 +93,8 @@ %{_datadir}/icons/hicolor/48x48/mimetypes/application-x-grsync-session.png %{_datadir}/mime/packages/grsync.xml %{_mandir}/man1/grsync* +%dir %{_datadir}/appdata +%{_datadir}/appdata/*.appdata.xml %files lang -f %{name}.lang ++++++ grsync-appdata.patch ++++++ Index: grsync-1.2.6/grsync.appdata.xml.in =================================================================== --- /dev/null +++ grsync-1.2.6/grsync.appdata.xml.in @@ -0,0 +1,25 @@ +<?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>[email protected]</update_contact> + <translation type="gettext">grsync</translation> +</component> Index: grsync-1.2.6/Makefile.am =================================================================== --- grsync-1.2.6.orig/Makefile.am +++ grsync-1.2.6/Makefile.am @@ -52,6 +52,12 @@ icon_scalable_DATA = maemo-icons/scalabl else 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) endif Gladedir = $(datadir)/grsync Index: grsync-1.2.6/po/POTFILES.in =================================================================== --- grsync-1.2.6.orig/po/POTFILES.in +++ grsync-1.2.6/po/POTFILES.in @@ -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
