|
|
ceb5e5 |
#
|
|
|
ceb5e5 |
# spec file for package age
|
|
|
ceb5e5 |
#
|
|
|
ceb5e5 |
# Copyright (c) 2021, Martin Hauke <mardnh@gmx.de>
|
|
|
ceb5e5 |
#
|
|
|
ceb5e5 |
# All modifications and additions to the file contributed by third parties
|
|
|
ceb5e5 |
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
ceb5e5 |
# upon. The license for this file, and modifications and additions to the
|
|
|
ceb5e5 |
# file, is the same license as for the pristine package itself (unless the
|
|
|
ceb5e5 |
# license for the pristine package is not an Open Source License, in which
|
|
|
ceb5e5 |
# case the license is the MIT License). An "Open Source License" is a
|
|
|
ceb5e5 |
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
ceb5e5 |
# published by the Open Source Initiative.
|
|
|
ceb5e5 |
|
|
|
ceb5e5 |
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
ceb5e5 |
#
|
|
|
ceb5e5 |
|
|
|
ceb5e5 |
Name: age
|
|
|
ceb5e5 |
Version: 1.0.0
|
|
|
ceb5e5 |
Release: 0
|
|
|
ceb5e5 |
Summary: A simple, modern and secure file encryption tool
|
|
|
ceb5e5 |
License: BSD-3-Clause
|
|
|
ceb5e5 |
Group: Productivity/Networking/Security
|
|
|
ceb5e5 |
URL: https://github.com/FiloSottile/age
|
|
|
ceb5e5 |
#Git-Clone: https://github.com/FiloSottile/age.git
|
|
|
ceb5e5 |
Source: https://github.com/FiloSottile/age/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
|
ceb5e5 |
Source1: vendor.tar.gz
|
|
|
ceb5e5 |
BuildRequires: go
|
|
|
ceb5e5 |
BuildRequires: golang-packaging
|
|
|
ceb5e5 |
%{go_provides}
|
|
|
ceb5e5 |
|
|
|
ceb5e5 |
%description
|
|
|
ceb5e5 |
Age features small explicit keys, no config options, and UNIX-style
|
|
|
ceb5e5 |
composability.
|
|
|
ceb5e5 |
|
|
|
ceb5e5 |
%prep
|
|
|
ceb5e5 |
%autosetup -p 1 -a 1
|
|
|
ceb5e5 |
|
|
|
ceb5e5 |
%build
|
|
|
ceb5e5 |
%{goprep} filippo.io/age
|
|
|
ceb5e5 |
%{gobuild} -mod=vendor ...
|
|
|
ceb5e5 |
|
|
|
ceb5e5 |
%install
|
|
|
ceb5e5 |
%{goinstall}
|
|
|
ceb5e5 |
for i in age.1 age-keygen.1 ; do
|
|
|
ceb5e5 |
install -Dm 0644 doc/$i %{buildroot}%{_mandir}/man1/$i
|
|
|
ceb5e5 |
done
|
|
|
ceb5e5 |
|
|
|
ceb5e5 |
%check
|
|
|
ceb5e5 |
%gotest filippo.io/age ...
|
|
|
ceb5e5 |
|
|
|
ceb5e5 |
%files
|
|
|
ceb5e5 |
%license LICENSE
|
|
|
ceb5e5 |
%doc README.md doc/*.1.html
|
|
|
ceb5e5 |
%{_bindir}/age
|
|
|
ceb5e5 |
%{_bindir}/age-keygen
|
|
|
ceb5e5 |
%{_mandir}/man1/age-keygen.1%{?ext_man}
|
|
|
ceb5e5 |
%{_mandir}/man1/age.1%{?ext_man}
|
|
|
ceb5e5 |
|
|
|
ceb5e5 |
%changelog
|