From d2b6733e581fc369fe02ffaf779a62046dffdcfc Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Sun, 20 Sep 2026 13:37:23 +0000 Subject: automatic import of pugixml-devel --- .gitignore | 1 + pugixml-devel.spec | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 53 insertions(+) create mode 100644 pugixml-devel.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..37bf144 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/pugixml-devel-1.16.tar.gz diff --git a/pugixml-devel.spec b/pugixml-devel.spec new file mode 100644 index 0000000..14f4334 --- /dev/null +++ b/pugixml-devel.spec @@ -0,0 +1,51 @@ +Name: pugixml-devel +Version: 1.16 +Release: 1%{?dist} +Summary: Light-weight, simple and fast XML parser for C++ with XPath support + +License: MIT +URL: https://github.com/zeux/pugixml +Source0: https://github.com/zeux/pugixml/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz + +Group: Development/Libraries +Packager: openEuler Builder + +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 the shared library and development headers +for building applications with pugixml. + +%prep +%autosetup -n pugixml-%{version} -p1 + +%build +%cmake \ + -DBUILD_SHARED_LIBS=ON \ + -DPUGIXML_BUILD_TESTS=OFF +%cmake_build + +%install +%cmake_install + +%files +%license LICENSE.md +%doc README.md readme.txt +%{_includedir}/pugiconfig.hpp +%{_includedir}/pugixml.hpp +%{_libdir}/libpugixml.so +%{_libdir}/libpugixml.so.* +%{_libdir}/cmake/pugixml/ +%{_libdir}/pkgconfig/pugixml.pc + +%changelog +* Sun Sep 20 2026 openEuler Builder - 1.16-1 +- Initial package for pugixml 1.16 diff --git a/sources b/sources new file mode 100644 index 0000000..bafb681 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +ef1cfe5907a7c5af6f01f24c5969c4d3 pugixml-devel-1.16.tar.gz -- cgit v1.2.3