Compare commits

..

No commits in common. "84731d81f62be875e0902f205a46e044824d225b" and "2e2e4c54895aae40c25391a15f22a7846c8d3832" have entirely different histories.

5 changed files with 30 additions and 48 deletions

BIN
1.0.0.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -17,11 +17,11 @@ CONSOLE_BRIDGE_LOG_NONE
1. Dowload RPM 1. Dowload RPM
wget http://121.36.3.168:82/home:/davidhan:/branches:/openEuler:/20.09:/Epol/standard_aarch64/aarch64/console_bridge-1.0.0-1.oe1.aarch64.rpm wget http://121.36.3.168:82/home:/davidhan:/branches:/openEuler:/Mainline/standard_aarch64/aarch64/console_bridge-2.5.6-1.oe1.aarch64.rpm
2. Install RPM 2. Install RPM
sudo rpm -ivh console_bridge-1.0.0-1.oe1.aarch64.rpm sudo rpm -ivh console_bridge-2.5.6-1.oe1.aarch64.rpm
#### Instructions #### Instructions

View File

@ -19,11 +19,11 @@ CONSOLE_BRIDGE_LOG_NONE
1. 下载rpm包 1. 下载rpm包
wget http://121.36.3.168:82/home:/davidhan:/branches:/openEuler:/20.09:/Epol/standard_aarch64/aarch64/console_bridge-1.0.0-1.oe1.aarch64.rpm wget http://121.36.3.168:82/home:/davidhan:/branches:/openEuler:/Mainline/standard_aarch64/aarch64/rospack-2.5.6-1.oe1.aarch64.rpm
2. 安装rpm包 2. 安装rpm包
sudo rpm -ivh console_bridge-1.0.0-1.oe1.aarch64.rpm sudo rpm -ivh rospack-2.5.6-1.oe1.aarch64.rpm
#### 使用说明 #### 使用说明

View File

@ -1,57 +1,39 @@
%global realname console_bridge Name: console_bridge
Name: console-bridge Version: 1.0.0
Version: 1.0.2 Release: 1
Release: 1%{?dist} Summary: This is ROS melodic ros_comm's 3rdparty console_bridge
Summary: Lightweight set of macros used for reporting information in libraries License: GPL
URL: https://github.com/ros/console_bridge/releases/tag/1.0.0
Group: Development/Libraries Source0: https://github.com/ros/console_bridge/archive/1.0.0.tar.gz
License: BSD BuildRequires: gcc-c++
URL: http://github.com/ros/console_bridge
Source0: 1.0.2.tar.gz
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: cmake BuildRequires: cmake
BuildRequires: boost-devel
%description %description
A very lightweight set of macros that can be used for reporting information This is ROS melodic ros_comm's 3rdparty console_bridge.
in libraries. The logged information can be forwarded to other systems.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep %prep
%setup -n %{realname}-%{version} %setup
%build
mkdir build;
pushd build
%cmake .. -DUSE_GNU_INSTALL_DIRS=ON
popd
make -C build %{?_smp_mflags}
%install %install
make -C build install DESTDIR=%{buildroot} mkdir build/
cd build/
cmake ..
make
make install
cd ..
%post -p /sbin/ldconfig #install
mkdir -p %{buildroot}/usr/local/
%postun -p /sbin/ldconfig cp -r install/* %{buildroot}/usr/local/
%files %files
%{_libdir}/*.so.* %defattr(-,root,root)
/usr/local/*
%files devel
%{_includedir}/%{realname}
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_libdir}/%{realname}
%changelog %changelog
* Thu Apr 27 2023 NiuTao niutao2@huawei.com 1.0.2-1 * Thu December 31 2020 openEuler Buildteam <hanhaomin008@126.com>
- Refactor spec and update software to 1.0.2 - Package init