commit 32146cc2fa9d4fa23c22fcd8c7caa8376c3e1d1d
Author: Jakub Bogusz <[email protected]>
Date:   Wed Apr 26 19:41:20 2023 +0200

    - updated to 1.13, separated -apidocs

 pugixml.spec | 26 +++++++++++++++++++++-----
 1 file changed, 21 insertions(+), 5 deletions(-)
---
diff --git a/pugixml.spec b/pugixml.spec
index aab8a78..a4003ff 100644
--- a/pugixml.spec
+++ b/pugixml.spec
@@ -5,17 +5,18 @@
 Summary:       C++ XML processing library
 Summary(pl.UTF-8):     Biblioteka C++ do przetwarzania XML-a
 Name:          pugixml
-Version:       1.11.4
-Release:       2
+Version:       1.13
+Release:       1
 License:       MIT
 Group:         Libraries
 #Source0Download: https://github.com/zeux/pugixml/releases
 Source0:       
https://github.com/zeux/pugixml/releases/download/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 2d2730d3412b08d3e70c795bc17003df
+# Source0-md5: 3e4c588e03bdca140844f3c47c1a995e
 Patch0:                longlong.patch
-URL:           http://pugixml.org/
+URL:           https://pugixml.org/
 BuildRequires: cmake >= 3.4
 BuildRequires: libstdc++-devel
+BuildRequires: rpm-build >= 4.6
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -62,6 +63,18 @@ Static pugixml library.
 %description static -l pl.UTF-8
 Statyczna biblioteka pugixml.
 
+%package apidocs
+Summary:       API documentation for pugixml library
+Summary(pl.UTF-8):     Dokumentacja API biblioteki pugixml
+Group:         Documentation
+BuildArch:     noarch
+
+%description apidocs
+API documentation for pugixml library.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API biblioteki pugixml.
+
 %prep
 %setup -q
 %patch0 -p1
@@ -109,7 +122,6 @@ rm -rf $RPM_BUILD_ROOT
 
 %files devel
 %defattr(644,root,root,755)
-%doc docs/*
 %attr(755,root,root) %{_libdir}/libpugixml.so
 %{_includedir}/pugiconfig.hpp
 %{_includedir}/pugixml.hpp
@@ -121,3 +133,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %{_libdir}/libpugixml.a
 %endif
+
+%files apidocs
+%defattr(644,root,root,755)
+%doc docs/*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pugixml.git/commitdiff/32146cc2fa9d4fa23c22fcd8c7caa8376c3e1d1d

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to