File secrets.spec of Package secrets

#
# spec file for package secrets
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


Name:           secrets
Version:        12.2
Release:        0
Summary:        Manage your passwords
License:        GPL-3.0-or-later
URL:            https://gitlab.gnome.org/World/secrets
Source:         %{url}/-/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires:  meson
BuildRequires:  pkgconfig
BuildRequires:  python3-pykeepass >= 4.1.1
BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(gobject-introspection-1.0)
BuildRequires:  pkgconfig(gtk4)
BuildRequires:  pkgconfig(libhandy-1)
BuildRequires:  pkgconfig(pwquality)
BuildRequires:  pkgconfig(libadwaita-1) >= 1.4.alpha
BuildRequires:  desktop-file-utils
BuildRequires:  python3-validators
BuildRequires:  python3-pyotp >= 2.4.0
BuildRequires:  python3-PyKCS11
BuildRequires:  python3-python-yubico
BuildRequires:  python3-zxcvbn_rs_py
BuildRequires:  pkgconfig(pygobject-3.0)
BuildRequires:  pkgconfig(gtksourceview-5)
Requires:       python3-argon2-cffi
Requires:       python3-construct
Requires:       python3-lxml
Requires:       python3-pwquality
Requires:       python3-pycryptodome
Requires:       python3-pykeepass >= 4.1.1
Requires:	    python3-pyotp >= 2.4.0
Requires:	    python3-PyKCS11
Requires:       python3-zxcvbn_rs_py
Requires:       python3-python-yubico
Requires:       python3-validators
Requires:       %{name}-lang = %{version}
BuildArch:      noarch
Provides:       gnome-passwordsafe = %{version}-%{release}
Obsoletes:      gnome-passwordsafe < %{version}-%{release}
Provides:       gnome-passwordsafe-lang = %{version}-%{release}
Obsoletes:      gnome-passwordsafe-lang < %{version}-%{release}

%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.

%lang_package

%prep
%autosetup -p1

%build
%meson
%meson_build

%install
%meson_install
%find_lang secrets

%files
%license LICENSE
%doc README.md
%{_bindir}/secrets
%{python_sitelib}/*
%{_datadir}/applications/*.desktop
%{_datadir}/glib-2.0/schemas/*.gschema.xml
%{_datadir}/icons/hicolor/*/*/*.svg
%{_datadir}/metainfo/*.metainfo.xml
%{_datadir}/mime/packages/*.xml
%{_datadir}/secrets/

%files lang -f secrets.lang

%changelog
openSUSE Build Service is sponsored by