From 6f95b6046700401d7838d0b2b41cd9afb385c123 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 6 Mar 2023 07:23:39 +0000 Subject: automatic import of spdlog --- .gitignore | 1 + sources | 1 + spdlog.spec | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 50 insertions(+) create mode 100644 sources create mode 100644 spdlog.spec diff --git a/.gitignore b/.gitignore index e69de29..2bff366 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/spdlog-1.11.0.tar.gz diff --git a/sources b/sources new file mode 100644 index 0000000..7eb73ba --- /dev/null +++ b/sources @@ -0,0 +1 @@ +287c6492c25044fd2da9947ab120b2bd spdlog-1.11.0.tar.gz diff --git a/spdlog.spec b/spdlog.spec new file mode 100644 index 0000000..1a35dd8 --- /dev/null +++ b/spdlog.spec @@ -0,0 +1,48 @@ +Summary: Very fast, header only, C++ logging library. +Name: spdlog +Version: 1.11.0 +Release: 2%{?dist} +License: MIT +URL: https://github.com/gabime/spdlog +Source0: https://gitee.com/kjpioo2006/spdlog/raw/master/spdlog-%{version}.tar.gz +Group: Development/Tools +Vendor: VMware, Inc. +BuildRequires: automake +BuildRequires: cmake +BuildRequires: gcc + +%description +Very fast, header only, C++ logging library. + +%global debug_package %{nil} + +%prep +%setup -q + +%build +mkdir -p build +cd build +cmake -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} -DBUILD_SHARED_LIBS=ON .. +make %{?_smp_mflags} + +%install +cd build +make DESTDIR=%{buildroot} install + +%check +cd build +make test + +%files +%defattr(-,root,root) +%{_includedir}/%{name}/* +%{_lib64dir}/cmake/%{name}/*.cmake +%{_lib64dir}/pkgconfig/spdlog.pc + +%changelog +* Mon Nov 26 2018 Sujay G 1.1.0-2 +- Added %check section +* Fri Sep 21 2018 Srinidhi Rao 1.1.0-1 +- Updating the version to 1.1.0-1. +* Wed Jul 05 2017 Vinay Kulkarni 0.13.0-1 +- Initial version of spdlog package for Photon. -- cgit v1.2.3