spdlog 1.3.1-3 (x86_64;i686;znver1) 2019-6563
9999
| Status | published | ||||||
| Submitter | nobodydead [@T] gmail.com | ||||||
| Platform | rolling | ||||||
| Repository | main | ||||||
| URL | https://abf.openmandriva.org/build_lists/599995 | ||||||
| Packages |
|
||||||
| Build Date | 2019-09-09 23:11:34 +0000 UTC | ||||||
| Last Updated | 2019-09-26 16:08:14.259826937 +0000 UTC |
$ git show --format=fuller --patch-with-stat --summary 8da5d39153a721406d18dd0b1140823c8bc3db26
commit 8da5d39153a721406d18dd0b1140823c8bc3db26
Author: Alex <alexander@mezon.ru>
AuthorDate: Mon Sep 9 22:17:49 2019 +0000
Commit: Alex <alexander@mezon.ru>
CommitDate: Mon Sep 9 22:17:49 2019 +0000
add spdlog
---
.abf.yml | 2 ++
spdlog.spec | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 72 insertions(+)
create mode 100644 .abf.yml
create mode 100644 spdlog.spec
diff --git a/.abf.yml b/.abf.yml
new file mode 100644
index 0000000..0c19c67
--- /dev/null
+++ b/.abf.yml
@@ -0,0 +1,2 @@
+sources:
+ v1.3.1.tar.gz: 9a1cb86446ff9b826213529d0cf09a46e3dff4a2
diff --git a/spdlog.spec b/spdlog.spec
new file mode 100644
index 0000000..8223171
--- /dev/null
+++ b/spdlog.spec
@@ -0,0 +1,70 @@
+%global major 0
+%global user gabime
+%global debug_package %{nil}
+
+Name: spdlog
+Version: 1.3.1
+Release: %mkrel 3
+Summary: Super fast C++ logging library
+Group: Development/C
+License: MIT
+URL: https://github.com/%{user}/%{name}/
+Source0: https://github.com/%{user}/%{name}/archive/v%{version}.tar.gz
+
+BuildRequires: ninja
+BuildRequires: fmt-devel
+BuildRequires: gcc-c++
+BuildRequires: cmake
+BuildRequires: gcc
+
+%description
+This is a packaged version of the gabime/spdlog header-only C++
+logging library available at Github.
+
+%package devel
+Group: Development/C
+Summary: Development files for %{name}
+Provides: %{name}-static = %{version}-%{release}
+Provides: %{name} = %{version}-%{release}
+Requires: libstdc++-devel
+Requires: fmt-devel
+
+%description devel
+The %{name}-devel package contains C++ header files for developing
+applications that use %{name}.
+
+%prep
+%autosetup
+mkdir -p %{_target_platform}
+find . -name '.gitignore' -exec rm {} \;
+sed -i -e "s,\r,," README.md
+# FC compatibility:
+ln -sf %{_target_platform} build
+
+%build
+pushd %{_target_platform}
+ cd ..
+ %cmake -G Ninja \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DSPDLOG_BUILD_EXAMPLES=OFF \
+ -DSPDLOG_BUILD_BENCH=OFF \
+ -DSPDLOG_BUILD_TESTS=ON \
+ -DSPDLOG_FMT_EXTERNAL=ON \
+
+popd
+%ninja_build -C %{_target_platform}
+
+%check
+pushd %{_target_platform}
+ ctest --output-on-failure
+popd
+
+%install
+%ninja_install -C %{_target_platform}
+
+%files devel
+%doc README.md example/
+%license LICENSE
+%{_includedir}/%{name}
+%{_libdir}/cmake/%{name}
+%{_libdir}/pkgconfig/%{name}.pc
Not Available
| benbullard79 [@T] cox.net | No Comment. | 2290d 04hrs |
| benbullard79 [@T] cox.net | Well past 7 days | 2278d 10hrs |
| benbullard79 [@T] cox.net | Fullness of time | 2278d 10hrs |