diff options
Diffstat (limited to 'pugixml.spec')
-rw-r--r-- | pugixml.spec | 71 |
1 files changed, 71 insertions, 0 deletions
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 |