forked from pool/spdlog
Accepting request 357096 from home:msmeissn
new package, c++ header based logging OBS-URL: https://build.opensuse.org/request/show/357096 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=1
This commit is contained in:
commit
d01ed1ff70
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
spdlog-1.0.0.tar.bz2
Normal file
3
spdlog-1.0.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3e101a7b8bfa868d2a3035924acaf227ae85729f7c589055e29ba9e39e227f7d
|
||||
size 110108
|
5
spdlog.changes
Normal file
5
spdlog.changes
Normal file
@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 1 08:02:12 UTC 2016 - meissner@suse.com
|
||||
|
||||
- a c++ header only logging library
|
||||
|
91
spdlog.spec
Normal file
91
spdlog.spec
Normal file
@ -0,0 +1,91 @@
|
||||
#
|
||||
# spec file for package hello
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products 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
|
||||
Summary: C++ header only logging library
|
||||
License: MIT
|
||||
Group: Development/Languages/C and C++
|
||||
Version: 1.0.0
|
||||
Release: 0
|
||||
BuildRequires: cmake gcc-c++
|
||||
Url: https://github.com/gabime/spdlog/
|
||||
# they have not formally tagged or released something, but CMakeLists.txt says 1.0.0
|
||||
Source0: spdlog-1.0.0.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%package devel
|
||||
Summary: C++ header only logging library
|
||||
Group: Development/Languages/C and C++
|
||||
|
||||
%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.
|
||||
|
||||
%description devel
|
||||
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
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%cmake
|
||||
make
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
%files devel
|
||||
%defattr(-, root, root)
|
||||
%doc LICENSE README.md
|
||||
/usr/include/*
|
||||
%dir /usr/lib/cmake/spdlog
|
||||
%dir /usr/lib/cmake
|
||||
/usr/lib/cmake/spdlog/*.cmake
|
||||
|
||||
%changelog
|
Loading…
x
Reference in New Issue
Block a user