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
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
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

View File

@ -19,11 +19,11 @@ CONSOLE_BRIDGE_LOG_NONE
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包
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
Version: 1.0.2
Release: 1%{?dist}
Summary: Lightweight set of macros used for reporting information in libraries
Group: Development/Libraries
License: BSD
URL: http://github.com/ros/console_bridge
Source0: 1.0.2.tar.gz
BuildRequires: gcc
Name: console_bridge
Version: 1.0.0
Release: 1
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
BuildRequires: boost-devel
%description
A very lightweight set of macros that can be used for reporting information
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}.
This is ROS melodic ros_comm's 3rdparty console_bridge.
%prep
%setup -n %{realname}-%{version}
%build
mkdir build;
pushd build
%cmake .. -DUSE_GNU_INSTALL_DIRS=ON
popd
make -C build %{?_smp_mflags}
%setup
%install
make -C build install DESTDIR=%{buildroot}
mkdir build/
cd build/
cmake ..
make
make install
cd ..
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
#install
mkdir -p %{buildroot}/usr/local/
cp -r install/* %{buildroot}/usr/local/
%files
%{_libdir}/*.so.*
%defattr(-,root,root)
/usr/local/*
%files devel
%{_includedir}/%{realname}
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_libdir}/%{realname}
%changelog
* Thu Apr 27 2023 NiuTao niutao2@huawei.com 1.0.2-1
- Refactor spec and update software to 1.0.2
* Thu December 31 2020 openEuler Buildteam <hanhaomin008@126.com>
- Package init