Name: spdlog Version: 1.11.0 Release: 1%{?dist} License: MIT Summary: Super fast C++ logging library. Group: Development/Tools Vendor: VMware, Inc. URL: https://github.com/gabime/spdlog Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: cmake BuildRequires: fmt-devel BuildRequires: gcc BuildRequires: gcc-c++ %description This is a packaged version of the gabime/spdlog C++ logging library available at Github. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} Requires: libstdc++-devel%{?_isa} Requires: fmt-devel%{?_isa} %description devel The %{name}-devel package contains C++ header files for developing applications that use %{name}. %global debug_package %{nil} %prep %setup -q %build mkdir -p build cd build cmake -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_SHARED_LIBS=ON \ -DSPDLOG_BUILD_EXAMPLE=OFF \ -DSPDLOG_BUILD_BENCH=OFF \ -DSPDLOG_BUILD_TESTS=OFF \ -DSPDLOG_INSTALL=ON \ -DSPDLOG_FMT_EXTERNAL=ON .. make %{?_smp_mflags} %install cd build make DESTDIR=%{buildroot} install %files %license LICENSE %doc README.md %{_libdir}/lib%{name}.so.1* %files devel %doc example %{_includedir}/%{name} %{_libdir}/lib%{name}.so %{_libdir}/cmake/%{name} %{_libdir}/pkgconfig/%{name}.pc %changelog * Fri Apr 07 2023 kerneltravel - 1.11.0 - Initial package source version 1.11.0 from https://github.com/gabime/spdlog release.