## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by go2rpm 1.18.0 %bcond check 1 %bcond bootstrap 0 %if %{with bootstrap} %global debug_package %{nil} %endif %if %{with bootstrap} %global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\\(.*\\)$ %endif # https://github.com/gopasspw/gopass %global goipath github.com/gopasspw/gopass Version: 1.15.18 %global commit ed5497331809e95f1a6d44eb5a1cce955057b64d %gometa -L -f %global common_description %{expand: The slightly more awesome standard unix password manager for teams.} %global golicenses LICENSE %global godocs docs AGENTS.md ARCHITECTURE.md CHANGELOG.md\\\ CONTRIBUTING.md GOVERNANCE.md README.md\\\ helpers/proxy/README-3111.md Name: gopass Release: %autorelease Summary: The slightly more awesome standard unix password manager for teams License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-3-Clause-HP AND CC0-1.0 AND ISC AND MIT AND MPL-2.0 AND (Apache-2.0 OR MIT) URL: %{gourl} Source0: %{gosource} Source1: %{archivename}-vendor.tar.bz2 Source2: go-vendor-tools.toml BuildRequires: go-vendor-tools BuildRequires: gnupg2 BuildRequires: git-core %description %{common_description} %gopkg %prep %goprep -A %setup -q -T -D -a1 %{forgesetupargs} %if %{without bootstrap} %generate_buildrequires %go_vendor_license_buildrequires -c %{S:2} %endif %if %{without bootstrap} %build %gobuild -o %{gobuilddir}/bin/gopass %{goipath} %{gobuilddir}/bin/gopass completion bash > gopass.bash %{gobuilddir}/bin/gopass completion fish > gopass.fish %{gobuilddir}/bin/gopass completion zsh > gopass.zsh %endif %install %gopkginstall %if %{without bootstrap} install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ install -Dp gopass.bash %{buildroot}%{_datadir}/bash-completion/completions/gopass install -Dp gopass.fish %{buildroot}%{_datadir}/fish/vendor_completions.d/gopass.fish install -Dp gopass.zsh %{buildroot}%{_datadir}/zsh/site-functions/_gopass %endif %if %{without bootstrap} %check %go_vendor_license_check -c %{S:2} %if %{with check} git config --global user.email "%{name}-owner@fedoraproject.org" git config --global user.name "%{name} maintainer" %gocheck -d github.com/gopasspw/gopass/internal/config -d github.com/gopasspw/gopass/internal/store/leaf -d github.com/gopasspw/gopass/internal/updater -d github.com/gopasspw/gopass/pkg/fsutil %endif %endif %if %{without bootstrap} %files -f %{go_vendor_license_filelist} %license vendor/modules.txt %doc docs AGENTS.md ARCHITECTURE.md CHANGELOG.md CONTRIBUTING.md GOVERNANCE.md %doc README.md helpers/proxy/README-3111.md %{_bindir}/gopass %dir %{_datadir}/bash-completion %dir %{_datadir}/bash-completion/completions %{_datadir}/bash-completion/completions/%{name} %dir %{_datadir}/fish %dir %{_datadir}/fish/vendor_completions.d %{_datadir}/fish/vendor_completions.d/%{name}.fish %dir %{_datadir}/zsh %dir %{_datadir}/zsh/site-functions %{_datadir}/zsh/site-functions/_%{name} %endif %gopkgfiles %changelog ## START: Generated by rpmautospec * Thu Oct 30 2025 John Doe - 1.15.18-1 - Uncommitted changes ## END: Generated by rpmautospec