[packages/librevenge] - updated to 0.0.6; gdb printers switched to python3, but not sure if usable

qboosh qboosh at pld-linux.org
Sat Aug 8 21:51:14 CEST 2026


commit 80d95885737ba5dcabf6c1553aff148c6de92e30
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Aug 8 21:51:13 2026 +0200

    - updated to 0.0.6; gdb printers switched to python3, but not sure if usable

 librevenge.spec | 35 ++++++++++++++++++-----------------
 1 file changed, 18 insertions(+), 17 deletions(-)
---
diff --git a/librevenge.spec b/librevenge.spec
index c4e9ddf..ee0e27e 100644
--- a/librevenge.spec
+++ b/librevenge.spec
@@ -1,17 +1,17 @@
 #
 # Conditional build:
-%bcond_without	static_libs	# don't build static library
+%bcond_without	static_libs	# static libraries
 %bcond_without	gdb		# GDB pretty printers
 
 Summary:	Library for generic document converters
 Summary(pl.UTF-8):	Biblioteka dla ogólnych konwerterów dokumentów
 Name:		librevenge
-Version:	0.0.5
+Version:	0.0.6
 Release:	1
 License:	MPL v2.0 or LGPL v2.1+
 Group:		Libraries
 Source0:	https://downloads.sourceforge.net/libwpd/%{name}-%{version}.tar.xz
-# Source0-md5:	c6e629dfb9557a6a2cd4309b31eddfa8
+# Source0-md5:	ed1664f4d453d42d45ca7fc1e057e3a4
 URL:		https://sourceforge.net/p/libwpd/wiki/librevenge/
 BuildRequires:	autoconf >= 2.65
 BuildRequires:	automake >= 1:1.11
@@ -21,8 +21,8 @@ BuildRequires:	doxygen
 BuildRequires:	libstdc++-devel >= 6:4.7
 BuildRequires:	libtool >= 2:2
 BuildRequires:	pkgconfig
-%{?with_gdb:BuildRequires:	python}
-%{?with_gdb:BuildRequires:	python-modules}
+%{?with_gdb:BuildRequires:	python3 >= 1:3.2}
+%{?with_gdb:BuildRequires:	python3-modules >= 1:3.2}
 BuildRequires:	rpm-build >= 4.6
 BuildRequires:	rpmbuild(macros) >= 1.234
 BuildRequires:	tar >= 1:1.22
@@ -82,6 +82,7 @@ Summary:	GDB Python pretty printers for librevenge types
 Summary(pl.UTF-8):	Skrypty Pythona dla GDB do ładnego wypisywania typów librevenge
 Group:		Development/Debuggers
 Requires:	gdb
+Requires:	python3-six
 
 %description gdb
 GDB Python pretty printers for librevenge types.
@@ -103,6 +104,7 @@ Skrypty Pythona dla GDB do ładnego wypisywania typów librevenge.
 	%{?with_static_libs:--enable-static} \
 	--disable-werror \
 	--disable-silent-rules
+
 %{__make}
 
 %install
@@ -115,9 +117,8 @@ rm -rf $RPM_BUILD_ROOT
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/librevenge-*.la
 
 %if %{with gdb}
-%py_comp $RPM_BUILD_ROOT%{_datadir}/librevenge/python/librevenge
-%py_ocomp $RPM_BUILD_ROOT%{_datadir}/librevenge/python/librevenge
-%py_postclean %{_datadir}/librevenge/python/librevenge
+%py3_comp $RPM_BUILD_ROOT%{_datadir}/librevenge/python/librevenge
+%py3_ocomp $RPM_BUILD_ROOT%{_datadir}/librevenge/python/librevenge
 %endif
 
 %clean
@@ -129,18 +130,18 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
-%attr(755,root,root) %{_libdir}/librevenge-0.0.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/librevenge-0.0.so.0
-%attr(755,root,root) %{_libdir}/librevenge-generators-0.0.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/librevenge-generators-0.0.so.0
-%attr(755,root,root) %{_libdir}/librevenge-stream-0.0.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/librevenge-stream-0.0.so.0
+%{_libdir}/librevenge-0.0.so.*.*.*
+%ghost %{_libdir}/librevenge-0.0.so.0
+%{_libdir}/librevenge-generators-0.0.so.*.*.*
+%ghost %{_libdir}/librevenge-generators-0.0.so.0
+%{_libdir}/librevenge-stream-0.0.so.*.*.*
+%ghost %{_libdir}/librevenge-stream-0.0.so.0
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/librevenge-0.0.so
-%attr(755,root,root) %{_libdir}/librevenge-generators-0.0.so
-%attr(755,root,root) %{_libdir}/librevenge-stream-0.0.so
+%{_libdir}/librevenge-0.0.so
+%{_libdir}/librevenge-generators-0.0.so
+%{_libdir}/librevenge-stream-0.0.so
 %{_includedir}/librevenge-0.0
 %{_pkgconfigdir}/librevenge-0.0.pc
 %{_pkgconfigdir}/librevenge-generators-0.0.pc
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/librevenge.git/commitdiff/80d95885737ba5dcabf6c1553aff148c6de92e30



More information about the pld-cvs-commit mailing list