diff --git a/spdlog-0.16.3.tar.gz b/spdlog-0.16.3.tar.gz deleted file mode 100644 index 9a73af6..0000000 --- a/spdlog-0.16.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b88d7be261d9089c817fc8cee6c000d69f349b357828e4c7f66985bc5d5360b8 -size 163636 diff --git a/spdlog.changes b/spdlog.changes index 4a4d657..4ab842b 100644 --- a/spdlog.changes +++ b/spdlog.changes @@ -1,3 +1,36 @@ +------------------------------------------------------------------- +Mon Aug 13 08:32:18 UTC 2018 - windowskaput@gmail.com + +- Update to version 1.0.0 +- Highlights + * Include what you need: Reduce compilation times by including + only the minimum required. Users can now to include only + the actual sinks/features they need from spdlog/sinks folder. + * Upgrade to fmt lib version 5.1 + * Support for custom formatting per sink - each sink can have + it's own formatting and level using sink->set_pattern(..) or + sink->set_formatter(..). + * async logging - thread pool - async loggers now share a global + thread pool by default. + * periodic flusher: spdlog::flush_every(seconds) to periodically + flush all registered loggers. + * Improved performance - by caching some recently used values in + the pattern formatter. + * Ability to add sinks to a logger after its creation + (but it is not thread safe to do so - so use with caution). + +- Breaking changes + * Include what you need. For example to use basic_logger add + #include "spdlog/sinks/basic_file_sink.h" + * To use async loggers - include "spdlog/async.h" + * Replaced set_async_mode(..) with factory template. + * Removed printf support. + * Removed warmup/teardown functions from async. + * Custom sinks inheriting from sinks::base_sink need to format + (if needed) the message before sending to their target. + * Added clone() virtual function to the formatter interface. + * Removed support for #define SPDLOG_NO_REGISTRY_MUTEX + ------------------------------------------------------------------- Tue Apr 17 12:41:25 UTC 2018 - jengelh@inai.de diff --git a/spdlog.spec b/spdlog.spec index 668e464..79ed4d4 100644 --- a/spdlog.spec +++ b/spdlog.spec @@ -16,42 +16,41 @@ # +%define user gabime + Name: spdlog -Version: 0.16.3 +Version: 1.0.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/spdlog/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +URL: https://github.com/%{user}/%{name}/ +Source0: https://github.com/%{user}/%{name}/archive/v%{version}.tar.gz + BuildRequires: cmake -BuildRequires: dos2unix +BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: pkgconfig %description -spdlog is a C++ logging library implemented in headers only. It -supports the ostream call style, has an (optional) asynchronous mode -with lockfree queues, allows for custom formatting, knows -single-/multi-threaded loggers, has various log targets, log -rotation, can be extended with custom log targets, and has -compile-time and run-time severity-based filtering. +This is a packaged version of the gabime/spdlog header-only C++ +logging library available at Github. -%package devel -Summary: Development files for spdlog, a C++ header-only logging library +%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 -spdlog is a C++ logging library implemented in headers only. It -supports the ostream call style, has an (optional) asynchronous mode -with lockfree queues, allows for custom formatting, knows -single-/multi-threaded loggers, has various log targets, log -rotation, can be extended with custom log targets, and has -compile-time and run-time severity-based filtering. +%description devel +The %{name}-devel package contains C++ header files for developing +applications that use %{name}. %prep -%setup -q -dos2unix README.md +%autosetup +find . -name '.gitignore' -exec rm {} \; +sed -i -e "s,\r,," README.md %build %cmake diff --git a/v1.0.0.tar.gz b/v1.0.0.tar.gz new file mode 100644 index 0000000..8e03daf --- /dev/null +++ b/v1.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:90d5365121bcd2c41ce94dfe6a460e89507a2dfef6133fe5fad5bb35ac4ef0a1 +size 183855