From 745cda288241bfb3ba772fe17df1533f4dc157cf Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 21 Sep 2026 16:33:33 +0000 Subject: automatic import of ros-humble-lanelet2-projection --- .gitignore | 1 + lanelet2-projection.spec | 69 ++++++++++++++++++++++++++++++++ ros-humble-lanelet2-projection.spec | 78 ------------------------------------- sources | 2 +- 4 files changed, 71 insertions(+), 79 deletions(-) create mode 100644 lanelet2-projection.spec delete mode 100644 ros-humble-lanelet2-projection.spec 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/lanelet2-projection.spec b/lanelet2-projection.spec new file mode 100644 index 0000000..cceae62 --- /dev/null +++ b/lanelet2-projection.spec @@ -0,0 +1,69 @@ +%define ros_distro humble +%define RosPkgName lanelet2-projection +%define src_version 1.2.3 + +Name: ros-%{ros_distro}-%{RosPkgName} +Version: 1.2.3 +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: %{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}/.*$ + +BuildRequires: cmake +BuildRequires: ros-%{ros_distro}-ament-cmake +BuildRequires: ros-%{ros_distro}-ament-cmake-core +BuildRequires: ros-%{ros_distro}-lanelet2-io +BuildRequires: ros-%{ros_distro}-mrt-cmake-modules +BuildRequires: geographiclib-devel + +Requires: ros-%{ros_distro}-ros-workspace +Requires: ros-%{ros_distro}-ament-cmake +Requires: ros-%{ros_distro}-lanelet2-io +Requires: geographiclib + +Provides: %{name}-devel = %{version}-%{release} +Provides: %{name}-doc = %{version}-%{release} +Provides: %{name}-runtime = %{version}-%{release} + +%description +Lanelet2 projection library for lat/lon to local x/y conversion + +%prep +%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} +cd lanelet2_projection +mkdir -p .obj && cd .obj +%cmake3 \ + -DCMAKE_INSTALL_PREFIX="/opt/ros/%{ros_distro}" \ + -DAMENT_PREFIX_PATH="/opt/ros/%{ros_distro}" \ + -DCMAKE_PREFIX_PATH="/opt/ros/%{ros_distro}" \ + -UINCLUDE_INSTALL_DIR -ULIB_INSTALL_DIR -USYSCONF_INSTALL_DIR -USHARE_INSTALL_PREFIX -ULIB_SUFFIX \ + -DSETUPTOOLS_DEB_LAYOUT=OFF \ + -DBUILD_TESTING=OFF -DTESTING=OFF -DCMAKE_SUPPRESS_REGENERATION=ON \ + .. +make %{?_smp_mflags} + +%install +[ -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} +cd lanelet2_projection +cd .obj +make install DESTDIR=%{buildroot} + +%files +/opt/ros/%{ros_distro} + +%changelog +* Mon Sep 21 2026 ai-importer - 1.2.3-1 +- Initial import (ROS batch) diff --git a/ros-humble-lanelet2-projection.spec b/ros-humble-lanelet2-projection.spec deleted file mode 100644 index abac602..0000000 --- a/ros-humble-lanelet2-projection.spec +++ /dev/null @@ -1,78 +0,0 @@ -# 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 - -Name: ros-%{ros_distro}-%{RosPkgName} -Version: 1.2.3 -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 - -%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 geographiclib: 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: geographiclib-devel - -Requires: ros-%{ros_distro}-ros-workspace -Requires: ros-%{ros_distro}-ament-cmake -Requires: ros-%{ros_distro}-lanelet2-io -Requires: geographiclib - -Provides: %{name}-devel = %{version}-%{release} -Provides: %{name}-doc = %{version}-%{release} -Provides: %{name}-runtime = %{version}-%{release} - -%description -Lanelet2 projection library for lat/lon to local x/y conversion - -%prep -%autosetup -n %{name}-%{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 \ - -DCMAKE_INSTALL_PREFIX="/opt/ros/%{ros_distro}" \ - -DAMENT_PREFIX_PATH="/opt/ros/%{ros_distro}" \ - -DCMAKE_PREFIX_PATH="/opt/ros/%{ros_distro}" \ - -UINCLUDE_INSTALL_DIR -ULIB_INSTALL_DIR -USYSCONF_INSTALL_DIR -USHARE_INSTALL_PREFIX -ULIB_SUFFIX \ - -DSETUPTOOLS_DEB_LAYOUT=OFF \ - -DBUILD_TESTING=OFF -DTESTING=OFF -DCMAKE_SUPPRESS_REGENERATION=ON \ - .. -make %{?_smp_mflags} - -%install -[ -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} - -%files -/opt/ros/%{ros_distro} - -%changelog -* Mon Sep 21 2026 ai-importer - 1.2.3-1 -- Initial import (ROS) 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 -- cgit v1.2.3