%define _disable_lto 1 %define _disable_ld_no_undefined 1 Name: clazy Summary: Qt oriented code checker Version: 1.11 Release: 1 Group: Graphical desktop/KDE License: GPLv2 Url: http://www.aelog.org/ Source0: http://download.kde.org/stable/%{name}/%{version}/src/%{name}-%{version}.tar.xz #Patch0: clazy-1.9-llvm-12.0.patch BuildRequires: cmake(ECM) BuildRequires: cmake(Polly) BuildRequires: llvm-devel BuildRequires: clang-devel %description Qt oriented code checker based on clang framework. Krazy's little brother. %prep %autosetup -p1 %cmake_kde5 %build %ninja -C build %install %ninja_install -C build %files %doc README.md %{_bindir}/%{name} %{_bindir}/%{name}-standalone %{_libdir}/ClazyPlugin.so %doc %{_mandir}/man1/%{name}.1* %{_datadir}/metainfo/org.kde.clazy.metainfo.xml %{_docdir}/clazy/*