- Updated to version 0.17.0.
- Added tests support. - Added cmake and pkg-config support. Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
This commit is contained in:
parent
5bf5cca5be
commit
0622021362
|
@ -2,3 +2,4 @@
|
|||
/gabime-spdlog-cbc8ba7.tar.gz
|
||||
/gabime-spdlog-34bb86b.tar.gz
|
||||
/v0.10.0.tar.gz
|
||||
/v0.17.0.tar.gz
|
||||
|
|
2
sources
2
sources
|
@ -1 +1 @@
|
|||
5ed0596d539054c7f9f5440315eb758f v0.10.0.tar.gz
|
||||
SHA512 (v0.17.0.tar.gz) = c3d7c7b2d221b33ad4f4685207ff606d271635bd1ad7edab763a823880386f604d264343139f37b36a3e8654d6382dbed0d431556728676523e390b8fb4b2aef
|
||||
|
|
34
spdlog.spec
34
spdlog.spec
|
@ -2,14 +2,19 @@
|
|||
%global debug_package %{nil}
|
||||
|
||||
Name: spdlog
|
||||
Version: 0.10.0
|
||||
Release: 5%{?dist}
|
||||
Version: 0.17.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Super fast C++ logging library
|
||||
Group: Development/Libraries
|
||||
License: MIT
|
||||
URL: https://github.com/%{user}/%{name}/
|
||||
Source0: https://github.com/%{user}/%{name}/archive/v%{version}.tar.gz
|
||||
|
||||
BuildRequires: ninja-build
|
||||
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.
|
||||
|
@ -26,22 +31,35 @@ The %{name}-devel package contains C++ header files for developing
|
|||
applications that use %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
%autosetup
|
||||
mkdir -p %{_target_platform}
|
||||
find . -name '.gitignore' -exec rm {} \;
|
||||
sed -i -e "s,\r,," README.md
|
||||
|
||||
%build
|
||||
# Nothing to build here.
|
||||
pushd %{_target_platform}
|
||||
%cmake -G Ninja \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
..
|
||||
popd
|
||||
%ninja_build -C %{_target_platform}
|
||||
|
||||
%install
|
||||
find ./example -name '.gitignore' -exec rm {} \;
|
||||
mkdir -p %{buildroot}%{_includedir}
|
||||
cp -pvR include/spdlog %{buildroot}%{_includedir}
|
||||
%ninja_install -C %{_target_platform}
|
||||
|
||||
%files devel
|
||||
%doc README.md example/
|
||||
%license LICENSE
|
||||
%{_includedir}/spdlog/
|
||||
%{_includedir}/%{name}
|
||||
%{_libdir}/cmake/%{name}
|
||||
%{_libdir}/pkgconfig/%{name}.pc
|
||||
|
||||
%changelog
|
||||
* Mon Jun 18 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.17.0-1
|
||||
- Updated to version 0.17.0.
|
||||
- Added tests support.
|
||||
- Added cmake and pkg-config support.
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue