From 55a5636d675aeacee9f0b410e8bd1e672426b9e3 Mon Sep 17 00:00:00 2001 From: Artem Polishchuk Date: Sun, 31 Mar 2024 18:17:26 +0300 Subject: [PATCH 01/11] [packit] 9.3 upstream release - Resolves rhbz#2270551 Upstream tag: 9.3 Upstream commit: 9f3f6002 --- .gitignore | 1 + README.packit | 3 +++ secrets.spec | 9 ++++++--- sources | 2 +- 4 files changed, 11 insertions(+), 4 deletions(-) create mode 100644 README.packit diff --git a/.gitignore b/.gitignore index b6cb9da..3ee5bd7 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /secrets-7.2.tar.bz2 /secrets-7.3.tar.bz2 /secrets-8.0.tar.bz2 +/secrets-9.3.tar.bz2 diff --git a/README.packit b/README.packit new file mode 100644 index 0000000..8480b61 --- /dev/null +++ b/README.packit @@ -0,0 +1,3 @@ +This repository is maintained by packit. +https://packit.dev/ +The file was generated using packit 0.94.0. diff --git a/secrets.spec b/secrets.spec index 96fd853..187f271 100644 --- a/secrets.spec +++ b/secrets.spec @@ -4,7 +4,7 @@ %global oldname gnome-passwordsafe Name: secrets -Version: 8.0 +Version: 9.3 Release: %autorelease Summary: Manage your passwords @@ -18,18 +18,20 @@ BuildRequires: intltool BuildRequires: libappstream-glib BuildRequires: meson >= 0.59 BuildRequires: python3-devel >= 3.8 +BuildRequires: python3-yubico BuildRequires: python3dist(pykeepass) >= 4.0.6 BuildRequires: python3dist(pyotp) >= 2.4.0 BuildRequires: python3dist(setuptools) BuildRequires: python3dist(validators) BuildRequires: python3dist(zxcvbn) +BuildRequires: python3dist(PyKCS11) BuildRequires: pkgconfig(gio-2.0) >= 2.66 BuildRequires: pkgconfig(glib-2.0) >= 2.73.1 BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.66 BuildRequires: pkgconfig(gtk4) >= 4.9 -BuildRequires: pkgconfig(libadwaita-1) >= 1.3.99 +BuildRequires: pkgconfig(libadwaita-1) >= 1.4.99 %if %{with tests} BuildRequires: python3-gobject @@ -37,11 +39,12 @@ BuildRequires: python3dist(pytest) %endif Requires: hicolor-icon-theme -Requires: libadwaita >= 1.3.99 +Requires: libadwaita >= 1.4.99 Requires: python3-gobject Requires: python3-pykeepass >= 4.0.6 Requires: python3-pyotp >= 2.4.0 Requires: python3-validators +Requires: python3-yubico Requires: python3-zxcvbn Provides: %{oldname} = %{version}-%{release} diff --git a/sources b/sources index 9ca1783..a0c046c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (secrets-8.0.tar.bz2) = d23176f942ae41ee850d37db33fd0e54bb858ac300b1a5dd32582533cc9e0172cb57275adc10867f161d343c8218dac43c57a721f210eb015e36ee5efc6b010e +SHA512 (secrets-9.3.tar.bz2) = 9e954a6cc76c715e78439f16dd1657d32f4528a7dee41f2965f9a12678d36398b76481dd297b5dad84fe480a2191d3ac3792e1c77c2e3374eb2e7c12321503c4 From 525d3311cfeb08a047b6f0c3fda63eebc59eb792 Mon Sep 17 00:00:00 2001 From: Artem Polishchuk Date: Sun, 31 Mar 2024 18:17:26 +0300 Subject: [PATCH 02/11] [packit] 9.3 upstream release - Resolves rhbz#2270551 Upstream tag: 9.3 Upstream commit: 9f3f6002 --- .gitignore | 1 + README.packit | 3 +++ secrets.spec | 9 ++++++--- sources | 2 +- 4 files changed, 11 insertions(+), 4 deletions(-) create mode 100644 README.packit diff --git a/.gitignore b/.gitignore index b6cb9da..3ee5bd7 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /secrets-7.2.tar.bz2 /secrets-7.3.tar.bz2 /secrets-8.0.tar.bz2 +/secrets-9.3.tar.bz2 diff --git a/README.packit b/README.packit new file mode 100644 index 0000000..8480b61 --- /dev/null +++ b/README.packit @@ -0,0 +1,3 @@ +This repository is maintained by packit. +https://packit.dev/ +The file was generated using packit 0.94.0. diff --git a/secrets.spec b/secrets.spec index 96fd853..472e281 100644 --- a/secrets.spec +++ b/secrets.spec @@ -4,7 +4,7 @@ %global oldname gnome-passwordsafe Name: secrets -Version: 8.0 +Version: 9.3 Release: %autorelease Summary: Manage your passwords @@ -18,18 +18,20 @@ BuildRequires: intltool BuildRequires: libappstream-glib BuildRequires: meson >= 0.59 BuildRequires: python3-devel >= 3.8 +BuildRequires: python3-yubico BuildRequires: python3dist(pykeepass) >= 4.0.6 BuildRequires: python3dist(pyotp) >= 2.4.0 BuildRequires: python3dist(setuptools) BuildRequires: python3dist(validators) BuildRequires: python3dist(zxcvbn) +BuildRequires: python3dist(pykcs11) BuildRequires: pkgconfig(gio-2.0) >= 2.66 BuildRequires: pkgconfig(glib-2.0) >= 2.73.1 BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.66 BuildRequires: pkgconfig(gtk4) >= 4.9 -BuildRequires: pkgconfig(libadwaita-1) >= 1.3.99 +BuildRequires: pkgconfig(libadwaita-1) >= 1.4.99 %if %{with tests} BuildRequires: python3-gobject @@ -37,11 +39,12 @@ BuildRequires: python3dist(pytest) %endif Requires: hicolor-icon-theme -Requires: libadwaita >= 1.3.99 +Requires: libadwaita >= 1.4.99 Requires: python3-gobject Requires: python3-pykeepass >= 4.0.6 Requires: python3-pyotp >= 2.4.0 Requires: python3-validators +Requires: python3-yubico Requires: python3-zxcvbn Provides: %{oldname} = %{version}-%{release} diff --git a/sources b/sources index 9ca1783..a0c046c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (secrets-8.0.tar.bz2) = d23176f942ae41ee850d37db33fd0e54bb858ac300b1a5dd32582533cc9e0172cb57275adc10867f161d343c8218dac43c57a721f210eb015e36ee5efc6b010e +SHA512 (secrets-9.3.tar.bz2) = 9e954a6cc76c715e78439f16dd1657d32f4528a7dee41f2965f9a12678d36398b76481dd297b5dad84fe480a2191d3ac3792e1c77c2e3374eb2e7c12321503c4 From be97d176ce437e63fe556482cb5f26c6040f3e7d Mon Sep 17 00:00:00 2001 From: Artem Polishchuk Date: Fri, 24 May 2024 22:58:20 +0300 Subject: [PATCH 03/11] build: Update deps req Signed-off-by: Artem Polishchuk --- secrets.spec | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/secrets.spec b/secrets.spec index 472e281..757cf8a 100644 --- a/secrets.spec +++ b/secrets.spec @@ -2,6 +2,9 @@ %global sysname gsecrets %global oldname gnome-passwordsafe +%global libadwaita_version 1.4.99 +%global pykeepass_version 4.0.7 +%global pyotp_version 2.4.0 Name: secrets Version: 9.3 @@ -20,18 +23,18 @@ BuildRequires: meson >= 0.59 BuildRequires: python3-devel >= 3.8 BuildRequires: python3-yubico -BuildRequires: python3dist(pykeepass) >= 4.0.6 -BuildRequires: python3dist(pyotp) >= 2.4.0 +BuildRequires: python3dist(pykcs11) +BuildRequires: python3dist(pykeepass) >= %{pykeepass_version} +BuildRequires: python3dist(pyotp) >= %{pyotp_version} BuildRequires: python3dist(setuptools) BuildRequires: python3dist(validators) BuildRequires: python3dist(zxcvbn) -BuildRequires: python3dist(pykcs11) BuildRequires: pkgconfig(gio-2.0) >= 2.66 BuildRequires: pkgconfig(glib-2.0) >= 2.73.1 BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.66 BuildRequires: pkgconfig(gtk4) >= 4.9 -BuildRequires: pkgconfig(libadwaita-1) >= 1.4.99 +BuildRequires: pkgconfig(libadwaita-1) >= %{libadwaita_version} %if %{with tests} BuildRequires: python3-gobject @@ -39,10 +42,10 @@ BuildRequires: python3dist(pytest) %endif Requires: hicolor-icon-theme -Requires: libadwaita >= 1.4.99 +Requires: libadwaita >= %{libadwaita_version} Requires: python3-gobject -Requires: python3-pykeepass >= 4.0.6 -Requires: python3-pyotp >= 2.4.0 +Requires: python3-pykeepass >= %{pykeepass_version} +Requires: python3-pyotp >= %{pyotp_version} Requires: python3-validators Requires: python3-yubico Requires: python3-zxcvbn From d078a02ebd048585e4cba14935331dad5ed859e9 Mon Sep 17 00:00:00 2001 From: Artem Polishchuk Date: Sun, 2 Jun 2024 20:43:43 +0300 Subject: [PATCH 04/11] build: Add pykcs11 runtime dep Signed-off-by: Artem Polishchuk --- secrets.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/secrets.spec b/secrets.spec index 757cf8a..594fd61 100644 --- a/secrets.spec +++ b/secrets.spec @@ -44,6 +44,7 @@ BuildRequires: python3dist(pytest) Requires: hicolor-icon-theme Requires: libadwaita >= %{libadwaita_version} Requires: python3-gobject +Requires: python3-pykcs11 Requires: python3-pykeepass >= %{pykeepass_version} Requires: python3-pyotp >= %{pyotp_version} Requires: python3-validators From 5f3a98e1c86949e143f163ff2a78d6129f50470c Mon Sep 17 00:00:00 2001 From: Python Maint Date: Sat, 8 Jun 2024 08:11:59 +0200 Subject: [PATCH 05/11] Rebuilt for Python 3.13 From a70c9945c86d05d3beaa7ce10d95311c654107a6 Mon Sep 17 00:00:00 2001 From: Artem Polishchuk Date: Fri, 21 Jun 2024 10:36:48 +0300 Subject: [PATCH 06/11] build: Add upstream patch fix for rh#2292507 https://gitlab.gnome.org/World/secrets/-/issues/537 Signed-off-by: Artem Polishchuk --- 0001-Open-borked-databases.patch | 41 ++++++++++++++++++++++++++++++++ secrets.spec | 4 +++- 2 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 0001-Open-borked-databases.patch diff --git a/0001-Open-borked-databases.patch b/0001-Open-borked-databases.patch new file mode 100644 index 0000000..405dca0 --- /dev/null +++ b/0001-Open-borked-databases.patch @@ -0,0 +1,41 @@ +From 861e97445a11fcabe588b88b953be5350c6899f8 Mon Sep 17 00:00:00 2001 +From: Maximiliano Sandoval +Date: Sat, 6 Apr 2024 11:41:39 +0200 +Subject: [PATCH] Open borked databases + +--- + gsecrets/database_manager.py | 8 +++++++- + 1 file changed, 7 insertions(+), 1 deletion(-) + +diff --git a/gsecrets/database_manager.py b/gsecrets/database_manager.py +index af2d2658..06ac9def 100644 +--- a/gsecrets/database_manager.py ++++ b/gsecrets/database_manager.py +@@ -2,6 +2,7 @@ + from __future__ import annotations + + import io ++import os + import json + import logging + from pathlib import Path +@@ -99,10 +100,15 @@ class DatabaseManager(GObject.Object): + return + + try: ++ key = None ++ if composition_key: ++ key = io.BytesIO(composition_key) ++ key.seek(0, os.SEEK_END) ++ + db = PyKeePass( + self.path, + password, +- io.BytesIO(composition_key) if composition_key else None, ++ key, + ) + except Exception as err: # pylint: disable=broad-except + err = GLib.Error.new_literal(QUARK, str(err), 1) +-- +2.44.0 + diff --git a/secrets.spec b/secrets.spec index 594fd61..7dcdd7f 100644 --- a/secrets.spec +++ b/secrets.spec @@ -14,6 +14,8 @@ Summary: Manage your passwords License: GPL-3.0-only URL: https://gitlab.gnome.org/World/secrets Source0: %{url}/-/archive/%{version}/%{name}-%{version}.tar.bz2 +# https://gitlab.gnome.org/World/secrets/-/issues/537 +Patch: https://gitlab.gnome.org/World/secrets/uploads/7634fbc1777cce060724770e7c3a0aff/0001-Open-borked-databases.patch BuildArch: noarch BuildRequires: desktop-file-utils @@ -72,7 +74,7 @@ Features: %prep -%autosetup +%autosetup -p1 %build From d6fe5af0eac86abbeaf49fc3a1a6336df3acf586 Mon Sep 17 00:00:00 2001 From: Packit Date: Sat, 22 Jun 2024 08:58:55 +0000 Subject: [PATCH 07/11] Update to 9.5 upstream release - Resolves: rhbz#2293761 Upstream tag: 9.5 Upstream commit: 7def9416 Commit authored by Packit automation (https://packit.dev/) --- .gitignore | 1 + README.packit | 2 +- secrets.spec | 2 +- sources | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 3ee5bd7..7f9b8bf 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /secrets-7.3.tar.bz2 /secrets-8.0.tar.bz2 /secrets-9.3.tar.bz2 +/secrets-9.5.tar.bz2 diff --git a/README.packit b/README.packit index 8480b61..bc5362c 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.94.0. +The file was generated using packit 0.97.2.post1.dev7+g966b87eb. diff --git a/secrets.spec b/secrets.spec index 7dcdd7f..3764163 100644 --- a/secrets.spec +++ b/secrets.spec @@ -7,7 +7,7 @@ %global pyotp_version 2.4.0 Name: secrets -Version: 9.3 +Version: 9.5 Release: %autorelease Summary: Manage your passwords diff --git a/sources b/sources index a0c046c..b09a55b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (secrets-9.3.tar.bz2) = 9e954a6cc76c715e78439f16dd1657d32f4528a7dee41f2965f9a12678d36398b76481dd297b5dad84fe480a2191d3ac3792e1c77c2e3374eb2e7c12321503c4 +SHA512 (secrets-9.5.tar.bz2) = ac0960e692cfff084148370171d854729f5956a09611b3c9f3c9549c62644a23294d36274b2f092a5e00abfa034078300e4d44f39f8b9ea3f6c5a16e8419bf5f From 65013702ef497c4c01f9fe352dcb3bb67e610bf8 Mon Sep 17 00:00:00 2001 From: Packit Date: Mon, 15 Jul 2024 09:16:49 +0000 Subject: [PATCH 08/11] Update to 9.6 upstream release - Resolves: rhbz#2297901 Upstream tag: 9.6 Upstream commit: df133c50 Commit authored by Packit automation (https://packit.dev/) --- .gitignore | 1 + README.packit | 2 +- secrets.spec | 2 +- sources | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 7f9b8bf..d6ebe8c 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /secrets-8.0.tar.bz2 /secrets-9.3.tar.bz2 /secrets-9.5.tar.bz2 +/secrets-9.6.tar.bz2 diff --git a/README.packit b/README.packit index bc5362c..2499381 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.97.2.post1.dev7+g966b87eb. +The file was generated using packit 0.98.0. diff --git a/secrets.spec b/secrets.spec index 3764163..cf760d6 100644 --- a/secrets.spec +++ b/secrets.spec @@ -7,7 +7,7 @@ %global pyotp_version 2.4.0 Name: secrets -Version: 9.5 +Version: 9.6 Release: %autorelease Summary: Manage your passwords diff --git a/sources b/sources index b09a55b..d359c62 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (secrets-9.5.tar.bz2) = ac0960e692cfff084148370171d854729f5956a09611b3c9f3c9549c62644a23294d36274b2f092a5e00abfa034078300e4d44f39f8b9ea3f6c5a16e8419bf5f +SHA512 (secrets-9.6.tar.bz2) = e60049f5858c6494936548ffb45b1b608d15d357c33f209ce1a60f630c467f70374e071f5389aaa71bb28b65131611c938ec3a1f73837846a033c02ca9913e6f From c1d943990b95febc2980a326e8cbd85f135f31b2 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 20 Jul 2024 05:12:28 +0000 Subject: [PATCH 09/11] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 8238682fb4c85de52c3cfb1f048ed570a5c0654d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 19 Jan 2025 10:22:11 +0000 Subject: [PATCH 10/11] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From d677e1484220a3588bbb320b7d8d3662aad84385 Mon Sep 17 00:00:00 2001 From: Maxwell G Date: Wed, 9 Apr 2025 18:34:09 -0500 Subject: [PATCH 11/11] Orphaned for 6+ weeks --- .gitignore | 9 --- .packit.yaml | 27 ------- 0001-Open-borked-databases.patch | 41 ----------- README.md | 3 - README.packit | 3 - changelog | 18 ----- dead.package | 1 + secrets.spec | 117 ------------------------------- sources | 1 - 9 files changed, 1 insertion(+), 219 deletions(-) delete mode 100644 .gitignore delete mode 100644 .packit.yaml delete mode 100644 0001-Open-borked-databases.patch delete mode 100644 README.md delete mode 100644 README.packit delete mode 100644 changelog create mode 100644 dead.package delete mode 100644 secrets.spec delete mode 100644 sources diff --git a/.gitignore b/.gitignore deleted file mode 100644 index d6ebe8c..0000000 --- a/.gitignore +++ /dev/null @@ -1,9 +0,0 @@ -/secrets-6.5.tar.bz2 -/secrets-7.0.tar.bz2 -/secrets-7.1.tar.bz2 -/secrets-7.2.tar.bz2 -/secrets-7.3.tar.bz2 -/secrets-8.0.tar.bz2 -/secrets-9.3.tar.bz2 -/secrets-9.5.tar.bz2 -/secrets-9.6.tar.bz2 diff --git a/.packit.yaml b/.packit.yaml deleted file mode 100644 index d36e7fa..0000000 --- a/.packit.yaml +++ /dev/null @@ -1,27 +0,0 @@ -copy_upstream_release_description: false -# downstream_package_name: foo # not mandatory -# upstream_package_name: Foo # not mandatory -upstream_project_url: https://gitlab.gnome.org/World/secrets -# upstream_tag_template: v{version} - -jobs: - - job: pull_from_upstream - trigger: release - dist_git_branches: - - fedora-rawhide - # - fedora-development - # - fedora-all - - - job: koji_build - trigger: commit - allowed_pr_authors: ["packit", "atim"] - allowed_committers: ["packit", "atim"] - dist_git_branches: - - fedora-all - # - epel-9 - - - job: bodhi_update - trigger: commit - dist_git_branches: - - fedora-branched - # - epel-9 diff --git a/0001-Open-borked-databases.patch b/0001-Open-borked-databases.patch deleted file mode 100644 index 405dca0..0000000 --- a/0001-Open-borked-databases.patch +++ /dev/null @@ -1,41 +0,0 @@ -From 861e97445a11fcabe588b88b953be5350c6899f8 Mon Sep 17 00:00:00 2001 -From: Maximiliano Sandoval -Date: Sat, 6 Apr 2024 11:41:39 +0200 -Subject: [PATCH] Open borked databases - ---- - gsecrets/database_manager.py | 8 +++++++- - 1 file changed, 7 insertions(+), 1 deletion(-) - -diff --git a/gsecrets/database_manager.py b/gsecrets/database_manager.py -index af2d2658..06ac9def 100644 ---- a/gsecrets/database_manager.py -+++ b/gsecrets/database_manager.py -@@ -2,6 +2,7 @@ - from __future__ import annotations - - import io -+import os - import json - import logging - from pathlib import Path -@@ -99,10 +100,15 @@ class DatabaseManager(GObject.Object): - return - - try: -+ key = None -+ if composition_key: -+ key = io.BytesIO(composition_key) -+ key.seek(0, os.SEEK_END) -+ - db = PyKeePass( - self.path, - password, -- io.BytesIO(composition_key) if composition_key else None, -+ key, - ) - except Exception as err: # pylint: disable=broad-except - err = GLib.Error.new_literal(QUARK, str(err), 1) --- -2.44.0 - diff --git a/README.md b/README.md deleted file mode 100644 index 5cbcc3c..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# secrets - -The secrets package diff --git a/README.packit b/README.packit deleted file mode 100644 index 2499381..0000000 --- a/README.packit +++ /dev/null @@ -1,3 +0,0 @@ -This repository is maintained by packit. -https://packit.dev/ -The file was generated using packit 0.98.0. diff --git a/changelog b/changelog deleted file mode 100644 index ab9b2d7..0000000 --- a/changelog +++ /dev/null @@ -1,18 +0,0 @@ -* Sun May 08 2022 Artem Polishchuk - 6.5-1 -- build(update): 6.5 - -* Wed Mar 30 2022 Artem Polishchuk - 6.3-1 -- build(update): 6.3 - -* Tue Mar 08 2022 Artem Polishchuk - 6.2-2 -- build: Drop python3-crypto dep | rh#2061745 -- build: Add runtime dep 'python3-pyotp >= 2.4.0' - -* Mon Feb 28 2022 Artem Polishchuk - 6.2-1 -- build(update): 6.2 - -* Thu Jan 13 2022 Artem Polishchuk - 6.0-0.1.beta.2 -- build(update): 6.0.beta.2 - -* Mon Dec 06 2021 Artem Polishchuk - 5.1-1 -- Initial package diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..5204a84 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Orphaned for 6+ weeks diff --git a/secrets.spec b/secrets.spec deleted file mode 100644 index cf760d6..0000000 --- a/secrets.spec +++ /dev/null @@ -1,117 +0,0 @@ -%bcond_with tests - -%global sysname gsecrets -%global oldname gnome-passwordsafe -%global libadwaita_version 1.4.99 -%global pykeepass_version 4.0.7 -%global pyotp_version 2.4.0 - -Name: secrets -Version: 9.6 -Release: %autorelease -Summary: Manage your passwords - -License: GPL-3.0-only -URL: https://gitlab.gnome.org/World/secrets -Source0: %{url}/-/archive/%{version}/%{name}-%{version}.tar.bz2 -# https://gitlab.gnome.org/World/secrets/-/issues/537 -Patch: https://gitlab.gnome.org/World/secrets/uploads/7634fbc1777cce060724770e7c3a0aff/0001-Open-borked-databases.patch -BuildArch: noarch - -BuildRequires: desktop-file-utils -BuildRequires: intltool -BuildRequires: libappstream-glib -BuildRequires: meson >= 0.59 -BuildRequires: python3-devel >= 3.8 -BuildRequires: python3-yubico - -BuildRequires: python3dist(pykcs11) -BuildRequires: python3dist(pykeepass) >= %{pykeepass_version} -BuildRequires: python3dist(pyotp) >= %{pyotp_version} -BuildRequires: python3dist(setuptools) -BuildRequires: python3dist(validators) -BuildRequires: python3dist(zxcvbn) - -BuildRequires: pkgconfig(gio-2.0) >= 2.66 -BuildRequires: pkgconfig(glib-2.0) >= 2.73.1 -BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.66 -BuildRequires: pkgconfig(gtk4) >= 4.9 -BuildRequires: pkgconfig(libadwaita-1) >= %{libadwaita_version} - -%if %{with tests} -BuildRequires: python3-gobject -BuildRequires: python3dist(pytest) -%endif - -Requires: hicolor-icon-theme -Requires: libadwaita >= %{libadwaita_version} -Requires: python3-gobject -Requires: python3-pykcs11 -Requires: python3-pykeepass >= %{pykeepass_version} -Requires: python3-pyotp >= %{pyotp_version} -Requires: python3-validators -Requires: python3-yubico -Requires: python3-zxcvbn - -Provides: %{oldname} = %{version}-%{release} -Obsoletes: %{oldname} <= 5.1-6 - -%description -Secrets is a password manager which integrates perfectly with the GNOME -desktop and provides an easy and uncluttered interface for the management of -password databases. - -Features: - * Create or import KeePass safes - * Assign a color and additional attributes to entries - * Add attachments to your encrypted database - * Generate cryptographically strong passwords - * Change the password or keyfile of your database - * Quickly search your favorite entries - * Automatic database lock during inactivity - * Adaptive interface - * Support for two-factor authentication - - -%prep -%autosetup -p1 - - -%build -%meson \ - %if %{with tests} - -Dtests=true \ - %endif - %{nil} -%meson_build - - -%install -%meson_install -%find_lang %{name} - - -%check -appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.xml -desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop - -%if %{with tests} -%meson_test -%endif - - -%files -f %{name}.lang -%license LICENSE -%doc README.md -%{_bindir}/%{name} -%{_datadir}/%{name}/ -%{_datadir}/applications/*.desktop -%{_datadir}/glib-2.0/schemas/*.gschema.xml -%{_datadir}/icons/hicolor/*/*/*.svg -%{_datadir}/mime/packages/*.xml -%{_metainfodir}/*.xml -%{python3_sitelib}/%{sysname}/ - - -%changelog -%autochangelog diff --git a/sources b/sources deleted file mode 100644 index d359c62..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (secrets-9.6.tar.bz2) = e60049f5858c6494936548ffb45b1b608d15d357c33f209ce1a60f630c467f70374e071f5389aaa71bb28b65131611c938ec3a1f73837846a033c02ca9913e6f