## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## 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 # https://github.com/danielmiessler/Fabric %global goipath github.com/danielmiessler/fabric %global forgeurl https://github.com/danielmiessler/Fabric Version: 1.4.474 %gometa -L -f Name: fabric Release: %autorelease Summary: Fabric is an open-source framework for augmenting humans using AI. It provides a modular system for solving specific problems using a crowdsourced set of AI prompts that can be used anywhere # Generated by go-vendor-tools License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0 URL: %{gourl} Source0: %{gosource} # Generated by go-vendor-tools Source1: %{archivename}-vendor.tar.bz2 Source2: go-vendor-tools.toml BuildRequires: go-vendor-tools %description Fabric is an open-source framework for augmenting humans using AI. It provides a modular system for solving specific problems using a crowdsourced set of AI prompts that can be used anywhere. %prep %goprep -A %setup -q -T -D -a1 %{forgesetupargs} %autopatch -p1 %generate_buildrequires %go_vendor_license_buildrequires -c %{S:2} %build %global gomodulesmode GO111MODULE=on %gobuild -o %{gobuilddir}/bin/fabric %{goipath}/cmd/fabric %install %go_vendor_license_install -c %{S:2} install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ # refresh shell completion syntax and install echo "+++ INSTALLING shell completion" # bash install -d -m 0755 %{buildroot}%{bash_completions_dir} install -D -m 0644 -t %{buildroot}%{bash_completions_dir} ./completions/fabric.bash # fish install -d -m 0755 %{buildroot}%{fish_completions_dir} install -D -m 0644 -t %{buildroot}%{fish_completions_dir} ./completions/fabric.fish # zsh install -d -m 0755 %{buildroot}%{zsh_completions_dir} install -D -m 0644 -t %{buildroot}%{zsh_completions_dir} ./completions/_fabric %check %go_vendor_license_check -c %{S:2} %if %{with check} %global test_ignores %{shrink: %dnl skip tests that fail with create tmp file: open - invalid argument -s "TestSysPlugin" } %gocheck2 %{test_ignores} %endif %files -f %{go_vendor_license_filelist} %doc docs CHANGELOG.md README.md %{_bindir}/fabric %{bash_completions_dir}/fabric.bash %{fish_completions_dir}/fabric.fish %{zsh_completions_dir}/_fabric %changelog ## START: Generated by rpmautospec * Thu Sep 03 2026 Bradley G Smith - 1.4.474-1 - Uncommitted changes * Fri Jul 10 2026 Bradley G Smith - 1.4.457-1 - release 1.4.457 * Thu Jul 09 2026 Bradley G Smith - 1.4.456-1 - Drop duplicate license entry * Sun Jan 11 2026 Bradley G Smith - 1.4.375-1 - Add initial content ## END: Generated by rpmautospec