forked from pool/spdlog
bb29fcf7f1
- Update to version 1.0.0 * Update README.md * Update file_log.cpp * add new line at end of file, fix compiler warnings * Merge pull request #784 from baishuai/v1.x * Namespace fix for the issue 785 * Merge pull request #786 from rajesh-p/v1.x * Modify travis-ci, fix issues * Move tsan/asan flag management to cmake * Run ASAN/TSAN jobs with clang * Add valgrind to a clang6 addon * Remove tsan and gcc 4.9 jobs * Merge pull request #789 from DanielChabrowski/ci-v1 * Improved CMakeLists and added bench * travis improvments * Removed gcc7 debug from travis * Added ASAN test in release build to travis * Replace emplace_back with push_back in pattern_formatter * Fixed clang warnings * Put override kw again * code formatting and clang tidy warnings fixes * Fixed warning in tests * Fixed some clang-tidy warning * micro optimization in log_msg constructor * formatting OBS-URL: https://build.opensuse.org/request/show/628983 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=9
73 lines
1.9 KiB
RPMSpec
73 lines
1.9 KiB
RPMSpec
#
|
|
# spec file for package spdlog
|
|
#
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%define user gabime
|
|
|
|
Name: spdlog
|
|
Version: 1.0.0
|
|
Release: 0
|
|
Summary: C++ header only logging library
|
|
License: MIT
|
|
Group: Development/Languages/C and C++
|
|
URL: https://github.com/%{user}/%{name}/
|
|
Source0: https://github.com/%{user}/%{name}/archive/v%{version}.tar.gz
|
|
|
|
BuildRequires: cmake
|
|
BuildRequires: gcc
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: pkgconfig
|
|
|
|
%description
|
|
This is a packaged version of the gabime/spdlog header-only C++
|
|
logging library available at Github.
|
|
|
|
%package devel
|
|
Summary: Development files for %{name}
|
|
Group: Development/Languages/C and C++
|
|
Provides: %{name} = %{version}-%{release}
|
|
Provides: %{name}-static = %{version}-%{release}
|
|
Requires: libstdc++-devel
|
|
|
|
%description devel
|
|
The %{name}-devel package contains C++ header files for developing
|
|
applications that use %{name}.
|
|
|
|
%prep
|
|
%autosetup
|
|
find . -name '.gitignore' -exec rm {} \;
|
|
sed -i -e "s,\r,," README.md
|
|
|
|
%build
|
|
%cmake
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%cmake_install
|
|
|
|
%check
|
|
%ctest
|
|
|
|
%files devel
|
|
%doc README.md
|
|
%license LICENSE
|
|
%{_includedir}/%{name}
|
|
%{_libdir}/cmake/%{name}
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
|
%changelog
|