[packages/libint2] Up to 2.14.1

arekm arekm at pld-linux.org
Thu Nov 26 09:06:30 CET 2026


commit 9b1ee846efa858753e3d684fa661b70c97dac55a
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Nov 26 03:17:56 2026 +0100

    Up to 2.14.1

 libint2-cmake-build-type.patch |  4 ++--
 libint2-destdir.patch          | 28 ----------------------------
 libint2-soversion.patch        | 26 --------------------------
 libint2.spec                   | 13 ++++---------
 4 files changed, 6 insertions(+), 65 deletions(-)
---
diff --git a/libint2.spec b/libint2.spec
index d339040..3c20aa1 100644
--- a/libint2.spec
+++ b/libint2.spec
@@ -1,16 +1,14 @@
 Summary:	Evaluation of certain two-body molecular integrals over Cartesian Gaussian functions
 Summary(pl.UTF-8):	Obliczanie całek dwuelementowych cząsteczek po kartezjańskich funkcjach Gaussa
 Name:		libint2
-Version:	2.13.1
+Version:	2.14.1
 Release:	1
 License:	LGPL v3
 Group:		Libraries
 #Source0Download: https://github.com/evaleev/libint/releases
-Source0:	https://github.com/evaleev/libint/releases/download/v%{version}/libint-%{version}.tgz
-# Source0-md5:	8484e51e11be0d92682b9858c651e33d
+Source0:	https://github.com/evaleev/libint/releases/download/v%{version}/libint-%{version}.tar.xz
+# Source0-md5:	541baf9afe246ff52d6a2743aa73d9b7
 Patch0:		%{name}-cmake-build-type.patch
-Patch1:		%{name}-destdir.patch
-Patch2:		%{name}-soversion.patch
 URL:		http://libint.valeyev.net/
 BuildRequires:	boost-devel
 BuildRequires:	cmake >= 3.16
@@ -73,8 +71,6 @@ Statyczna biblioteka libint.
 %prep
 %setup -q -n libint-%{version}
 %patch -P0 -p1
-%patch -P1 -p1
-%patch -P2 -p1
 
 %build
 %cmake -B build \
@@ -101,8 +97,7 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc CITATION LICENSE README.md
-%attr(755,root,root) %{_libdir}/libint2.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libint2.so.2
+%attr(755,root,root) %{_libdir}/libint2.so.3
 %{_datadir}/libint
 
 %files devel
diff --git a/libint2-cmake-build-type.patch b/libint2-cmake-build-type.patch
index 0ffef3b..0182244 100644
--- a/libint2-cmake-build-type.patch
+++ b/libint2-cmake-build-type.patch
@@ -1,5 +1,5 @@
---- libint-2.13.1/cmake/modules/autocmake_safeguards.cmake.orig	2025-02-03 00:00:00.000000000 +0000
-+++ libint-2.13.1/cmake/modules/autocmake_safeguards.cmake	2025-02-03 00:00:01.000000000 +0000
+--- libint-2.14.1/cmake/modules/autocmake_safeguards.cmake.orig	2025-02-03 00:00:00.000000000 +0000
++++ libint-2.14.1/cmake/modules/autocmake_safeguards.cmake	2025-02-03 00:00:01.000000000 +0000
 @@ -22,6 +22,7 @@
  if(NOT cmake_build_type_tolower STREQUAL "debug" AND
     NOT cmake_build_type_tolower STREQUAL "release" AND
diff --git a/libint2-destdir.patch b/libint2-destdir.patch
deleted file mode 100644
index f45a490..0000000
--- a/libint2-destdir.patch
+++ /dev/null
@@ -1,28 +0,0 @@
---- libint-2.13.1/CMakeLists.txt.orig	2026-03-15 03:05:28.663662645 +0100
-+++ libint-2.13.1/CMakeLists.txt	2026-03-15 03:05:28.665253823 +0100
-@@ -122,7 +122,7 @@
-         CACHE PATH "LIBINT2 LIB install directory")
- set(LIBINT2_INSTALL_DATADIR "share/libint/${LIBINT_VERSION}"
-         CACHE PATH "LIBINT2 DATA install directory")
--set(LIBINT2_INSTALL_CMAKEDIR "lib/cmake/libint2"
-+set(LIBINT2_INSTALL_CMAKEDIR "${CMAKE_INSTALL_LIBDIR}/cmake/libint2"
-         CACHE PATH "LIBINT2 CMAKE install directory")
- 
- 
-@@ -785,9 +785,15 @@
- install(CODE "
-   set(LIBINT_VERSION \"${LIBINT_VERSION}\")
-   set(LIBINT_DATADIR_ABSOLUTE \"\${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/libint/${LIBINT_VERSION}\")
-+  set(_dest_dir \"\$ENV{DESTDIR}\")
-+  if(IS_ABSOLUTE \"${LIBINT2_INSTALL_INCLUDEDIR}\")
-+    set(_inc_dir \"\${_dest_dir}${LIBINT2_INSTALL_INCLUDEDIR}\")
-+  else()
-+    set(_inc_dir \"\${_dest_dir}\${CMAKE_INSTALL_PREFIX}/${LIBINT2_INSTALL_INCLUDEDIR}\")
-+  endif()
-   configure_file(
-     \"${PROJECT_SOURCE_DIR}/include/libint2/basis.h.in\"
--    \"\${CMAKE_INSTALL_PREFIX}/${LIBINT2_INSTALL_INCLUDEDIR}/libint2/basis.h\"
-+    \"\${_inc_dir}/libint2/basis.h\"
-     @ONLY)
- ")
- 
diff --git a/libint2-soversion.patch b/libint2-soversion.patch
deleted file mode 100644
index c298526..0000000
--- a/libint2-soversion.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-Enable SOVERSION on shared libraries.
-Upstream fixed this in PRs #231/#331 for CMakeLists.txt.export but
-the pre-generated tarball's top-level CMakeLists.txt still has it
-commented out. All distros use SOVERSION 2.
-
---- libint-2.13.1/CMakeLists.txt.orig	2025-02-03 00:00:00.000000000 +0100
-+++ libint-2.13.1/CMakeLists.txt	2025-02-03 00:00:00.000000000 +0100
-@@ -362,6 +362,8 @@
-     set_target_properties(
-       int-shared
-       PROPERTIES
-+        VERSION ${LIBINT_VERSION}
-+        SOVERSION 2
-         OUTPUT_NAME "int2"
-         Libint2_VERSION "${LIBINT_VERSION}"
-         Libint2_MAX_AM_ERI "${Libint2_MAX_AM_ERI}"
-@@ -442,7 +444,8 @@
-             set_target_properties(
-               int-cxx-shared
-               PROPERTIES
--                #SOVERSION ${LIBINT_MAJOR_SOVERSION}
-+                VERSION ${LIBINT_VERSION}
-+                SOVERSION 2
-                 MACOSX_RPATH ON
-                 OUTPUT_NAME "int2-cxx"
-               )
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libint2.git/commitdiff/9b1ee846efa858753e3d684fa661b70c97dac55a



More information about the pld-cvs-commit mailing list