poco/poco.spec
zhangtao2020 9fe9cc4098 strip dynamic library
(cherry picked from commit 264def81ae1a7af5d3ecd3ef0e303cef3f25ed7a)
2021-09-16 11:10:29 +08:00

42 lines
886 B
RPMSpec

Name: poco
Version: 1.10.1
Release: 2
Summary: This is ROS melodic ros_comm's 3rdparty poco
License: GPL
URL: https://github.com/pocoproject/poco/releases/tag/poco-1.10.1-release
Source0: https://github.com/pocoproject/poco/archive/poco-1.10.1-release.tar.gz
BuildRequires: gcc-c++
BuildRequires: cmake
BuildRequires: boost-devel
BuildRequires: openssl-devel
%description
This is ROS melodic ros_comm's 3rdparty poco.
%prep
%setup
%install
mkdir cmake-build/
cd cmake-build/
cmake ..
make -j9
make install
cd ..
#install
mkdir -p %{buildroot}/usr/local/
cp -r install/* %{buildroot}/usr/local/
find %{buildroot} -type f -name '*.so.*' -exec strip '{}' ';'
%files
%defattr(-,root,root)
/usr/local/*
%changelog
* Sat Sep 4 2021 zhangtao <zhangtao221@huawei.com> - 1.10.1-2
- strip dynamic library
* Thu December 31 2020 openEuler Buildteam <hanhaomin008@126.com>
- Package init