diff --git a/anda/devs/yadm/anda.hcl b/anda/devs/yadm/anda.hcl new file mode 100644 index 0000000000..5e67c2251a --- /dev/null +++ b/anda/devs/yadm/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "yadm.spec" + } +} diff --git a/anda/devs/yadm/update.rhai b/anda/devs/yadm/update.rhai new file mode 100644 index 0000000000..3a14a8a34b --- /dev/null +++ b/anda/devs/yadm/update.rhai @@ -0,0 +1 @@ +rpm.version(gh_tag("yadm-dev/yadm")); diff --git a/anda/devs/yadm/yadm.spec b/anda/devs/yadm/yadm.spec new file mode 100644 index 0000000000..c063388855 --- /dev/null +++ b/anda/devs/yadm/yadm.spec @@ -0,0 +1,78 @@ +Name: yadm +Version: 3.5.0 +Release: 1%{?dist} +Summary: Yet Another Dotfiles Manager + +License: GPL-3.0-only +URL: https://yadm.io +Source: https://github.com/yadm-dev/yadm/archive/refs/tags/%{version}.tar.gz +Packager: madonuko + +BuildArch: noarch +Requires: bash git + +%description +yadm is a tool for managing a collection of files across multiple computers, +using a shared Git repository. In addition, yadm provides a feature to select +alternate versions of files based on the operation system or host name. Lastly, +yadm supplies the ability to manage a subset of secure files, which are +encrypted before they are included in the repository. + + +%package bash-completion +Summary: Bash completion for %{name} +Requires: %{name} = %{version}-%{release} +Requires: bash-completion +Supplements: (%{name} and bash-completion) + +%description bash-completion +Bash command line completion support for %{name}. + +%package fish-completion +Summary: Fish completion for %{name} +Requires: %{name} = %{version}-%{release} +Requires: fish +Supplements: (%{name} and fish) + +%description fish-completion +Fish command line completion support for %{name}. + +%package zsh-completion +Summary: Zsh completion for %{name} +Requires: %{name} = %{version}-%{release} +Requires: zsh +Supplements: (%{name} and zsh) + +%description zsh-completion +Zsh command line completion support for %{name}. + + +%prep +%autosetup + +%install +install -Dpm755 yadm -t %buildroot%_bindir +install -Dpm644 yadm.1 -t %buildroot%_mandir/man1 +install -Dpm644 -t %buildroot%bash_completions_dir completion/bash/yadm +install -Dpm644 -t %buildroot%fish_completions_dir completion/fish/yadm.fish +install -Dpm644 -t %buildroot%zsh_completions_dir completion/zsh/_yadm + +%files +%doc README.* CHANGES CONTRIBUTORS +%doc contrib +%license LICENSE +%_bindir/yadm +%_mandir/man1/yadm.1.gz + +%files bash-completion +%bash_completions_dir/yadm + +%files fish-completion +%fish_completions_dir/yadm.fish + +%files zsh-completion +%zsh_completions_dir/_yadm + +%changelog +* Sun May 05 2024 madonuko - 0.5-1 +- Initial package.