forked from pool/spdlog
f2abd4ec23
- Update to version 1.1.0: * Bug fixes: + Fixed race condition in async-factory. + Fixed bug in spdlog_ex implementation. + Fixed race condition in the unit tests. * Improvements: + Some micro optimizations. + Improve and fix CMake issues. + Added overrun_counter() to the async thread pool queue + Fixed some clang tidy warnings. - Cleanup spec file from clutter OBS-URL: https://build.opensuse.org/request/show/629560 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=14
68 lines
1.8 KiB
RPMSpec
68 lines
1.8 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/
|
|
#
|
|
|
|
|
|
Name: spdlog
|
|
Version: 1.1.0
|
|
Release: 0
|
|
Summary: C++ header only logging library
|
|
License: MIT
|
|
Group: Development/Languages/C and C++
|
|
URL: https://github.com/gabime/spdlog
|
|
Source0: https://github.com/gabime/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
BuildRequires: cmake
|
|
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++
|
|
Requires: libstdc++-devel
|
|
Provides: %{name} = %{version}
|
|
|
|
%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_jobs
|
|
|
|
%install
|
|
%cmake_install
|
|
|
|
%check
|
|
%ctest
|
|
|
|
%files devel
|
|
%doc README.md
|
|
%license LICENSE
|
|
%{_includedir}/%{name}
|
|
%{_libdir}/cmake/%{name}
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
|
%changelog
|