Name: Bear Version: 2.3.11 Release: 1%{?dist} Summary: Tool that generates a compilation database for clang tooling License: GPLv3 URL: https://github.com/rizsotto/%{name} Source: https://github.com/rizsotto/%{name}/archive/%{version}.tar.gz BuildRequires: cmake make python gcc %if 0%{?fedora} BuildRequires: python3-lit %endif Requires: python %description Build ear produces compilation database in JSON format. This database describes how single compilation unit should be processed and can be used by Clang tooling. %prep %setup -q %build %cmake . %make_build %install %make_install %if 0%{?fedora} %check make check %endif %ldconfig_post %ldconfig_postun %files %{_bindir}/bear %{_libdir}/bear/libear.so %doc %{_datadir}/doc/bear/* %doc %{_mandir}/man1/bear.1* %changelog * Tue Apr 10 2018 Dan Čermák 2.3.11-1 - Bump version to 2.3.11 * Thu Sep 03 2015 Pavel Odvody 2.1.2-1.git15f4447 - new package built with tito