%undefine _auto_set_build_flags %undefine _package_note_file %global optflags %(echo %{optflags} | sed 's/-Werror=format-security//') Name: klogg Version: 22.06.0.1289 Release: 1%{?dist} Summary: A GUI application to browse and search through long and complex log files License: GPLv3 URL: https://github.com/variar/%{name} Source0: %{url}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: %{url}/releases/download/v22.06/%{name}-%{version}.deps.tar.gz BuildRequires: cmake BuildRequires: desktop-file-utils BuildRequires: git-core BuildRequires: ragel BuildRequires: boost-devel BuildRequires: cmake(Qt5Core) BuildRequires: cmake(Qt5Gui) BuildRequires: cmake(Qt5Widgets) BuildRequires: cmake(Qt5Network) BuildRequires: cmake(Qt5Xml) BuildRequires: cmake(Qt5Concurrent) BuildRequires: hyperscan-devel BuildRequires: kf5-karchive-devel BuildRequires: xxhash-devel BuildRequires: uchardet-devel #Requires: %description Klogg is a multi-platform GUI application that helps browse and search through long and complex log files. It is designed with programmers and system administrators in mind and can be seen as a graphical, interactive combination of grep, less, and tail. %prep %autosetup tar -xf %{SOURCE1} %build %cmake \ -DCPM_USE_LOCAL_PACKAGES=ON \ -DCPM_SOURCE_CACHE=./cpm_cache \ -DKLOGG_BUILD_TESTS=OFF %cmake_build %install %cmake_install rm -f %{buildroot}%{_datadir}/doc/klogg/COPYING desktop-file-validate %{buildroot}%{_datadir}/applications/klogg.desktop %files %license COPYING %doc DOCUMENTATION.md NOTICE README.md documentation.html %{_bindir}/klogg %{_datadir}/applications/klogg.desktop %{_datadir}/icons/hicolor/*/apps/klogg.* %changelog * Fri Jul 01 2022 Leigh Scott -