diff --git a/anda/tools/fzy/anda.hcl b/anda/tools/fzy/anda.hcl new file mode 100644 index 0000000000..05c623bca8 --- /dev/null +++ b/anda/tools/fzy/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "fzy.spec" + } +} diff --git a/anda/tools/fzy/fzy.spec b/anda/tools/fzy/fzy.spec new file mode 100644 index 0000000000..4a58ee8dde --- /dev/null +++ b/anda/tools/fzy/fzy.spec @@ -0,0 +1,39 @@ +%global forgeurl https://github.com/jhawthorn/fzy +Version: 1.1 +%forgemeta + +Name: fzy +Release: 1%{?dist} +Summary: A fast, simple fuzzy text selector for the terminal + +License: MIT +URL: %{forgeurl} +Source0: %{forgesource} + +Packager: metcya + +BuildRequires: gcc +BuildRequires: make + +%description +fzy is a fast, simple fuzzy text selector for the terminal with an advanced +scoring algorithm. + +%prep +%forgeautosetup + +%build +%make_build + +%install +%make_install BINDIR="%{_bindir}" MANDIR="%{_mandir}" + +%files +%license LICENSE +%doc README.md ALGORITHM.md +%{_bindir}/%{name} +%{_mandir}/man1/%{name}.1.* + +%changelog +* Mon Mar 23 2026 metcya +- Initial package diff --git a/anda/tools/fzy/update.rhai b/anda/tools/fzy/update.rhai new file mode 100644 index 0000000000..d1f92a1a15 --- /dev/null +++ b/anda/tools/fzy/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("jhawthorn/fzy"));