diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | lanelet2-projection.spec (renamed from ros-humble-lanelet2-projection.spec) | 19 | ||||
| -rw-r--r-- | sources | 2 |
3 files changed, 7 insertions, 15 deletions
@@ -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) @@ -1 +1 @@ -bc129fd098e6c5deb5e5fa4a8bc67758 ros-humble-lanelet2-projection-1.2.3.tar.gz +d2694c57c5959ab9e5eb5b4725f6e2ac lanelet2-projection-1.2.3.tar.gz |
