2016-02-01 11:40:43 +01:00
|
|
|
#
|
2018-04-16 10:50:14 +02:00
|
|
|
# spec file for package spdlog
|
2016-02-01 11:40:43 +01:00
|
|
|
#
|
2018-04-16 10:50:14 +02:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2016-02-01 11:40:43 +01:00
|
|
|
#
|
|
|
|
# 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
|
2018-04-16 10:50:14 +02:00
|
|
|
Version: 0.16.3
|
|
|
|
Release: 0
|
2016-02-01 11:40:43 +01:00
|
|
|
Summary: C++ header only logging library
|
|
|
|
License: MIT
|
|
|
|
Group: Development/Languages/C and C++
|
|
|
|
Url: https://github.com/gabime/spdlog/
|
2018-04-16 10:50:14 +02:00
|
|
|
Source0: https://github.com/gabime/spdlog/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: dos2unix
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: pkgconfig
|
2016-02-01 11:40:43 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Very fast, header only, C++ logging library.
|
|
|
|
|
|
|
|
* Very fast - performance is the primary goal.
|
|
|
|
* Headers only.
|
|
|
|
* No dependencies - just copy and use.
|
|
|
|
* Feature rich call style using the excellent library.
|
|
|
|
* ostream call style is supported too.
|
|
|
|
* Extremely fast asynchronous mode (optional) - using lockfree queues and other tricks to reach millions of calls/sec.
|
|
|
|
* Custom formatting.
|
|
|
|
* Multi/Single threaded loggers.
|
|
|
|
* Various log targets:
|
|
|
|
* Rotating log files.
|
|
|
|
* Daily log files.
|
|
|
|
* Console logging.
|
|
|
|
* Linux syslog.
|
|
|
|
* Easily extendable with custom log targets (just implement a single function in the [sink](include/spdlog/sinks/sink.h) interface).
|
|
|
|
* Severity based filtering - threshold levels can be modified in runtime as well as in compile time.
|
|
|
|
|
2018-04-16 10:50:14 +02:00
|
|
|
%package devel
|
|
|
|
Summary: C++ header only logging library
|
|
|
|
Group: Development/Languages/C and C++
|
|
|
|
|
|
|
|
%description devel
|
2016-02-01 11:40:43 +01:00
|
|
|
Very fast, header only, C++ logging library.
|
|
|
|
|
|
|
|
* Very fast - performance is the primary goal.
|
|
|
|
* Headers only.
|
|
|
|
* No dependencies - just copy and use.
|
|
|
|
* Feature rich call style using the excellent library.
|
|
|
|
* ostream call style is supported too.
|
|
|
|
* Extremely fast asynchronous mode (optional) - using lockfree queues and other tricks to reach millions of calls/sec.
|
|
|
|
* Custom formatting.
|
|
|
|
* Multi/Single threaded loggers.
|
|
|
|
* Various log targets:
|
|
|
|
* Rotating log files.
|
|
|
|
* Daily log files.
|
|
|
|
* Console logging.
|
|
|
|
* Linux syslog.
|
|
|
|
* Easily extendable with custom log targets (just implement a single function in the [sink](include/spdlog/sinks/sink.h) interface).
|
|
|
|
* Severity based filtering - threshold levels can be modified in runtime as well as in compile time.
|
|
|
|
|
|
|
|
%prep
|
2018-04-16 10:50:14 +02:00
|
|
|
%setup -q
|
|
|
|
dos2unix README.md
|
2016-02-01 11:40:43 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake
|
2018-04-16 10:50:14 +02:00
|
|
|
make %{?_smp_mflags}
|
2016-02-01 11:40:43 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
%cmake_install
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%doc LICENSE README.md
|
2018-04-16 10:50:14 +02:00
|
|
|
%{_includedir}/%{name}
|
|
|
|
%{_libdir}/cmake/%{name}
|
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
2016-02-01 11:40:43 +01:00
|
|
|
|
|
|
|
%changelog
|