Package not found: openSUSE:Factory/maven-artifact-resolver

File pass-secret-service.spec of Package pass-secret-service

#
# spec file for package pass-secret-service
#
# Copyright (c) 2025 SUSE LLC and contributors
#
# 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:           pass-secret-service
Version:        0.5.1+git.1766274328.ec625b8
Release:        0
Summary:        An org.freedesktop.secrets provider with a pass backend
License:        GPL-3.0-or-later
URL:            https://github.com/grimsteel/pass-secret-service
# Source0:        https://github.com/grimsteel/pass-secret-service/archive/refs/tags/v%%{version}.tar.gz#/%%{name}-%%{version}.tar.gz
Source0:        %{name}-%{version}.tar.xz
Source1:        vendor.tar.xz
BuildRequires:  cargo
BuildRequires:  cargo-packaging
# For directory ownership
BuildRequires:  dbus-1
BuildRequires:  gcc
BuildRequires:  password-store
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(dbus-1)
Requires:       password-store
Conflicts:      gnome-keyring
Provides:       org.freedesktop.secrets

%description
Implementation of org.freedesktop.secrets using pass

Secrets are stored in GPG files under
~/.password-store/secret-service. Attributes are not encrypted.

%prep
%autosetup -p1 -a1 -n %{name}-%{version}

%build
%{cargo_build}

%install
%{cargo_install}
install -D -v -m644 -t %{buildroot}%{_datadir}/dbus-1/services/ systemd/org.freedesktop.secrets.service
install -D -v -m644 -t %{buildroot}%{_userunitdir}/ systemd/pass-secret-service.service


%check
%{cargo_test}

%files
%license LICENSE
%doc README.md
%{_bindir}/%{name}
%{_datadir}/dbus-1/services/org.freedesktop.secrets.service
%{_userunitdir}/pass-secret-service.service

%changelog
openSUSE Build Service is sponsored by