diff options
| author | CoprDistGit <infra@openeuler.org> | 2026-10-12 09:17:26 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2026-10-12 09:17:26 +0000 |
| commit | 8f1cc6e04ff4d6142d319d6081858452ffe3c481 (patch) | |
| tree | 40cc4022ae37b8ef447e5191f6e7a791a7924811 | |
| parent | 834431352e2312be8104dfdbb4368c519fb7ca0b (diff) | |
automatic import of geographiclib-tools
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | geographiclib-tools.spec | 85 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 87 insertions, 0 deletions
@@ -0,0 +1 @@ +/geographiclib-tools-2.7.0.tar.gz diff --git a/geographiclib-tools.spec b/geographiclib-tools.spec new file mode 100644 index 0000000..b42c239 --- /dev/null +++ b/geographiclib-tools.spec @@ -0,0 +1,85 @@ +# topdir: geographiclib-tools-2.7.0 +Name: geographiclib-tools +Version: 2.7.0 +Release: 1%{?dist} +Summary: GeographicLib command-line tools for geodesic and coordinate conversions + +License: MIT +URL: https://github.com/geographiclib/geographiclib +Source0: https://github.com/geographiclib/geographiclib/archive/48959dfc4a581ad29f76b526726a801473767c98.tar.gz#/%{name}-%{version}.tar.gz + +Group: Development/Tools +Packager: openEuler Builder <builder@openeuler.org> + +BuildRequires: cmake +BuildRequires: gcc-c++ + +%description +GeographicLib provides a C++ library and command-line tools for: +* geodesic and rhumb line calculations +* conversions between geographic, UTM, UPS, MGRS, geocentric, + and local cartesian coordinates +* gravity (e.g. EGM2008) and geomagnetic field (e.g. WMM2020) + calculations +* computations on a triaxial ellipsoid. + +This package provides the command-line tools. + +%package libs +Summary: GeographicLib shared library +Group: Development/Libraries +Packager: openEuler Builder <builder@openeuler.org> +Provides: GeographicLib = %{version}-%{release} +Provides: GeographicLib%{?_isa} = %{version}-%{release} + +%description libs +The geographiclib-tools-libs package contains the shared GeographicLib +library used by the command-line tools and other applications. + +%package devel +Summary: Development files for GeographicLib +Group: Development/Libraries +Packager: openEuler Builder <builder@openeuler.org> +Requires: %{name}-libs = %{version}-%{release} +Provides: GeographicLib-devel = %{version}-%{release} +Provides: cmake(GeographicLib) = %{version} + +%description devel +Header files, CMake integration files, and pkgconfig for GeographicLib +development. + +%prep +%autosetup -n %{name}-%{version} + +%build +%cmake_conf \ + -DBUILD_SHARED_LIBS=ON \ + -DBUILD_DOCUMENTATION=OFF \ + -DCONVERT_WARNINGS_TO_ERRORS=OFF \ + -DUSE_BOOST=OFF +%cmake_build + +%install +%cmake_install + +%files +%license LICENSE.txt +%doc README.md NEWS AUTHORS +%{_bindir}/* +%{_sbindir}/* +%{_mandir}/man1/*.1* +%{_mandir}/man8/*.8* + +%files libs +%{_libdir}/libGeographicLib.so.26* +%license LICENSE.txt + +%files devel +%{_includedir}/GeographicLib/ +%{_libdir}/libGeographicLib.so +%{_libdir}/cmake/GeographicLib/ +%{_libdir}/pkgconfig/geographiclib.pc + +%changelog +* Mon Oct 12 2026 openEuler Builder <builder@openeuler.org> - 2.7.0-1 +- Initial package @@ -0,0 +1 @@ +2695c977685e023ca8f9f970bd6bf71b geographiclib-tools-2.7.0.tar.gz |
