summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--sources1
-rw-r--r--spdlog.spec48
3 files changed, 50 insertions, 0 deletions
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 <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.