# Generated by go2rpm 1.3 %bcond_without check # https://github.com/msprev/fzf-bibtex %global goipath github.com/msprev/fzf-bibtex %global commit d5df2c6e93cc683573cb8c6d5bcc690ea50de9ae %gometa %global common_description %{expand: A BibTeX source for fzf. fzf-bibtex uses BibTool parse BibTeX files, caches the results, and supports vim integration for users of the fzf.vim plugin. It includes support for Markdown and LaTeX citation formats.} %global golicenses LICENSE.txt %global godocs readme.md Name: %{goname} # Upstream includes release notes for past releases, but does not post # tarballs or use git tags, so we ship the latest Git. Version: 1.1 Release: 4%{?dist} Summary: A BibTeX source for fzf # Upstream license specification: BSD-3-Clause License: BSD URL: %{gourl} Source0: %{gosource} Requires: BibTool Requires: fzf %description %{common_description} %prep %goprep %build for cmd in cmd/* ; do %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd done %install install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %if %{with check} %check %gocheck %endif %files %license LICENSE.txt %doc readme.md %{_bindir}/* %changelog * Sat Feb 05 2022 Daniel Moerner - 1.1-4.20220201git50de9ae - Update to upstream git head. * Thu Jan 20 2022 Fedora Release Engineering - 1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Mar 05 16:43:50 EST 2021 Daniel Moerner - 0-0.1.20210305git53c49fa - Initial package