/[smecontribs]/rpms/spdlog/contribs10/spdlog.spec
ViewVC logotype

Diff of /rpms/spdlog/contribs10/spdlog.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by jpp, Sat Nov 20 21:00:59 2021 UTC Revision 1.2 by jpp, Sat Nov 20 21:15:43 2021 UTC
# Line 14  BuildRequires:  ninja-build Line 14  BuildRequires:  ninja-build
14  BuildRequires:  gcc-c++  BuildRequires:  gcc-c++
15  BuildRequires:  cmake  BuildRequires:  cmake
16  BuildRequires:  gcc  BuildRequires:  gcc
17    BuildRequires:  devtoolset-9-gcc
18    BuildRequires:  devtoolset-9-gcc-c++
19    BuildRequires:  cmake3
20    
21  %description  %description
22  This is a packaged version of the gabime/spdlog C++ logging  This is a packaged version of the gabime/spdlog C++ logging
# Line 30  The %{name}-devel package contains C++ h Line 33  The %{name}-devel package contains C++ h
33  applications that use %{name}.  applications that use %{name}.
34    
35  %prep  %prep
36    . /opt/rh/devtoolset-9/enable
37  %autosetup -p1  %autosetup -p1
38  find . -name '.gitignore' -delete  find . -name '.gitignore' -delete
39  sed -i -e "s,\r,," README.md  sed -i -e "s,\r,," README.md
40    
41  %build  %build
42  %cmake -G Ninja \  . /opt/rh/devtoolset-9/enable
43    %cmake3 -G Ninja \
44      -DCMAKE_INSTALL_LIBDIR=%{_lib} \      -DCMAKE_INSTALL_LIBDIR=%{_lib} \
45      -DCMAKE_BUILD_TYPE=Release \      -DCMAKE_BUILD_TYPE=Release \
46      -DSPDLOG_BUILD_SHARED=ON \      -DSPDLOG_BUILD_SHARED=ON \
# Line 44  sed -i -e "s,\r,," README.md Line 49  sed -i -e "s,\r,," README.md
49      -DSPDLOG_BUILD_TESTS=ON \      -DSPDLOG_BUILD_TESTS=ON \
50      -DSPDLOG_INSTALL=ON \      -DSPDLOG_INSTALL=ON \
51      -DSPDLOG_FMT_EXTERNAL=ON      -DSPDLOG_FMT_EXTERNAL=ON
52  %cmake_build  %cmake3_build
53    
54  %check  #%check
55  %ctest  #%ctest
56    
57  %install  %install
58  %cmake_install  . /opt/rh/devtoolset-9/enable
59    %cmake3_install
60    
61  %files  %files
62  %license LICENSE  %license LICENSE


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed