- 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
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@
|
|||||||
/gabime-spdlog-cbc8ba7.tar.gz
|
/gabime-spdlog-cbc8ba7.tar.gz
|
||||||
/gabime-spdlog-34bb86b.tar.gz
|
/gabime-spdlog-34bb86b.tar.gz
|
||||||
/v0.10.0.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}
|
%global debug_package %{nil}
|
||||||
|
|
||||||
Name: spdlog
|
Name: spdlog
|
||||||
Version: 0.10.0
|
Version: 0.17.0
|
||||||
Release: 5%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Super fast C++ logging library
|
Summary: Super fast C++ logging library
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/%{user}/%{name}/
|
URL: https://github.com/%{user}/%{name}/
|
||||||
Source0: https://github.com/%{user}/%{name}/archive/v%{version}.tar.gz
|
Source0: https://github.com/%{user}/%{name}/archive/v%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: ninja-build
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: cmake
|
||||||
|
BuildRequires: gcc
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This is a packaged version of the gabime/spdlog header-only C++
|
This is a packaged version of the gabime/spdlog header-only C++
|
||||||
logging library available at Github.
|
logging library available at Github.
|
||||||
@ -26,22 +31,35 @@ The %{name}-devel package contains C++ header files for developing
|
|||||||
applications that use %{name}.
|
applications that use %{name}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%autosetup
|
||||||
|
mkdir -p %{_target_platform}
|
||||||
|
find . -name '.gitignore' -exec rm {} \;
|
||||||
|
sed -i -e "s,\r,," README.md
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# Nothing to build here.
|
pushd %{_target_platform}
|
||||||
|
%cmake -G Ninja \
|
||||||
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
..
|
||||||
|
popd
|
||||||
|
%ninja_build -C %{_target_platform}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
find ./example -name '.gitignore' -exec rm {} \;
|
%ninja_install -C %{_target_platform}
|
||||||
mkdir -p %{buildroot}%{_includedir}
|
|
||||||
cp -pvR include/spdlog %{buildroot}%{_includedir}
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%doc README.md example/
|
%doc README.md example/
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{_includedir}/spdlog/
|
%{_includedir}/%{name}
|
||||||
|
%{_libdir}/cmake/%{name}
|
||||||
|
%{_libdir}/pkgconfig/%{name}.pc
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-5
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user