From 77b92c759a60f52d1c4783458782e6461d1d0876 Mon Sep 17 00:00:00 2001 From: AsciiWolf Date: Fri, 15 Jul 2022 13:02:28 +0200 Subject: [PATCH] Fix AppStream metadata --- ...cloud.desktopclient.nextcloud.metainfo.xml | 23 +++++++++++++++++++ nextcloud-client.spec | 10 ++++---- nextcloud.appdata.xml | 16 ------------- 3 files changed, 28 insertions(+), 21 deletions(-) create mode 100644 com.nextcloud.desktopclient.nextcloud.metainfo.xml delete mode 100644 nextcloud.appdata.xml diff --git a/com.nextcloud.desktopclient.nextcloud.metainfo.xml b/com.nextcloud.desktopclient.nextcloud.metainfo.xml new file mode 100644 index 0000000..4264876 --- /dev/null +++ b/com.nextcloud.desktopclient.nextcloud.metainfo.xml @@ -0,0 +1,23 @@ + + + com.nextcloud.desktopclient.nextcloud + Nextcloud Desktop + GPL-2.0+ + Nextcloud desktop synchronization client + CC0-1.0 + +

The Nextcloud desktop client allows you to keep one or more folders full of +your photos, videos and documents synchronized with your server. Any file you +add, modify or delete in the synced folders on your desktop or laptop will show +up, change or disappear on the server and all other connected devices. Thanks +to the client, you can work with your files even when you are not online!

+
+ + + The options dialog + https://nextcloud.com/wp-content/uploads/2022/04/linux.png + + + https://nextcloud.com + +
diff --git a/nextcloud-client.spec b/nextcloud-client.spec index 90855f0..4510a86 100644 --- a/nextcloud-client.spec +++ b/nextcloud-client.spec @@ -12,7 +12,7 @@ Summary: The Nextcloud Client License: LGPLv2+ and GPLv2 Url: https://nextcloud.com/install/#install-clients Source0: https://github.com/nextcloud/desktop/archive/v%{version}/desktop-%{version}.tar.gz -Source1: nextcloud.appdata.xml +Source1: com.nextcloud.desktopclient.nextcloud.metainfo.xml # Patch0: fixes GNOME quirks on Wayland sessions. Read # https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/3BVLBS4B3XHJEXFVGD7RK2ZMXZG6JQZT/ Patch0: xcb_%{version}.patch @@ -166,8 +166,8 @@ sed -i 's/-fPIE/-fPIC/g' src/cmd/CMakeLists.txt %cmake_install %find_lang client --with-qt -mkdir -p %{buildroot}%{_datadir}/appdata/ -install -pm 644 %{SOURCE1} %{buildroot}%{_datadir}/appdata/nextcloud.appdata.xml +mkdir -p %{buildroot}%{_datadir}/metainfo/ +install -pm 644 %{SOURCE1} %{buildroot}%{_datadir}/metainfo/com.nextcloud.desktopclient.nextcloud.metainfo.xml # for distros that do not have KDE Plasma 5 @@ -188,7 +188,7 @@ rm -rf %{buildroot}%{_datadir}/caja-python/ %check -appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/nextcloud.appdata.xml +appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/com.nextcloud.desktopclient.nextcloud.metainfo.xml %ldconfig_scriptlets libs @@ -202,7 +202,7 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/nextcloud. %{_datadir}/mime/packages/nextcloud.xml %{_datadir}/applications/com.nextcloud.desktopclient.nextcloud.desktop %{_datadir}/icons/hicolor/*/apps/* -%{_datadir}/appdata/nextcloud.appdata.xml +%{_datadir}/metainfo/com.nextcloud.desktopclient.nextcloud.metainfo.xml %{_datadir}/cloud-providers/com.nextcloudgmbh.Nextcloud.ini %{_datadir}/dbus-1/services/com.nextcloudgmbh.Nextcloud.service diff --git a/nextcloud.appdata.xml b/nextcloud.appdata.xml deleted file mode 100644 index 209773a..0000000 --- a/nextcloud.appdata.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - nextcloud.desktop - CC0 - Nextcloud Desktop Client - The Nextcloud desktop client, lets you sync directly to your Nextcloud server - -

- Nextcloud-client enables you to connect to your private Nextcloud Server. With it you can create folders in your home directory, and keep the contents of those folders synced with your Nextcloud server. Simply copy a file into the directory and the Nextcloud Client does the rest. -

-
- - https://comzeradd.fedorapeople.org/screenshots/owncloud1.jpg - - https://nextcloud.org/ -