10 |
Source0: https://github.com/zeux/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz |
Source0: https://github.com/zeux/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz |
11 |
|
|
12 |
BuildRequires: cmake gcc-c++ |
BuildRequires: cmake gcc-c++ |
13 |
|
BuildRequires: cmake3 |
14 |
|
BuildRequires: devtoolset-9-gcc |
15 |
|
BuildRequires: devtoolset-9-gcc-c++ |
16 |
|
|
17 |
|
|
18 |
%description |
%description |
19 |
pugixml is a light-weight C++ XML processing library. |
pugixml is a light-weight C++ XML processing library. |
42 |
|
|
43 |
|
|
44 |
%prep |
%prep |
45 |
|
. /opt/rh/devtoolset-9/enable |
46 |
%setup -q -n %{name}-%{version}%{?prerel:%{prerel}} |
%setup -q -n %{name}-%{version}%{?prerel:%{prerel}} |
47 |
|
|
48 |
|
|
49 |
%build |
%build |
50 |
%cmake |
. /opt/rh/devtoolset-9/enable |
51 |
%cmake_build |
%cmake3 |
52 |
|
%cmake3_build |
53 |
|
|
54 |
|
|
55 |
%install |
%install |
56 |
%cmake_install |
. /opt/rh/devtoolset-9/enable |
57 |
|
%cmake3_install |
58 |
|
|
59 |
|
|
60 |
%ldconfig_scriptlets |
%ldconfig_scriptlets |