7fd6ffe98a
- Update to 3.0.10: - No functional changes - Explicitly use cgo-free function to get user's home dir (was already the case since 3.0.9 if your browserpass was compiled without cgo as per our Makefile) OBS-URL: https://build.opensuse.org/request/show/993560 OBS-URL: https://build.opensuse.org/package/show/security:privacy/browserpass-native?expand=0&rev=12
60 lines
1.6 KiB
RPMSpec
60 lines
1.6 KiB
RPMSpec
#
|
|
# spec file for package browserpass-native
|
|
#
|
|
# 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: browserpass-native
|
|
Version: 3.0.10
|
|
Release: 0
|
|
Summary: Native application for the browserpass browser extension
|
|
License: ISC
|
|
URL: https://github.com/browserpass/browserpass-native
|
|
Source: https://github.com/browserpass/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
Source1: vendor.tar.gz
|
|
BuildRequires: golang(API) >= 1.14
|
|
ExcludeArch: ppc64
|
|
Recommends: password-store
|
|
|
|
%description
|
|
This is a host application for browserpass browser extension providing it
|
|
access to your password store. The communication is handled through Native
|
|
Messaging API.
|
|
|
|
%prep
|
|
%setup -qa1
|
|
|
|
%build
|
|
export GOFLAGS="-mod=vendor"
|
|
%make_build browserpass
|
|
|
|
%check
|
|
export GOFLAGS=-mod=vendor
|
|
make test
|
|
|
|
%install
|
|
make configure
|
|
%make_install
|
|
|
|
rm -rf %{buildroot}/usr/share/{doc,licenses}
|
|
|
|
%files
|
|
%license LICENSE
|
|
%doc README.md
|
|
%{_bindir}/browserpass
|
|
%{_prefix}/lib/browserpass
|
|
|
|
%changelog
|