summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-08-06 12:05:58 +0000
committerCoprDistGit <infra@openeuler.org>2025-08-06 12:05:58 +0000
commit3e68470eea251a3ce2c80d64ff5716103be075d3 (patch)
tree070c9549917da7e70909654871af045e671c000b
parentdb08623c09b757b5b8027e89da572c117b2f3490 (diff)
automatic import of pugixmlopeneuler25.03
-rw-r--r--.gitignore1
-rw-r--r--pugixml.spec65
-rw-r--r--sources1
3 files changed, 67 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..5602416 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pugixml-1.13.tar.gz
diff --git a/pugixml.spec b/pugixml.spec
new file mode 100644
index 0000000..11c8c4a
--- /dev/null
+++ b/pugixml.spec
@@ -0,0 +1,65 @@
+Name: pugixml
+Version: 1.13
+Release: 1
+Summary: A light-weight C++ XML processing library
+License: MIT
+URL: http://pugixml.org
+
+Source0: https://github.com/zeux/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
+
+BuildRequires: cmake gcc-c++
+
+%description
+pugixml is a light-weight C++ XML processing library.
+It features:
+- DOM-like interface with rich traversal/modification capabilities
+- Extremely fast non-validating XML parser which constructs the DOM tree from
+ an XML file/buffer
+- XPath 1.0 implementation for complex data-driven tree queries
+- Full Unicode support with Unicode interface variants and automatic encoding
+ conversions
+
+
+%package devel
+Summary: Development files for %{name}
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description devel
+Development files for package %{name}
+
+%package doc
+Summary: Documentation for %{name}
+Requires: %{name} = %{version}-%{release}
+
+%description doc
+Documentation for %{name}
+
+%prep
+%autosetup -p1
+
+%build
+%cmake
+%cmake_build
+
+%install
+%cmake_install
+
+%ldconfig_scriptlets
+
+%files
+%doc readme.txt
+%license LICENSE.md
+%{_libdir}/*.so.*
+
+%files devel
+%{_libdir}/*.so
+%{_libdir}/cmake/pugixml/
+%{_libdir}/pkgconfig/pugixml.pc
+%{_includedir}/*.hpp
+
+%files doc
+%doc docs/*
+
+%changelog
+* Tue Aug 5 2025 mimanchiok <mimanchiok@qq.com> - 1.13-1
+- project init
diff --git a/sources b/sources
new file mode 100644
index 0000000..557edd6
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+3e4c588e03bdca140844f3c47c1a995e pugixml-1.13.tar.gz