%global debug_package %{nil} Name: chezmoi Version: 2.49.0 Release: 2%{?dist} Summary: Manage your dotfiles across multiple diverse machines, securely. License: MIT URL: https://github.com/twpayne/%{name} Source: https://github.com/twpayne/%{name}/archive/refs/tags/v%{version}.tar.gz BuildRequires: git BuildRequires: go %description chezmoi helps you manage your personal configuration files (dotfiles, like ~/.gitconfig) across multiple machines. chezmoi provides many features beyond symlinking or using a bare git repo including: templates (to handle small differences between machines), password manager support (to store your secrets securely), importing files from archives (great for shell and editor plugins), full file encryption (using gpg or age), and running scripts (to handle everything else). %prep %autosetup -n %{name}-%{version} %build go build -ldflags "-w -X main.version=%{version} \ -X main.date=$(date -d "@${SOURCE_DATE_EPOCH}" +%Y-%m-%d)" \ -o %{name} %install install -Dpm 0755 %{name} -t %{buildroot}%{_bindir}/ %files %license LICENSE %doc README.md %{_bindir}/%{name} %changelog * Tue Jun 18 2024 Andrey Brusnik - 2.49.0-2 - refactor: Make RPM specs cleaner * Tue Jun 11 2024 Andrey Brusnik - 2.49.0-1 - feat: Added chezmoi package