console_bridge/console_bridge.spec
sdlzx 55c241507b
Remove boost dependency
console_bridge does not need boost, its dependency is removed long ago.
b435362047
2021-12-21 02:58:53 +00:00

48 lines
948 B
RPMSpec

Name: console_bridge
Version: 1.0.0
Release: 3
Summary: This is ROS melodic ros_comm's 3rdparty console_bridge
License: GPL
URL: https://github.com/ros/console_bridge/releases/tag/1.0.0
Source0: https://github.com/ros/console_bridge/archive/1.0.0.tar.gz
BuildRequires: gcc-c++
BuildRequires: cmake
%description
This is ROS melodic ros_comm's 3rdparty console_bridge.
%prep
%setup
%install
mkdir build/
cd build/
cmake ..
make
make install
cd ..
#install
mkdir -p %{buildroot}/usr/local/
cp -r install/* %{buildroot}/usr/local/
#Strip dynamic library
find %{buildroot} -type f -name 'libconsole_bridge.so.1.0' -exec strip '{}' \;
%files
%defattr(-,root,root)
/usr/local/*
%changelog
* Tue Dec 21 2021 sdlzx <hdu_sdlzx@163.com> - 1.0.0-3
- Remove boost dependency
* Tue Sep 07 2021 lingsheng <lingsheng@huawei.com> - 1.0.0-2
- Strip dynamic library
* Thu Dec 31 2020 openEuler Buildteam <hanhaomin008@126.com> - 1.0.0-1
- Package init