summaryrefslogtreecommitdiff
path: root/ros-humble-pugixml-devel.spec
blob: 816a555ad758355ebb573edace4e535d97c1f050 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# topdir: ros-humble-pugixml-devel-1.16
Name:           ros-humble-pugixml-devel
Version:        1.16
Release:        1%{?dist}
Summary:        C++ XML processing library (pugixml) for ROS Humble

License:        MIT
URL:            https://github.com/zeux/pugixml
Source0:        https://github.com/zeux/pugixml/archive/refs/tags/v1.16.tar.gz#/ros-humble-pugixml-devel-1.16.tar.gz

Group:          Development/Libraries
Packager:       openEuler Builder <builder@openeuler.org>

BuildRequires:  cmake
BuildRequires:  gcc-c++

%description
pugixml is a C++ XML processing library, which consists of a DOM-like
interface with rich traversal/modification capabilities, an extremely fast
XML parser which constructs the DOM tree from an XML file/buffer, and an
XPath 1.0 implementation for complex data-driven tree queries. Full Unicode
support is also available with Unicode interface variants and conversions
between different Unicode encodings.

This package provides development files and the shared library for use with
ROS Humble.

%prep
%autosetup -n %{name}-%{version}

%build
%cmake \
    -DBUILD_SHARED_LIBS=ON \
    -DPUGIXML_BUILD_TESTS=OFF \
    -DPUGIXML_INSTALL=ON
%cmake_build

%install
%cmake_install

%files
%license LICENSE.md
%doc README.md
%{_libdir}/libpugixml.so.*
%{_libdir}/libpugixml.so
%{_includedir}/pugiconfig.hpp
%{_includedir}/pugixml.hpp
%{_libdir}/cmake/pugixml/
%{_libdir}/pkgconfig/pugixml.pc

%changelog
* Mon Oct 12 2026 openEuler Builder <builder@openeuler.org> - 1.16-1
- Initial package