Hello community, here is the log from the commit of package keepassx for openSUSE:Factory checked in at 2017-01-31 12:46:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/keepassx (Old) and /work/SRC/openSUSE:Factory/.keepassx.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "keepassx" Changes: -------- --- /work/SRC/openSUSE:Factory/keepassx/keepassx.changes 2016-10-18 10:43:13.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.keepassx.new/keepassx.changes 2017-02-03 17:44:41.153383161 +0100 @@ -1,0 +2,5 @@ +Sun Jan 29 10:50:12 UTC 2017 - mailaender@opensuse.org + +- add appdata.patch for https://en.opensuse.org/openSUSE:AppStore + +------------------------------------------------------------------- New: ---- appdata.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ keepassx.spec ++++++ --- /var/tmp/diff_new_pack.fd12sk/_old 2017-02-03 17:44:41.953269942 +0100 +++ /var/tmp/diff_new_pack.fd12sk/_new 2017-02-03 17:44:41.953269942 +0100 @@ -1,7 +1,7 @@ # # spec file for package keepassx # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -29,6 +29,8 @@ # PATCH-FIX-UPSTREAM keepassx-fix-undefined-libraries.patch # https://www.keepassx.org/dev/issues/389 Patch0: keepassx-fix-undefined-libraries.patch +# PATCH-FEATURE-UPSTREAM https://github.com/keepassx/keepassx/pull/196 +Patch1: appdata.patch BuildRequires: cmake BuildRequires: fdupes BuildRequires: hicolor-icon-theme @@ -55,6 +57,7 @@ %prep %setup -q %patch0 -p1 +%patch1 -p1 %build export CFLAGS="%{optflags} -fPIC" @@ -89,5 +92,7 @@ %{_libdir}/%{name}/ %{_datadir}/icons/hicolor %{_datadir}/mime/packages/keepassx.xml +%dir %{_datadir}/appdata/ +%{_datadir}/appdata/keepassx.appdata.xml %changelog ++++++ appdata.patch ++++++
From fd4dd5883622db6e3fd14b5d5c57cbcfff89ec88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= <Mailaender@users.noreply.github.com> Date: Sun, 29 Jan 2017 11:38:17 +0100 Subject: [PATCH 1/2] Add a Linux AppData file
--- share/linux/keepassx.appdata.xml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 share/linux/keepassx.appdata.xml diff --git a/share/linux/keepassx.appdata.xml b/share/linux/keepassx.appdata.xml new file mode 100644 index 0000000..f3b73e5 --- /dev/null +++ b/share/linux/keepassx.appdata.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<application> + <id type="desktop">keepassx.desktop</id> + <metadata_license>CC0-1.0</metadata_license> + <license>GPL-2.0 and LGPL-2.1 and LGPL-3.0+</license> + <name>KeePassX</name> + <summary>Cross Platform Password Manager</summary> + <description> + <p> + KeePassX is a free/open-source password manager or safe which helps you to + manage your passwords in a secure way. You can put all your passwords in one + database, which is locked with one master key or a key-disk. So you only have + to remember one single master password or insert the key-disk to unlock the + whole database. The databases are encrypted using the best and most secure + encryption algorithms currently known (AES and Twofish). + </p> + </description> + <url type="homepage">https://www.keepassx.org</url> + <screenshots> + <screenshot type="default">https://www.keepassx.org/wp-content/uploads/2016/02/kpx2_main.png</screenshot> + <screenshot>https://www.keepassx.org/wp-content/uploads/2016/02/kpx2_entry.png</screenshot> + <screenshot>https://www.keepassx.org/wp-content/uploads/2016/02/kpx2_db_settings.png</screenshot> + </screenshots> +</application>
From d7986536097361e90506b2fd1d953e737ff47d7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= <Mailaender@users.noreply.github.com> Date: Sun, 29 Jan 2017 11:39:18 +0100 Subject: [PATCH 2/2] Install the AppData file on Linux
--- share/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/share/CMakeLists.txt b/share/CMakeLists.txt index 6a276d9..e1f3056 100644 --- a/share/CMakeLists.txt +++ b/share/CMakeLists.txt @@ -26,6 +26,7 @@ if(UNIX AND NOT APPLE) FILES_MATCHING PATTERN "application-x-keepassx.png" PATTERN "application-x-keepassx.svgz") install(FILES linux/keepassx.desktop DESTINATION ${CMAKE_INSTALL_DATADIR}/applications) install(FILES linux/keepassx.xml DESTINATION ${CMAKE_INSTALL_DATADIR}/mime/packages) + install(FILES linux/keepassx.appdata.xml DESTINATION ${CMAKE_INSTALL_DATADIR}/appdata) endif(UNIX AND NOT APPLE) if(APPLE)