summaryrefslogtreecommitdiff
path: root/spdlog.spec
blob: ed7fdaddd90ceec4d41fc52647b834417b57c471 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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

%files
%defattr(-,root,root)
%{_includedir}/%{name}/*
%{_libdir}/cmake/%{name}/*.cmake
%{_libdir}/*.so
%{_libdir}/*.so.*
%{_libdir}/pkgconfig/spdlog.pc

%changelog
*    Mon Nov 26 2018 Sujay G <gsujay@vmware.com> 1.1.0-2
-    Added %check section
*    Fri Sep 21 2018 Srinidhi Rao <srinidhir@vmware.com> 1.1.0-1
-    Updating the version to 1.1.0-1.
*    Wed Jul 05 2017 Vinay Kulkarni <kulkarniv@vmware.com> 0.13.0-1
-    Initial version of spdlog package for Photon.