From 3076a2a60e61c80b0c2879fb8bbd5abb949f83ab Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 12 Oct 2026 09:30:25 +0000 Subject: automatic import of geographiclib-tools --- geographiclib-tools.spec | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/geographiclib-tools.spec b/geographiclib-tools.spec index b42c239..e7a5e8d 100644 --- a/geographiclib-tools.spec +++ b/geographiclib-tools.spec @@ -1,7 +1,7 @@ # topdir: geographiclib-tools-2.7.0 Name: geographiclib-tools Version: 2.7.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GeographicLib command-line tools for geodesic and coordinate conversions License: MIT @@ -13,6 +13,8 @@ Packager: openEuler Builder BuildRequires: cmake BuildRequires: gcc-c++ +BuildRequires: gcc +BuildRequires: make %description GeographicLib provides a C++ library and command-line tools for: @@ -56,7 +58,12 @@ development. -DBUILD_SHARED_LIBS=ON \ -DBUILD_DOCUMENTATION=OFF \ -DCONVERT_WARNINGS_TO_ERRORS=OFF \ - -DUSE_BOOST=OFF + -DUSE_BOOST=OFF \ + -DCMAKE_INSTALL_LIBDIR=%{_lib} \ + -DCMAKEDIR=%{_lib}/cmake/GeographicLib \ + -DPKGDIR=%{_lib}/pkgconfig \ + -DDOCDIR= \ + -DEXAMPLEDIR= %cmake_build %install @@ -81,5 +88,11 @@ development. %{_libdir}/pkgconfig/geographiclib.pc %changelog +* Mon Oct 12 2026 openEuler Builder - 2.7.0-2 +- Fix library install path: set CMAKE_INSTALL_LIBDIR/CMAKEDIR/PKGDIR to %%{_lib} + so shared lib, cmake config and pkgconfig go to lib64 not lib +- Disable HTML doc and example installation (DOCDIR/EXAMPLEDIR empty) to avoid + unpackaged files + * Mon Oct 12 2026 openEuler Builder - 2.7.0-1 - Initial package -- cgit v1.2.3