144 lines
2.0 KiB
RPMSpec
144 lines
2.0 KiB
RPMSpec
Name: ros_comm
|
|
Version: 1.14.6
|
|
Release: 1
|
|
Summary: This is ROS melodic ros_comm Package
|
|
License: GPL
|
|
URL: https://github.com/ros-gbp/ros_comm-release/archive/release/melodic/ros_comm
|
|
Source0: https://github.com/ros-gbp/ros_comm-release/archive/release/melodic/ros_comm/1.14.6-1.tar.gz
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: cmake
|
|
BuildRequires: lz4-devel
|
|
BuildRequires: bzip2-devel
|
|
BuildRequires: python-devel
|
|
BuildRequires: python-setuptools
|
|
#Requires: python-empy
|
|
BuildRequires: openssl-devel
|
|
#BuildRequires: gcc-gfortran
|
|
#BuildRequires: openblas-devel
|
|
#BuildRequires: sqlite-devel
|
|
#BuildRequires: fftw-devel
|
|
BuildRequires: boost-devel
|
|
#BuildRequires: python3-devel
|
|
#BuildRequires: boost-python3-devel
|
|
|
|
%description
|
|
This is ROS melodic ros_comm Package.
|
|
|
|
%prep
|
|
%setup
|
|
#cd catkin-0.7.26/
|
|
|
|
|
|
|
|
|
|
#%build
|
|
|
|
#pwd
|
|
#mkdir build/
|
|
#cd build/ && cmake ..
|
|
|
|
|
|
|
|
%install
|
|
pwd
|
|
|
|
#mkdir -p build/
|
|
#cd build/
|
|
#cmake ..
|
|
#cd ..
|
|
|
|
cd src/
|
|
cd 3rdparty/
|
|
|
|
cd empy-3.3.4/
|
|
python setup.py install --user
|
|
cd ..
|
|
|
|
cd six-1.15.0/
|
|
python setup.py install --user
|
|
cd ..
|
|
|
|
cd setuptools_scm-4.1.2/
|
|
python setup.py install --user
|
|
cd ..
|
|
|
|
cd python-dateutil-2.8.1/
|
|
python setup.py install --user
|
|
cd ..
|
|
|
|
cd pyparsing-2.4.7/
|
|
python setup.py install --user
|
|
cd ..
|
|
|
|
cd docutils-0.16/
|
|
python setup.py install --user
|
|
cd ..
|
|
|
|
cd catkin_pkg-0.4.22/
|
|
python setup.py install --user
|
|
cd ..
|
|
|
|
#for std_msgs
|
|
cd PyYAML-5.3.1/
|
|
python setup.py install --user
|
|
cd ..
|
|
|
|
|
|
cd console_bridge/
|
|
mkdir build/
|
|
cd build/
|
|
cmake ..
|
|
make
|
|
make install
|
|
cd ..
|
|
cd ..
|
|
|
|
cd poco/
|
|
mkdir cmake-build/
|
|
mkdir cmake-release/
|
|
cd cmake-build/
|
|
cmake ..
|
|
make -j8
|
|
make install
|
|
cd ..
|
|
cd ..
|
|
|
|
|
|
cd tinyxml2/
|
|
mkdir build
|
|
cd build
|
|
cmake ..
|
|
make -j5
|
|
make install
|
|
cd ..
|
|
cd ..
|
|
|
|
|
|
|
|
cd ..
|
|
cd ..
|
|
|
|
|
|
|
|
#compile
|
|
./src/catkin/bin/catkin_make_isolated
|
|
|
|
|
|
#install
|
|
mkdir -p %{buildroot}/opt/ros/melodic/
|
|
cp -r devel_isolated/* %{buildroot}/opt/ros/melodic/
|
|
|
|
echo %{buildroot}
|
|
|
|
|
|
%files
|
|
#%defattr(-,root,root)
|
|
#/opt/ros/melodic/*
|
|
/opt/ros/melodic/*
|
|
#/usr/lib/share/catkin/cmake/*
|
|
|
|
%changelog
|
|
* Thu May 28 2020 openEuler Buildteam <buildteam@openeuler.org> - 19.4-1
|
|
- Package init
|
|
|