[packages/lib2geom] up to 1.3 (new soname)

atler atler at pld-linux.org
Tue Jul 25 19:55:24 CEST 2023


commit 9c1ae1c6a03f4384ede0371743800836d87ed55a
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue Jul 25 19:33:20 2023 +0200

    up to 1.3 (new soname)

 lib2geom.spec | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/lib2geom.spec b/lib2geom.spec
index 3c41e0a..7efeb2e 100644
--- a/lib2geom.spec
+++ b/lib2geom.spec
@@ -2,16 +2,19 @@
 # Conditional build:
 %bcond_without	python	# Python bindings
 #
+
+%define		full_ver	%(echo %{version} | tr -dC . | grep -q '^.$' && echo %{version}.0 || echo %{version})
+
 Summary:	2Geom - easy 2D graphics library
 Summary(pl.UTF-8):	2Geom - łatwa biblioteka do grafiki 2D
 Name:		lib2geom
-Version:	1.2.2
-Release:	2
+Version:	1.3
+Release:	1
 License:	LGPL v2.1 or MPL v1.1
 Group:		Libraries
 #Source0Download: https://gitlab.com/inkscape/lib2geom/-/tags
 Source0:	https://gitlab.com/inkscape/lib2geom/-/archive/%{version}/%{name}-%{version}.tar.bz2
-# Source0-md5:	814eb0c98fe9ae1ddbd1a36a361b81d8
+# Source0-md5:	8e218809019702382465c5da8448dbda
 Patch0:		%{name}-pc.patch
 Patch1:		%{name}-python-install.patch
 URL:		https://gitlab.com/inkscape/lib2geom
@@ -120,12 +123,12 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS.md LICENSE.md NEWS.md README.md TODO.md
-%attr(755,root,root) %{_libdir}/lib2geom.so.1.2.0
+%attr(755,root,root) %{_libdir}/lib2geom.so.1.3.0
 
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/lib2geom.so
-%{_includedir}/2geom-%{version}
+%{_includedir}/2geom-%{full_ver}
 %{_pkgconfigdir}/2geom.pc
 %{_libdir}/cmake/2Geom
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lib2geom.git/commitdiff/9c1ae1c6a03f4384ede0371743800836d87ed55a



More information about the pld-cvs-commit mailing list