console_bridge/console_bridge.spec

48 lines
948 B
RPMSpec
Raw Normal View History

2021-01-09 21:39:28 +08:00
Name: console_bridge
Version: 1.0.0
Release: 3
2021-01-09 21:39:28 +08:00
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/
2021-09-07 10:17:34 +08:00
#Strip dynamic library
find %{buildroot} -type f -name 'libconsole_bridge.so.1.0' -exec strip '{}' \;
2021-01-09 21:39:28 +08:00
%files
%defattr(-,root,root)
/usr/local/*
%changelog
* Tue Dec 21 2021 sdlzx <hdu_sdlzx@163.com> - 1.0.0-3
- Remove boost dependency
2021-09-07 10:17:34 +08:00
* 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
2021-01-09 21:39:28 +08:00
- Package init