summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-09-21 16:33:33 +0000
committerCoprDistGit <infra@openeuler.org>2026-09-21 16:33:33 +0000
commit745cda288241bfb3ba772fe17df1533f4dc157cf (patch)
treeab95b02b61cbbf7c074caf352c95259afabd5f12
parentc71b74cd2c2acf336e2cae63a0dc011098e1fc36 (diff)
automatic import of ros-humble-lanelet2-projection
-rw-r--r--.gitignore1
-rw-r--r--lanelet2-projection.spec (renamed from ros-humble-lanelet2-projection.spec)19
-rw-r--r--sources2
3 files changed, 7 insertions, 15 deletions
diff --git a/.gitignore b/.gitignore
index e371b14..a19c0be 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/ros-humble-lanelet2-projection-1.2.3.tar.gz
+/lanelet2-projection-1.2.3.tar.gz
diff --git a/ros-humble-lanelet2-projection.spec b/lanelet2-projection.spec
index abac602..cceae62 100644
--- a/ros-humble-lanelet2-projection.spec
+++ b/lanelet2-projection.spec
@@ -1,8 +1,6 @@
-# topdir(in archive): ros-humble-lanelet2-projection-1.2.3
-# (repo root of the lanelet2 monorepo; the ROS package source lives in the
-# lanelet2_projection/ sub-directory)
%define ros_distro humble
%define RosPkgName lanelet2-projection
+%define src_version 1.2.3
Name: ros-%{ros_distro}-%{RosPkgName}
Version: 1.2.3
@@ -10,22 +8,18 @@ Release: 1%{?dist}
Summary: Lanelet2 projection library for lat/lon to local x/y conversion
License: BSD
URL: https://github.com/fzi-forschungszentrum-informatik/lanelet2.git
-Source0: %{name}-%{version}.tar.gz
+Source0: %{RosPkgName}-%{src_version}.tar.gz
%global debug_package %{nil}
%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g')
%global __provides_exclude_from ^/opt/ros/%{ros_distro}/.*$
%global __requires_exclude_from ^/opt/ros/%{ros_distro}/.*$
-# package.xml <depend>geographiclib</depend>: mrt_cmake_modules' cmake.yaml maps it
-# to find_package(GeographicLib) (FindGeographicLib module -> GeographicLib_INCLUDE_DIRS
-# + GeographicLib_LIBRARIES). In the CI repo set the RPM is geographiclib-devel
-# (/usr/include/GeographicLib/Config.h, /usr/lib64/libGeographicLib.so) + geographiclib.
BuildRequires: cmake
BuildRequires: ros-%{ros_distro}-ament-cmake
BuildRequires: ros-%{ros_distro}-ament-cmake-core
-BuildRequires: ros-%{ros_distro}-mrt-cmake-modules
BuildRequires: ros-%{ros_distro}-lanelet2-io
+BuildRequires: ros-%{ros_distro}-mrt-cmake-modules
BuildRequires: geographiclib-devel
Requires: ros-%{ros_distro}-ros-workspace
@@ -41,14 +35,12 @@ Provides: %{name}-runtime = %{version}-%{release}
Lanelet2 projection library for lat/lon to local x/y conversion
%prep
-%autosetup -n %{name}-%{version}
+%autosetup -n %{RosPkgName}-%{src_version}
%build
[ -f /opt/ros/%{ros_distro}/setup.sh ] && source /opt/ros/%{ros_distro}/setup.sh || true
export PYTHONPATH=/opt/ros/%{ros_distro}/lib/python%{python3_version}/site-packages${PYTHONPATH:+:$PYTHONPATH}
export PKG_CONFIG_PATH=/opt/ros/%{ros_distro}/lib/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH}
-# rospkg OsDetect does not know openEuler, fall back to rhel so mrt_cmake_modules resolves deps
-export ROS_OS_OVERRIDE=rhel:8:final
cd lanelet2_projection
mkdir -p .obj && cd .obj
%cmake3 \
@@ -65,7 +57,6 @@ make %{?_smp_mflags}
[ -f /opt/ros/%{ros_distro}/setup.sh ] && source /opt/ros/%{ros_distro}/setup.sh || true
export PYTHONPATH=/opt/ros/%{ros_distro}/lib/python%{python3_version}/site-packages${PYTHONPATH:+:$PYTHONPATH}
export PKG_CONFIG_PATH=/opt/ros/%{ros_distro}/lib/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH}
-export ROS_OS_OVERRIDE=rhel:8:final
cd lanelet2_projection
cd .obj
make install DESTDIR=%{buildroot}
@@ -75,4 +66,4 @@ make install DESTDIR=%{buildroot}
%changelog
* Mon Sep 21 2026 ai-importer <ai-importer@openeuler.org> - 1.2.3-1
-- Initial import (ROS)
+- Initial import (ROS batch)
diff --git a/sources b/sources
index 96ef192..161fe50 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-bc129fd098e6c5deb5e5fa4a8bc67758 ros-humble-lanelet2-projection-1.2.3.tar.gz
+d2694c57c5959ab9e5eb5b4725f6e2ac lanelet2-projection-1.2.3.tar.gz