diff options
Diffstat (limited to 'ros-humble-lanelet2-projection.spec')
| -rw-r--r-- | ros-humble-lanelet2-projection.spec | 78 |
1 files changed, 0 insertions, 78 deletions
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 <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: 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 <ai-importer@openeuler.org> - 1.2.3-1 -- Initial import (ROS) |
