update gz-cmake 2.14.0
This commit is contained in:
parent
fc9091197b
commit
d2d8fc3147
BIN
2.12.1.tar.gz
BIN
2.12.1.tar.gz
Binary file not shown.
289
gz-cmake.spec
289
gz-cmake.spec
@ -1,289 +0,0 @@
|
||||
Name: ros-foxy-ros-gz-cmake
|
||||
Version: 2.12.1
|
||||
Release: 0
|
||||
Summary: This is ROS2 foxy gazebo Package
|
||||
License: Public Domain and Apache-2.0 and BSD and MIT and BSL-1.0 and LGPL-2.1-only and MPL-2.0 and GPL-3.0-only and GPL-2.0-or-later and MPL-1.1 and IJG and Zlib and OFL-1.1
|
||||
URL: https://github.com/gazebosim/gz-cmake
|
||||
Source0: https://github.com/gazebosim/gz-cmake/refs/tags/2.12.1.tar.gz
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: cmake
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-pytest
|
||||
BuildRequires: asio-devel
|
||||
BuildRequires: tinyxml2-devel
|
||||
BuildRequires: git
|
||||
BuildRequires: qt5-devel
|
||||
BuildRequires: bullet-devel
|
||||
BuildRequires: gmock-devel
|
||||
BuildRequires: suitesparse-devel
|
||||
BuildRequires: lua-devel
|
||||
BuildRequires: protobuf-devel
|
||||
BuildRequires: cairo-devel
|
||||
BuildRequires: gflags-devel
|
||||
BuildRequires: freeglut-devel
|
||||
BuildRequires: libXt-devel
|
||||
BuildRequires: libX11-devel
|
||||
BuildRequires: libXrandr-devel
|
||||
BuildRequires: libXaw-devel
|
||||
BuildRequires: assimp-devel
|
||||
BuildRequires: qt5-qtdeclarative-devel
|
||||
BuildRequires: yaml-cpp-devel
|
||||
BuildRequires: libatomic
|
||||
BuildRequires: lz4-devel
|
||||
BuildRequires: sphinx
|
||||
BuildRequires: bullet-devel
|
||||
BuildRequires: libtool-ltdl-devel
|
||||
BuildRequires: fltk-devel
|
||||
BuildRequires: libtiff-devel
|
||||
BuildRequires: libwebp-devel
|
||||
BuildRequires: gtest-devel
|
||||
BuildRequires: yaml-cpp-devel
|
||||
BuildRequires: libjpeg-devel
|
||||
BuildRequires: swig
|
||||
BuildRequires: python3-psutil
|
||||
BuildRequires: libXaw-devel
|
||||
BuildRequires: libcurl-devel
|
||||
BuildRequires: libtar-devel
|
||||
BuildRequires: tbb-devel
|
||||
BuildRequires: rubygem-sqlite3
|
||||
BuildRequires: hdf5-devel
|
||||
BuildRequires: graphviz-devel
|
||||
BuildRequires: libusb
|
||||
BuildRequires: libzip-devel
|
||||
BuildRequires: sqlite-devel
|
||||
BuildRequires: jsoncpp-devel
|
||||
BuildRequires: openal-soft-devel
|
||||
BuildRequires: openblas-devel
|
||||
BuildRequires: lapack-devel
|
||||
BuildRequires: freeglut-devel
|
||||
BuildRequires: libatomic
|
||||
BuildRequires: zlib
|
||||
BuildRequires: zeromq-devel
|
||||
BuildRequires: openeuler-lsb
|
||||
BuildRequires: ruby-devel
|
||||
BuildRequires: rubygem-rexml
|
||||
BuildRequires: python3-numpy
|
||||
#BuildRequires: freeimage-devel
|
||||
BuildRequires: zstd-devel
|
||||
BuildRequires: libzstd-devel
|
||||
|
||||
%description
|
||||
This is ROS2 foxy gazebo Package.
|
||||
|
||||
%prep
|
||||
%setup
|
||||
|
||||
%install
|
||||
cd 3rdparty/
|
||||
|
||||
cd empy-3.3.4/
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd six-1.15.0/
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd setuptools_scm-4.1.2/
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd python-dateutil-2.8.1/
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd pyparsing-2.4.7/
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd docutils-0.16/
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd catkin_pkg-0.4.22/
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
#ros2
|
||||
|
||||
cd distlib-0.3.3/
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd attrs-21.2.0
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd more-itertools-5.0.0
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd zipp-1.0.0
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd wheel-0.33.0
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd toml-0.10.2
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd importlib_metadata-3.8.0
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd py-1.11.0
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd packaging-21.3
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd iniconfig-1.1.1
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd pluggy-1.0.0
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd typing_extensions-3.7.4
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd pytest-6.2.5
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd coverage-5.4
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd pytest-cov-3.0.0
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd pytest-repeat-0.9.1
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd pytest-rerunfailures-10.2
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd pytest-runner-5.3.1
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd PyYAML-5.4
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
#cd setuptools-50.0.0
|
||||
#python3 setup.py install --user
|
||||
#cd ..
|
||||
|
||||
cd argcomplete-1.11.1
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd notify2-0.3.1
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd lark-1.0.0
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
# for 21.03 python3.8
|
||||
#cd setuptools-50.0.0
|
||||
#python3 setup.py install --user
|
||||
#cd ..
|
||||
#cd Cython-0.29.24
|
||||
#python3 setup.py install --user
|
||||
#cd ..
|
||||
#cd numpy-1.19.2
|
||||
#python3 setup.py install --user
|
||||
#cd ..
|
||||
|
||||
|
||||
# for factory python3.10
|
||||
#cd setuptools-50.0.0 need detel setuptools
|
||||
#python3 setup.py install --user
|
||||
#cd ..
|
||||
|
||||
|
||||
####cpp 相关依赖库
|
||||
#export BUILD_PLATFORM=`uname -m`
|
||||
#if (($BUILD_PLATFORM=="aarch64"))
|
||||
#then
|
||||
# BUILD_PLATFORM="arm"
|
||||
#fi
|
||||
#cd gts-0.7.6
|
||||
# ./configure --prefix=$PWD/../../workspace/install/ --build=$BUILD_PLATFORM --enable-shared
|
||||
#make -j8
|
||||
#make install
|
||||
#cd ..
|
||||
|
||||
#cd ffmpeg
|
||||
#./configure --prefix=$PWD/../../workspace/install/ --enable-shared --disable-x86asm
|
||||
#make -j8
|
||||
#make install
|
||||
#cd ..
|
||||
|
||||
#cd qwt-6.1.3
|
||||
#/usr/bin/qmake-qt5 qwt.pro
|
||||
#make -j8
|
||||
#make install
|
||||
#cd ..
|
||||
|
||||
cd ..
|
||||
|
||||
|
||||
# for colcon build tools
|
||||
cd build_tools
|
||||
export BUILD_WORSPCE=$PWD
|
||||
./colcon/colcon-core/bin/colcon build --paths colcon/* --merge-install
|
||||
source install/local_setup.sh
|
||||
cd ..
|
||||
|
||||
# for workspace
|
||||
cd workspace
|
||||
colcon build --merge-install
|
||||
cp ../install_dependence.sh install/
|
||||
cp -r ../build_tools/install/bin install/
|
||||
cp -r ../build_tools/install/lib install/
|
||||
cp -r ../build_tools/install/share install/
|
||||
|
||||
####
|
||||
# 对install内部的变量名称进行替换
|
||||
#
|
||||
####
|
||||
SRC_PATH=$PWD/install
|
||||
DST_PATH=/opt/ros/foxy
|
||||
sed -i "s:${SRC_PATH}:${DST_PATH}:g" `grep -rIln "${SRC_PATH}" install/*`
|
||||
|
||||
|
||||
SRC_PATH=$BUILD_WORSPCE/install
|
||||
DST_PATH=/opt/ros/foxy
|
||||
sed -i "s:${SRC_PATH}:${DST_PATH}:g" `grep -rIln "${SRC_PATH}" install/*`
|
||||
|
||||
####
|
||||
# install
|
||||
#
|
||||
####
|
||||
mkdir -p %{buildroot}/opt/ros/foxy/
|
||||
cp -r install/* %{buildroot}/opt/ros/foxy/
|
||||
#cp install/share/gazebo-11/setup.sh %{buildroot}/opt/ros/foxy/share/gazebo/local_setup.bash
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
/opt/ros/foxy/*
|
||||
|
||||
%changelog
|
||||
* Sat Nov 19 2022 openEuler Buildteam <hanhaomin008@126.com> - 0.9.2-2
|
||||
- Fix Package name
|
||||
@ -1,5 +1,5 @@
|
||||
---
|
||||
version_control: git
|
||||
src_repo: https://github.com/gazebosim/gz-cmake
|
||||
tag_prefix: 0.9.2-1
|
||||
src_repo: https://ignitionrobotics.org/libs/cmake
|
||||
tag_prefix: 2.14.0-1
|
||||
separator: "."
|
||||
|
||||
59
ignition-cmake.spec
Normal file
59
ignition-cmake.spec
Normal file
@ -0,0 +1,59 @@
|
||||
%global debug_package %{nil}
|
||||
%global major_version 2
|
||||
|
||||
Name: ignition-cmake
|
||||
Version: 2.14.0
|
||||
Release: 1%{?dist}
|
||||
Summary: CMake modules to be used by the Ignition projects
|
||||
Epoch: 1
|
||||
|
||||
#Most of the sources are Apache, but a couple of the CMake Find* modules are licensed as BSD
|
||||
License: ASL 2.0 and BSD
|
||||
URL: https://ignitionrobotics.org/libs/cmake
|
||||
Source0: https://osrf-distributions.s3.us-east-1.amazonaws.com/ign-cmake/releases/ignition-cmake%{major_version}_%{version}.tar.gz
|
||||
|
||||
# Install pkgconfig files to /usr/share instead of libdir
|
||||
#Patch0: %{name}-2.10.0-noarch.patch
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: cmake
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: graphviz
|
||||
|
||||
%description
|
||||
This package is required to build ignition projects, as well as to link your
|
||||
own projects against them. It provides modules that are used to find
|
||||
dependencies of ignition projects and generate cmake targets for consumers of
|
||||
ignition projects to link against.
|
||||
|
||||
%package devel
|
||||
Summary: CMake modules to be used by the Ignition projects
|
||||
BuildArch: noarch
|
||||
|
||||
%description devel
|
||||
This package is required to build ignition projects, as well as to link your
|
||||
own projects against them. It provides modules that are used to find
|
||||
dependencies of ignition projects and generate cmake targets for consumers of
|
||||
ignition projects to link against.
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
# -p0 -S gendiff
|
||||
|
||||
%build
|
||||
%cmake -DBUILD_TESTING=OFF -DCMAKE_BUILD_TYPE=Release
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
%files devel
|
||||
%{_datadir}/cmake/%{name}%{major_version}
|
||||
%{_datadir}/ignition
|
||||
%{_libdir}/pkgconfig
|
||||
%{_includedir}/ignition/cmake%{major_version}
|
||||
|
||||
%changelog
|
||||
* Thu May 04 2023 flynneva evanflynn.msu@gmail.com - 2.14.0-1
|
||||
- Autogenerated by ros-porting-tools
|
||||
BIN
ignition-cmake2_2.14.0.tar.gz
Normal file
BIN
ignition-cmake2_2.14.0.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user