diff options
author | CoprDistGit <infra@openeuler.org> | 2024-05-27 03:56:39 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-05-27 03:56:39 +0000 |
commit | 77c2414652ad53a1d7a66ebad1a5c1b93bbfddd8 (patch) | |
tree | c516e68fa09820ab5ffc5fd59f0e4efa1698648a | |
parent | d9b3b373f5f804a134dae8bfb136950cbdbf90de (diff) |
automatic import of pugixmlopeneuler23.09openeuler22.03_LTS_SP3
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | pugixml.spec | 71 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 73 insertions, 0 deletions
@@ -0,0 +1 @@ +/pugixml-1.14.tar.gz diff --git a/pugixml.spec b/pugixml.spec new file mode 100644 index 0000000..1542126 --- /dev/null +++ b/pugixml.spec @@ -0,0 +1,71 @@ +Name: pugixml +Version: 1.14 +Release: 1%{?dist} +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 +* Mon May 27 2024 binshuo <binshuozu@gmail.com> - 1.14-1 +- Initial Release @@ -0,0 +1 @@ +06e4242ee2352ee63c2b6627c6e3addb pugixml-1.14.tar.gz |